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:
java.io.Serializable,java.lang.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:
- 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.anoaccessconfiguration.data.Role
PROP_CONTEXT_INITIALIZERS, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_PERMISSIONS
-
-
Constructor Summary
Constructors Constructor Description RoleDocument()RoleDocument(java.lang.String id)RoleDocument(RoleDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContextInitializersElement(java.lang.String contextInitializer)Adds a new element to the list.voidaddPermissionsElement(java.lang.String permission)Adds a new element to the list.intcompareTo(Role comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getContextInitializers()Returns the value of the contextInitializers attribute.java.lang.StringgetContextInitializersElement(int index)Returns the element at the position index in the list.intgetContextInitializersSize()Returns the number of elements in the "contextInitializers" containerjava.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetDescription()Returns the value of the description attribute.java.lang.StringgetFootprint()java.lang.StringgetName()Returns the value of the name attribute.java.util.List<java.lang.String>getPermissions()Returns the value of the permissions attribute.java.lang.StringgetPermissionsElement(int index)Returns the element at the position index in the list.intgetPermissionsSize()Returns 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(java.util.List<java.lang.String> value)Sets the value of the contextInitializers attribute.voidsetDescription(java.lang.String value)Sets the value of the description attribute.voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetPermissions(java.util.List<java.lang.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.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
-
RoleDocument
public RoleDocument()
-
RoleDocument
public RoleDocument(java.lang.String id)
-
RoleDocument
public RoleDocument(RoleDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:RoleReturns the value of the name attribute.
-
setName
public void setName(java.lang.String value)
Description copied from interface:RoleSets the value of the name attribute.
-
getPermissions
public java.util.List<java.lang.String> getPermissions()
Description copied from interface:RoleReturns the value of the permissions attribute.- Specified by:
getPermissionsin interfaceRole
-
setPermissions
public void setPermissions(java.util.List<java.lang.String> value)
Description copied from interface:RoleSets the value of the permissions attribute.- Specified by:
setPermissionsin interfaceRole
-
getContextInitializers
public java.util.List<java.lang.String> getContextInitializers()
Description copied from interface:RoleReturns the value of the contextInitializers attribute.- Specified by:
getContextInitializersin interfaceRole
-
setContextInitializers
public void setContextInitializers(java.util.List<java.lang.String> value)
Description copied from interface:RoleSets the value of the contextInitializers attribute.- Specified by:
setContextInitializersin interfaceRole
-
getDescription
public java.lang.String getDescription()
Description copied from interface:RoleReturns the value of the description attribute.- Specified by:
getDescriptionin interfaceRole
-
setDescription
public void setDescription(java.lang.String value)
Description copied from interface:RoleSets the value of the description attribute.- Specified by:
setDescriptionin interfaceRole
-
toString
public java.lang.String 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
public void addPermissionsElement(java.lang.String permission)
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
public java.lang.String getPermissionsElement(int index)
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
public void addContextInitializersElement(java.lang.String contextInitializer)
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
public java.lang.String getContextInitializersElement(int index)
Description copied from interface:RoleReturns the element at the position index in the list.- Specified by:
getContextInitializersElementin interfaceRole
-
compareTo
public int compareTo(Role 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
-
-