public class PersistentProviderPerUser extends PersistentProvider
Constructor and Description |
---|
PersistentProviderPerUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead()
Check for read access.
|
boolean |
canWrite()
Check write access.
|
Widget |
createWidget(String widgetTypeName)
Create a new widget.
|
List<Widget> |
getWidgets(String regionName)
Get the list of widgets in a region.
|
activate, addWidget, deactivate, deleteWidgetData, destroy, getCurrentPrincipal, getPersistenceProvider, getRegionOfWidget, getWidgetByUid, getWidgetData, getWidgetPreferences, getWidgetState, moveWidget, removeWidget, reorderWidget, reorderWidgets, setWidgetData, setWidgetPreferences, setWidgetState
public Widget createWidget(String widgetTypeName) throws ProviderException
Provider
createWidget
in interface Provider
createWidget
in class PersistentProvider
widgetTypeName
- the widget type nameProviderException
public List<Widget> getWidgets(String regionName) throws ProviderException
Provider
getWidgets
in interface Provider
getWidgets
in class PersistentProvider
regionName
- the name of the region from which to get the list of
widgetsProviderException
public boolean canRead()
Provider
canRead
in interface Provider
canRead
in class PersistentProvider
public boolean canWrite()
Provider
canWrite
in interface Provider
canWrite
in class PersistentProvider
Copyright © 2013 Nuxeo SA. All Rights Reserved.