public class ContentRestrictedRepeaterDefinition extends RepeaterDefinition implements RestrictedModelItem<Content>, Serviceable
| Modifier and Type | Field and Description |
|---|---|
private ContentRestrictedModelItemHelper |
_restrictedModelItemHelper |
private Restrictions |
_restrictions |
TYPEITEM_PATH_SEPARATOR| Constructor and Description |
|---|
ContentRestrictedRepeaterDefinition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Content content)
Determines if the object can be read by the definition
|
boolean |
canWrite(Content content)
Determines if the object can be written by the definition
|
void |
service(ServiceManager manager) |
void |
setRestrictions(Restrictions restrictions)
Set the restrictions for the repeater
|
getAddLabel, getDeleteLabel, getHeaderLabel, getInitialSize, getMaxSize, getMinSize, setAddLabel, setDeleteLabel, setHeaderLabel, setInitialSize, setMaxSize, setMinSize, toJSONaddChild, addChild, getChildren, getChildren, getModelItems, getSwitcher, getType, setType, toJSONaddItemChecker, compareTo, equals, getDescription, getItemCheckers, getLabel, getModel, getName, getParent, getPath, hashCode, setDescription, setLabel, setModel, setName, setParent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddItemChecker, getItemCheckers, getModel, getParent, getPath, getType, setModel, setParent, setType, toJSONsetDescription, setLabel, setNamegetDescription, getLabel, getNamecompareTogetChild, getModelItem, hasModelItemprivate ContentRestrictedModelItemHelper _restrictedModelItemHelper
private Restrictions _restrictions
public ContentRestrictedRepeaterDefinition()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void setRestrictions(Restrictions restrictions)
restrictions - the restrictions to setpublic boolean canRead(Content content)
RestrictedModelItemcanRead in interface RestrictedModelItem<Content>content - the objectpublic boolean canWrite(Content content)
RestrictedModelItemcanWrite in interface RestrictedModelItem<Content>content - the object