public class RoleDocument extends net.anotheria.asg.data.AbstractASGDocument implements Role, net.anotheria.util.sorter.IComparable
INT_PROPERTY_MULTILINGUAL_DISABLEDPROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERPROP_CONTEXT_INITIALIZERS, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_PERMISSIONS| Constructor and Description |
|---|
RoleDocument() |
RoleDocument(RoleDocument toClone) |
RoleDocument(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContextInitializersElement(java.lang.String contextInitializer)
Adds a new element to the list.
|
void |
addPermissionsElement(java.lang.String permission)
Adds a new element to the list.
|
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
int |
compareTo(Role comparable) |
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getContextInitializers()
Returns the value of the contextInitializers attribute.
|
java.lang.String |
getContextInitializersElement(int index)
Returns the element at the position index in the list.
|
int |
getContextInitializersSize()
Returns the number of elements in the "contextInitializers" container
|
java.lang.String |
getDefinedName() |
java.lang.String |
getDefinedParentName() |
java.lang.String |
getDescription()
Returns the value of the description attribute.
|
java.lang.String |
getFootprint() |
java.lang.String |
getName()
Returns the value of the name attribute.
|
java.util.List<java.lang.String> |
getPermissions()
Returns the value of the permissions attribute.
|
java.lang.String |
getPermissionsElement(int index)
Returns the element at the position index in the list.
|
int |
getPermissionsSize()
Returns the number of elements in the "permissions" container
|
void |
removeContextInitializersElement(int index)
Removes the element at position index from the list.
|
void |
removePermissionsElement(int index)
Removes the element at position index from the list.
|
void |
setContextInitializers(java.util.List<java.lang.String> value)
Sets the value of the contextInitializers attribute.
|
void |
setDescription(java.lang.String value)
Sets the value of the description attribute.
|
void |
setName(java.lang.String value)
Sets the value of the name attribute.
|
void |
setPermissions(java.util.List<java.lang.String> value)
Sets the value of the permissions attribute.
|
void |
swapContextInitializersElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
void |
swapPermissionsElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
java.lang.String |
toString() |
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeaddDataHolder, 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, toXMLNodepublic RoleDocument()
public RoleDocument(java.lang.String id)
public RoleDocument(RoleDocument toClone)
public java.lang.String getName()
Rolepublic void setName(java.lang.String value)
Rolepublic java.util.List<java.lang.String> getPermissions()
RolegetPermissions in interface Rolepublic void setPermissions(java.util.List<java.lang.String> value)
RolesetPermissions in interface Rolepublic java.util.List<java.lang.String> getContextInitializers()
RolegetContextInitializers in interface Rolepublic void setContextInitializers(java.util.List<java.lang.String> value)
RolesetContextInitializers in interface Rolepublic java.lang.String getDescription()
RolegetDescription in interface Rolepublic void setDescription(java.lang.String value)
RolesetDescription in interface Rolepublic java.lang.String toString()
toString in class net.anotheria.anodoc.data.Documentpublic int getPermissionsSize()
RolegetPermissionsSize in interface Rolepublic void addPermissionsElement(java.lang.String permission)
RoleaddPermissionsElement in interface Rolepublic void removePermissionsElement(int index)
RoleremovePermissionsElement in interface Rolepublic void swapPermissionsElement(int index1,
int index2)
RoleswapPermissionsElement in interface Rolepublic java.lang.String getPermissionsElement(int index)
RolegetPermissionsElement in interface Rolepublic int getContextInitializersSize()
RolegetContextInitializersSize in interface Rolepublic void addContextInitializersElement(java.lang.String contextInitializer)
RoleaddContextInitializersElement in interface Rolepublic void removeContextInitializersElement(int index)
RoleremoveContextInitializersElement in interface Rolepublic void swapContextInitializersElement(int index1,
int index2)
RoleswapContextInitializersElement in interface Rolepublic java.lang.String getContextInitializersElement(int index)
RolegetContextInitializersElement in interface Rolepublic int compareTo(Role comparable)
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic java.lang.String getDefinedName()
getDefinedName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getDefinedParentName()
getDefinedParentName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getFootprint()
getFootprint in interface net.anotheria.asg.data.DataObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2012-2023 anotheria.net. All Rights Reserved.