Interface Permission
-
- All Superinterfaces:
java.lang.Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
PermissionDocument
public interface Permission extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLINK_PROP_ACCESS_OPERATIONConstant property name for "accessOperation" for internal storage and queries.static java.lang.StringPROP_CONSTRAINTSConstant property name for "constraints" for internal storage and queries.static java.lang.StringPROP_DENYConstant property name for "deny" 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_PRIORITYConstant property name for "priority" for internal storage and queries.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddConstraintsElement(java.lang.String constraint)Adds a new element to the list.java.lang.StringgetAccessOperation()Returns the value of the accessOperation attribute.java.util.List<java.lang.String>getConstraints()Returns the value of the constraints attribute.java.lang.StringgetConstraintsElement(int index)Returns the element at the position index in the list.intgetConstraintsSize()Returns the number of elements in the "constraints" containerbooleangetDeny()Returns the value of the deny attribute.java.lang.StringgetDescription()Returns the value of the description attribute.java.lang.StringgetName()Returns the value of the name attribute.intgetPriority()Returns the value of the priority attribute.voidremoveConstraintsElement(int index)Removes the element at position index from the list.voidsetAccessOperation(java.lang.String value)Sets the value of the accessOperation attribute.voidsetConstraints(java.util.List<java.lang.String> value)Sets the value of the constraints attribute.voidsetDeny(boolean value)Sets the value of the deny 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.voidsetPriority(int value)Sets the value of the priority attribute.voidswapConstraintsElement(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_PRIORITY
static final java.lang.String PROP_PRIORITY
Constant property name for "priority" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_DENY
static final java.lang.String PROP_DENY
Constant property name for "deny" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_CONSTRAINTS
static final java.lang.String PROP_CONSTRAINTS
Constant property name for "constraints" 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
-
LINK_PROP_ACCESS_OPERATION
static final java.lang.String LINK_PROP_ACCESS_OPERATION
Constant property name for "accessOperation" 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.
-
getPriority
int getPriority()
Returns the value of the priority attribute.
-
setPriority
void setPriority(int value)
Sets the value of the priority attribute.
-
getDeny
boolean getDeny()
Returns the value of the deny attribute.
-
setDeny
void setDeny(boolean value)
Sets the value of the deny attribute.
-
getConstraints
java.util.List<java.lang.String> getConstraints()
Returns the value of the constraints attribute.
-
setConstraints
void setConstraints(java.util.List<java.lang.String> value)
Sets the value of the constraints 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.
-
getAccessOperation
java.lang.String getAccessOperation()
Returns the value of the accessOperation attribute.
-
setAccessOperation
void setAccessOperation(java.lang.String value)
Sets the value of the accessOperation attribute.
-
getConstraintsSize
int getConstraintsSize()
Returns the number of elements in the "constraints" container
-
addConstraintsElement
void addConstraintsElement(java.lang.String constraint)
Adds a new element to the list.
-
removeConstraintsElement
void removeConstraintsElement(int index)
Removes the element at position index from the list.
-
swapConstraintsElement
void swapConstraintsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.
-
getConstraintsElement
java.lang.String getConstraintsElement(int index)
Returns the element at the position index in the list.
-
-