Interface RestrictedModelItem<T>
-
- Type Parameters:
T
- Type of object on which the restrictions are applied
- All Superinterfaces:
Comparable<ModelItem>
,Labelable
,ModelItem
,ModifiableLabelable
- All Known Implementing Classes:
AttributeDefinition
,ContentAttributeDefinition
,ContentRestrictedCompositeDefinition
,ContentRestrictedRepeaterDefinition
,RichTextAttributeDefinition
public interface RestrictedModelItem<T> extends ModelItem
Interface for model items with restrictions
-
-
Field Summary
-
Fields inherited from interface org.ametys.runtime.model.ModelItem
ITEM_PATH_SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canRead(T object)
Determines if the object can be read by the definitionboolean
canWrite(T object)
Determines if the object can be written by the definition-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.ametys.runtime.util.Labelable
getDescription, getLabel, getName
-
Methods inherited from interface org.ametys.runtime.model.ModelItem
addItemChecker, getDisableConditions, getItemCheckers, getModel, getParent, getPath, getPluginName, getType, getWidget, getWidgetParameters, setDisableConditions, setModel, setParent, setPluginName, setType, setWidget, setWidgetParameters, toJSON, toSAX
-
Methods inherited from interface org.ametys.runtime.util.ModifiableLabelable
setDescription, setLabel, setName
-
-