Class UserDataDocument
- 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:
java.io.Serializable,java.lang.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:
- Serialized Form
-
-
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 UserDataDocument()UserDataDocument(java.lang.String id)UserDataDocument(UserDataDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRolesElement(java.lang.String role)Adds a new element to the list.intcompareTo(UserData comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)booleanequals(java.lang.Object o)java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetFootprint()java.util.List<java.lang.String>getRoles()Returns the value of the roles attribute.java.lang.StringgetRolesElement(int index)Returns the element at the position index in the list.intgetRolesSize()Returns the number of elements in the "roles" containerjava.lang.StringgetUserId()Returns the value of the userId attribute.voidremoveRolesElement(int index)Removes the element at position index from the list.voidsetRoles(java.util.List<java.lang.String> value)Sets the value of the roles attribute.voidsetUserId(java.lang.String value)Sets the value of the userId attribute.voidswapRolesElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.java.lang.StringtoString()-
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
-
-
-
-
Constructor Detail
-
UserDataDocument
public UserDataDocument()
-
UserDataDocument
public UserDataDocument(java.lang.String id)
-
UserDataDocument
public UserDataDocument(UserDataDocument toClone)
-
-
Method Detail
-
getUserId
public java.lang.String getUserId()
Description copied from interface:UserDataReturns the value of the userId attribute.
-
setUserId
public void setUserId(java.lang.String value)
Description copied from interface:UserDataSets the value of the userId attribute.
-
getRoles
public java.util.List<java.lang.String> getRoles()
Description copied from interface:UserDataReturns the value of the roles attribute.
-
setRoles
public void setRoles(java.util.List<java.lang.String> value)
Description copied from interface:UserDataSets the value of the roles attribute.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getRolesSize
public int getRolesSize()
Description copied from interface:UserDataReturns the number of elements in the "roles" container- Specified by:
getRolesSizein interfaceUserData
-
addRolesElement
public void addRolesElement(java.lang.String role)
Description copied from interface:UserDataAdds a new element to the list.- Specified by:
addRolesElementin interfaceUserData
-
removeRolesElement
public void removeRolesElement(int index)
Description copied from interface:UserDataRemoves the element at position index from the list.- Specified by:
removeRolesElementin interfaceUserData
-
swapRolesElement
public void swapRolesElement(int index1, int index2)Description copied from interface:UserDataSwaps elements at positions index1 and index2 in the list.- Specified by:
swapRolesElementin interfaceUserData
-
getRolesElement
public java.lang.String getRolesElement(int index)
Description copied from interface:UserDataReturns the element at the position index in the list.- Specified by:
getRolesElementin interfaceUserData
-
compareTo
public int compareTo(UserData comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-