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

public class UserDataDocument extends net.anotheria.asg.data.AbstractASGDocument implements UserData, 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.anoaccessapplicationdata.data.UserData

    PROP_ID, PROP_ROLES, PROP_USER_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    int
    compareTo(UserData comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    boolean
     
     
     
     
    Returns the value of the roles attribute.
    getRolesElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "roles" container
    Returns the value of the userId attribute.
    void
    removeRolesElement(int index)
    Removes the element at position index from the list.
    void
    Sets the value of the roles attribute.
    void
    Sets the value of the userId attribute.
    void
    swapRolesElement(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

    • UserDataDocument

      public UserDataDocument()
    • UserDataDocument

      public UserDataDocument(String id)
    • UserDataDocument

      public UserDataDocument(UserDataDocument toClone)
  • Method Details

    • getUserId

      public String getUserId()
      Description copied from interface: UserData
      Returns the value of the userId attribute.
      Specified by:
      getUserId in interface UserData
    • setUserId

      public void setUserId(String value)
      Description copied from interface: UserData
      Sets the value of the userId attribute.
      Specified by:
      setUserId in interface UserData
    • getRoles

      public List<String> getRoles()
      Description copied from interface: UserData
      Returns the value of the roles attribute.
      Specified by:
      getRoles in interface UserData
    • setRoles

      public void setRoles(List<String> value)
      Description copied from interface: UserData
      Sets the value of the roles attribute.
      Specified by:
      setRoles in interface UserData
    • toString

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

      public int getRolesSize()
      Description copied from interface: UserData
      Returns the number of elements in the "roles" container
      Specified by:
      getRolesSize in interface UserData
    • addRolesElement

      public void addRolesElement(String role)
      Description copied from interface: UserData
      Adds a new element to the list.
      Specified by:
      addRolesElement in interface UserData
    • removeRolesElement

      public void removeRolesElement(int index)
      Description copied from interface: UserData
      Removes the element at position index from the list.
      Specified by:
      removeRolesElement in interface UserData
    • swapRolesElement

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

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

      public int compareTo(UserData 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