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:
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_DISABLEDFields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERFields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAMEFields inherited from interface net.anotheria.anosite.gen.anoaccessapplicationdata.data.UserData
PROP_ID, PROP_ROLES, PROP_USER_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRolesElement(String role) Adds a new element to the list.intintcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) booleangetRoles()Returns the value of the roles attribute.getRolesElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "roles" containerReturns the value of the userId attribute.voidremoveRolesElement(int index) Removes the element at position index from the list.voidSets the value of the roles attribute.voidSets the value of the userId attribute.voidswapRolesElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.toString()Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeMethods 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, toXMLNodeMethods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.anotheria.asg.data.DataObject
clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
-
Constructor Details
-
UserDataDocument
public UserDataDocument() -
UserDataDocument
-
UserDataDocument
-
-
Method Details
-
getUserId
Description copied from interface:UserDataReturns the value of the userId attribute. -
setUserId
Description copied from interface:UserDataSets the value of the userId attribute. -
getRoles
Description copied from interface:UserDataReturns the value of the roles attribute. -
setRoles
Description copied from interface:UserDataSets the value of the roles attribute. -
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
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
Description copied from interface:UserDataReturns the element at the position index in the list.- Specified by:
getRolesElementin interfaceUserData
-
compareTo
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) - Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
-