public class PermissionDocument extends net.anotheria.asg.data.AbstractASGDocument implements Permission, net.anotheria.util.sorter.IComparable
INT_PROPERTY_MULTILINGUAL_DISABLEDPROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERLINK_PROP_ACCESS_OPERATION, PROP_CONSTRAINTS, PROP_DENY, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_PRIORITY| Constructor and Description |
|---|
PermissionDocument() |
PermissionDocument(PermissionDocument toClone) |
PermissionDocument(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraintsElement(java.lang.String constraint)
Adds a new element to the list.
|
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
int |
compareTo(Permission comparable) |
boolean |
equals(java.lang.Object o) |
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
|
java.lang.String |
getDefinedName() |
java.lang.String |
getDefinedParentName() |
boolean |
getDeny()
Returns the value of the deny attribute.
|
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.
|
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.
|
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 PermissionDocument()
public PermissionDocument(java.lang.String id)
public PermissionDocument(PermissionDocument toClone)
public java.lang.String getName()
PermissiongetName in interface Permissionpublic void setName(java.lang.String value)
PermissionsetName in interface Permissionpublic int getPriority()
PermissiongetPriority in interface Permissionpublic void setPriority(int value)
PermissionsetPriority in interface Permissionpublic boolean getDeny()
PermissiongetDeny in interface Permissionpublic void setDeny(boolean value)
PermissionsetDeny in interface Permissionpublic java.util.List<java.lang.String> getConstraints()
PermissiongetConstraints in interface Permissionpublic void setConstraints(java.util.List<java.lang.String> value)
PermissionsetConstraints in interface Permissionpublic java.lang.String getDescription()
PermissiongetDescription in interface Permissionpublic void setDescription(java.lang.String value)
PermissionsetDescription in interface Permissionpublic java.lang.String getAccessOperation()
PermissiongetAccessOperation in interface Permissionpublic void setAccessOperation(java.lang.String value)
PermissionsetAccessOperation in interface Permissionpublic java.lang.String toString()
toString in class net.anotheria.anodoc.data.Documentpublic int getConstraintsSize()
PermissiongetConstraintsSize in interface Permissionpublic void addConstraintsElement(java.lang.String constraint)
PermissionaddConstraintsElement in interface Permissionpublic void removeConstraintsElement(int index)
PermissionremoveConstraintsElement in interface Permissionpublic void swapConstraintsElement(int index1,
int index2)
PermissionswapConstraintsElement in interface Permissionpublic java.lang.String getConstraintsElement(int index)
PermissiongetConstraintsElement in interface Permissionpublic int compareTo(Permission 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.