public interface Permission
extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LINK_PROP_ACCESS_OPERATION
Constant property name for "accessOperation" for internal storage and queries.
|
static java.lang.String |
PROP_CONSTRAINTS
Constant property name for "constraints" for internal storage and queries.
|
static java.lang.String |
PROP_DENY
Constant property name for "deny" for internal storage and queries.
|
static java.lang.String |
PROP_DESCRIPTION
Constant property name for "description" for internal storage and queries.
|
static java.lang.String |
PROP_ID
Constant property name for "id" for internal storage and queries.
|
static java.lang.String |
PROP_NAME
Constant property name for "name" for internal storage and queries.
|
static java.lang.String |
PROP_PRIORITY
Constant property name for "priority" for internal storage and queries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraintsElement(java.lang.String constraint)
Adds a new element to the list.
|
java.lang.String |
getAccessOperation()
Returns the value of the accessOperation attribute.
|
java.util.List<java.lang.String> |
getConstraints()
Returns the value of the constraints attribute.
|
java.lang.String |
getConstraintsElement(int index)
Returns the element at the position index in the list.
|
int |
getConstraintsSize()
Returns the number of elements in the "constraints" container
|
boolean |
getDeny()
Returns the value of the deny attribute.
|
java.lang.String |
getDescription()
Returns the value of the description attribute.
|
java.lang.String |
getName()
Returns the value of the name attribute.
|
int |
getPriority()
Returns the value of the priority attribute.
|
void |
removeConstraintsElement(int index)
Removes the element at position index from the list.
|
void |
setAccessOperation(java.lang.String value)
Sets the value of the accessOperation attribute.
|
void |
setConstraints(java.util.List<java.lang.String> value)
Sets the value of the constraints attribute.
|
void |
setDeny(boolean value)
Sets the value of the deny 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 |
setPriority(int value)
Sets the value of the priority attribute.
|
void |
swapConstraintsElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
static final java.lang.String PROP_ID
static final java.lang.String PROP_NAME
static final java.lang.String PROP_PRIORITY
static final java.lang.String PROP_DENY
static final java.lang.String PROP_CONSTRAINTS
static final java.lang.String PROP_DESCRIPTION
static final java.lang.String LINK_PROP_ACCESS_OPERATION
java.lang.String getName()
void setName(java.lang.String value)
int getPriority()
void setPriority(int value)
boolean getDeny()
void setDeny(boolean value)
java.util.List<java.lang.String> getConstraints()
void setConstraints(java.util.List<java.lang.String> value)
java.lang.String getDescription()
void setDescription(java.lang.String value)
java.lang.String getAccessOperation()
void setAccessOperation(java.lang.String value)
int getConstraintsSize()
void addConstraintsElement(java.lang.String constraint)
void removeConstraintsElement(int index)
void swapConstraintsElement(int index1,
int index2)
java.lang.String getConstraintsElement(int index)
Copyright © 2012-2023 anotheria.net. All Rights Reserved.