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
  • Method Details

    • canRead

      boolean canRead(T object)
      Determines if the object can be read by the definition
      Parameters:
      object - the object
      Returns:
      true if the object can be read by the definition, false otherwise
    • canWrite

      boolean canWrite(T object)
      Determines if the object can be written by the definition
      Parameters:
      object - the object
      Returns:
      true if the object can be written by the definition, false otherwise