Class RoleDocument
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_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.anoaccessconfiguration.data.Role
PROP_CONTEXT_INITIALIZERS, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_PERMISSIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContextInitializersElement(String contextInitializer) Adds a new element to the list.voidaddPermissionsElement(String permission) Adds a new element to the list.intintcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) booleanReturns the value of the contextInitializers attribute.getContextInitializersElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "contextInitializers" containerReturns the value of the description attribute.getName()Returns the value of the name attribute.Returns the value of the permissions attribute.getPermissionsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "permissions" containervoidremoveContextInitializersElement(int index) Removes the element at position index from the list.voidremovePermissionsElement(int index) Removes the element at position index from the list.voidsetContextInitializers(List<String> value) Sets the value of the contextInitializers attribute.voidsetDescription(String value) Sets the value of the description attribute.voidSets the value of the name attribute.voidsetPermissions(List<String> value) Sets the value of the permissions attribute.voidswapContextInitializersElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapPermissionsElement(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
-
RoleDocument
public RoleDocument() -
RoleDocument
-
RoleDocument
-
-
Method Details
-
getName
Description copied from interface:RoleReturns the value of the name attribute. -
setName
Description copied from interface:RoleSets the value of the name attribute. -
getPermissions
Description copied from interface:RoleReturns the value of the permissions attribute.- Specified by:
getPermissionsin interfaceRole
-
setPermissions
Description copied from interface:RoleSets the value of the permissions attribute.- Specified by:
setPermissionsin interfaceRole
-
getContextInitializers
Description copied from interface:RoleReturns the value of the contextInitializers attribute.- Specified by:
getContextInitializersin interfaceRole
-
setContextInitializers
Description copied from interface:RoleSets the value of the contextInitializers attribute.- Specified by:
setContextInitializersin interfaceRole
-
getDescription
Description copied from interface:RoleReturns the value of the description attribute.- Specified by:
getDescriptionin interfaceRole
-
setDescription
Description copied from interface:RoleSets the value of the description attribute.- Specified by:
setDescriptionin interfaceRole
-
toString
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getPermissionsSize
public int getPermissionsSize()Description copied from interface:RoleReturns the number of elements in the "permissions" container- Specified by:
getPermissionsSizein interfaceRole
-
addPermissionsElement
Description copied from interface:RoleAdds a new element to the list.- Specified by:
addPermissionsElementin interfaceRole
-
removePermissionsElement
public void removePermissionsElement(int index) Description copied from interface:RoleRemoves the element at position index from the list.- Specified by:
removePermissionsElementin interfaceRole
-
swapPermissionsElement
public void swapPermissionsElement(int index1, int index2) Description copied from interface:RoleSwaps elements at positions index1 and index2 in the list.- Specified by:
swapPermissionsElementin interfaceRole
-
getPermissionsElement
Description copied from interface:RoleReturns the element at the position index in the list.- Specified by:
getPermissionsElementin interfaceRole
-
getContextInitializersSize
public int getContextInitializersSize()Description copied from interface:RoleReturns the number of elements in the "contextInitializers" container- Specified by:
getContextInitializersSizein interfaceRole
-
addContextInitializersElement
Description copied from interface:RoleAdds a new element to the list.- Specified by:
addContextInitializersElementin interfaceRole
-
removeContextInitializersElement
public void removeContextInitializersElement(int index) Description copied from interface:RoleRemoves the element at position index from the list.- Specified by:
removeContextInitializersElementin interfaceRole
-
swapContextInitializersElement
public void swapContextInitializersElement(int index1, int index2) Description copied from interface:RoleSwaps elements at positions index1 and index2 in the list.- Specified by:
swapContextInitializersElementin interfaceRole
-
getContextInitializersElement
Description copied from interface:RoleReturns the element at the position index in the list.- Specified by:
getContextInitializersElementin interfaceRole
-
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
-