java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.anoaccessconfiguration.data.RoleDocument
All Implemented Interfaces:
Serializable, Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, Role, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.util.sorter.IComparable

public class RoleDocument extends net.anotheria.asg.data.AbstractASGDocument implements Role, net.anotheria.util.sorter.IComparable
See Also:
  • Field Summary

    Fields inherited from class net.anotheria.asg.data.AbstractASGDocument

    INT_PROPERTY_MULTILINGUAL_DISABLED

    Fields inherited from class net.anotheria.anodoc.data.Document

    PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER

    Fields inherited from interface net.anotheria.asg.data.LockableObject

    INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME

    Fields inherited from interface net.anotheria.anosite.gen.anoaccessconfiguration.data.Role

    PROP_CONTEXT_INITIALIZERS, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_PERMISSIONS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    void
    Adds a new element to the list.
    int
    compareTo(Role comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    boolean
     
    Returns the value of the contextInitializers attribute.
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "contextInitializers" container
     
     
    Returns the value of the description attribute.
     
    Returns the value of the name attribute.
    Returns the value of the permissions attribute.
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "permissions" container
    void
    Removes the element at position index from the list.
    void
    Removes the element at position index from the list.
    void
    Sets the value of the contextInitializers attribute.
    void
    Sets the value of the description attribute.
    void
    setName(String value)
    Sets the value of the name attribute.
    void
    Sets the value of the permissions attribute.
    void
    swapContextInitializersElement(int index1, int index2)
    Swaps elements at positions index1 and index2 in the list.
    void
    swapPermissionsElement(int index1, int index2)
    Swaps elements at positions index1 and index2 in the list.
     

    Methods inherited from class net.anotheria.asg.data.AbstractASGDocument

    getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTime

    Methods inherited from class net.anotheria.anodoc.data.Document

    addDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNode

    Methods inherited from class net.anotheria.anodoc.data.DataHolder

    getId, hashCode, setId

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.anotheria.asg.data.DataObject

    clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
  • Constructor Details

    • RoleDocument

      public RoleDocument()
    • RoleDocument

      public RoleDocument(String id)
    • RoleDocument

      public RoleDocument(RoleDocument toClone)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Role
      Returns the value of the name attribute.
      Specified by:
      getName in interface Role
    • setName

      public void setName(String value)
      Description copied from interface: Role
      Sets the value of the name attribute.
      Specified by:
      setName in interface Role
    • getPermissions

      public List<String> getPermissions()
      Description copied from interface: Role
      Returns the value of the permissions attribute.
      Specified by:
      getPermissions in interface Role
    • setPermissions

      public void setPermissions(List<String> value)
      Description copied from interface: Role
      Sets the value of the permissions attribute.
      Specified by:
      setPermissions in interface Role
    • getContextInitializers

      public List<String> getContextInitializers()
      Description copied from interface: Role
      Returns the value of the contextInitializers attribute.
      Specified by:
      getContextInitializers in interface Role
    • setContextInitializers

      public void setContextInitializers(List<String> value)
      Description copied from interface: Role
      Sets the value of the contextInitializers attribute.
      Specified by:
      setContextInitializers in interface Role
    • getDescription

      public String getDescription()
      Description copied from interface: Role
      Returns the value of the description attribute.
      Specified by:
      getDescription in interface Role
    • setDescription

      public void setDescription(String value)
      Description copied from interface: Role
      Sets the value of the description attribute.
      Specified by:
      setDescription in interface Role
    • toString

      public String toString()
      Overrides:
      toString in class net.anotheria.anodoc.data.Document
    • getPermissionsSize

      public int getPermissionsSize()
      Description copied from interface: Role
      Returns the number of elements in the "permissions" container
      Specified by:
      getPermissionsSize in interface Role
    • addPermissionsElement

      public void addPermissionsElement(String permission)
      Description copied from interface: Role
      Adds a new element to the list.
      Specified by:
      addPermissionsElement in interface Role
    • removePermissionsElement

      public void removePermissionsElement(int index)
      Description copied from interface: Role
      Removes the element at position index from the list.
      Specified by:
      removePermissionsElement in interface Role
    • swapPermissionsElement

      public void swapPermissionsElement(int index1, int index2)
      Description copied from interface: Role
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapPermissionsElement in interface Role
    • getPermissionsElement

      public String getPermissionsElement(int index)
      Description copied from interface: Role
      Returns the element at the position index in the list.
      Specified by:
      getPermissionsElement in interface Role
    • getContextInitializersSize

      public int getContextInitializersSize()
      Description copied from interface: Role
      Returns the number of elements in the "contextInitializers" container
      Specified by:
      getContextInitializersSize in interface Role
    • addContextInitializersElement

      public void addContextInitializersElement(String contextInitializer)
      Description copied from interface: Role
      Adds a new element to the list.
      Specified by:
      addContextInitializersElement in interface Role
    • removeContextInitializersElement

      public void removeContextInitializersElement(int index)
      Description copied from interface: Role
      Removes the element at position index from the list.
      Specified by:
      removeContextInitializersElement in interface Role
    • swapContextInitializersElement

      public void swapContextInitializersElement(int index1, int index2)
      Description copied from interface: Role
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapContextInitializersElement in interface Role
    • getContextInitializersElement

      public String getContextInitializersElement(int index)
      Description copied from interface: Role
      Returns the element at the position index in the list.
      Specified by:
      getContextInitializersElement in interface Role
    • compareTo

      public int compareTo(Role comparable)
    • compareTo

      public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
      Specified by:
      compareTo in interface net.anotheria.util.sorter.IComparable
    • getDefinedName

      public String getDefinedName()
      Specified by:
      getDefinedName in interface net.anotheria.asg.data.DataObject
    • getDefinedParentName

      public String getDefinedParentName()
      Specified by:
      getDefinedParentName in interface net.anotheria.asg.data.DataObject
    • getFootprint

      public String getFootprint()
      Specified by:
      getFootprint in interface net.anotheria.asg.data.DataObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object