Interface Role
- All Superinterfaces:
Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
RoleDocument
public interface Role
extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant property name for "contextInitializers" for internal storage and queries.static final StringConstant property name for "description" for internal storage and queries.static final StringConstant property name for "id" for internal storage and queries.static final StringConstant property name for "name" for internal storage and queries.static final StringConstant property name for "permissions" for internal storage and queries. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContextInitializersElement(String contextInitializer) Adds a new element to the list.voidaddPermissionsElement(String permission) Adds a new element to the list.Returns 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.Methods inherited from interface net.anotheria.asg.data.DataObject
clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNodeMethods inherited from interface net.anotheria.util.sorter.IComparable
compareTo
-
Field Details
-
PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
-
PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
-
PROP_PERMISSIONS
Constant property name for "permissions" for internal storage and queries.- See Also:
-
PROP_CONTEXT_INITIALIZERS
Constant property name for "contextInitializers" for internal storage and queries.- See Also:
-
PROP_DESCRIPTION
Constant property name for "description" for internal storage and queries.- See Also:
-
-
Method Details
-
getName
String getName()Returns the value of the name attribute. -
setName
Sets the value of the name attribute. -
getPermissions
Returns the value of the permissions attribute. -
setPermissions
Sets the value of the permissions attribute. -
getContextInitializers
Returns the value of the contextInitializers attribute. -
setContextInitializers
Sets the value of the contextInitializers attribute. -
getDescription
String getDescription()Returns the value of the description attribute. -
setDescription
Sets the value of the description attribute. -
getPermissionsSize
int getPermissionsSize()Returns the number of elements in the "permissions" container -
addPermissionsElement
Adds a new element to the list. -
removePermissionsElement
void removePermissionsElement(int index) Removes the element at position index from the list. -
swapPermissionsElement
void swapPermissionsElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getPermissionsElement
Returns the element at the position index in the list. -
getContextInitializersSize
int getContextInitializersSize()Returns the number of elements in the "contextInitializers" container -
addContextInitializersElement
Adds a new element to the list. -
removeContextInitializersElement
void removeContextInitializersElement(int index) Removes the element at position index from the list. -
swapContextInitializersElement
void swapContextInitializersElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getContextInitializersElement
Returns the element at the position index in the list.
-