Interface Role
-
- All Superinterfaces:
java.lang.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
Fields Modifier and Type Field Description static java.lang.StringPROP_CONTEXT_INITIALIZERSConstant property name for "contextInitializers" for internal storage and queries.static java.lang.StringPROP_DESCRIPTIONConstant property name for "description" for internal storage and queries.static java.lang.StringPROP_IDConstant property name for "id" for internal storage and queries.static java.lang.StringPROP_NAMEConstant property name for "name" for internal storage and queries.static java.lang.StringPROP_PERMISSIONSConstant property name for "permissions" for internal storage and queries.
-
Method Summary
All Methods Instance Methods Abstract 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.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.StringgetDescription()Returns the value of the description attribute.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.
-
-
-
Field Detail
-
PROP_ID
static final java.lang.String PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_NAME
static final java.lang.String PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_PERMISSIONS
static final java.lang.String PROP_PERMISSIONS
Constant property name for "permissions" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_CONTEXT_INITIALIZERS
static final java.lang.String PROP_CONTEXT_INITIALIZERS
Constant property name for "contextInitializers" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_DESCRIPTION
static final java.lang.String PROP_DESCRIPTION
Constant property name for "description" for internal storage and queries.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the value of the name attribute.
-
setName
void setName(java.lang.String value)
Sets the value of the name attribute.
-
getPermissions
java.util.List<java.lang.String> getPermissions()
Returns the value of the permissions attribute.
-
setPermissions
void setPermissions(java.util.List<java.lang.String> value)
Sets the value of the permissions attribute.
-
getContextInitializers
java.util.List<java.lang.String> getContextInitializers()
Returns the value of the contextInitializers attribute.
-
setContextInitializers
void setContextInitializers(java.util.List<java.lang.String> value)
Sets the value of the contextInitializers attribute.
-
getDescription
java.lang.String getDescription()
Returns the value of the description attribute.
-
setDescription
void setDescription(java.lang.String value)
Sets the value of the description attribute.
-
getPermissionsSize
int getPermissionsSize()
Returns the number of elements in the "permissions" container
-
addPermissionsElement
void addPermissionsElement(java.lang.String permission)
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
java.lang.String getPermissionsElement(int index)
Returns the element at the position index in the list.
-
getContextInitializersSize
int getContextInitializersSize()
Returns the number of elements in the "contextInitializers" container
-
addContextInitializersElement
void addContextInitializersElement(java.lang.String contextInitializer)
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
java.lang.String getContextInitializersElement(int index)
Returns the element at the position index in the list.
-
-