Class PermissionDocument
java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.anoaccessconfiguration.data.PermissionDocument
- All Implemented Interfaces:
Serializable,Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,Permission,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.util.sorter.IComparable
public class PermissionDocument
extends net.anotheria.asg.data.AbstractASGDocument
implements Permission, net.anotheria.util.sorter.IComparable
- See Also:
-
Field Summary
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLEDFields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERFields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAMEFields inherited from interface net.anotheria.anosite.gen.anoaccessconfiguration.data.Permission
LINK_PROP_ACCESS_OPERATION, PROP_CONSTRAINTS, PROP_DENY, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstraintsElement(String constraint) Adds a new element to the list.intcompareTo(Permission comparable) intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) booleanReturns the value of the accessOperation attribute.Returns the value of the constraints attribute.getConstraintsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "constraints" containerbooleangetDeny()Returns the value of the deny attribute.Returns the value of the description attribute.getName()Returns the value of the name attribute.intReturns the value of the priority attribute.voidremoveConstraintsElement(int index) Removes the element at position index from the list.voidsetAccessOperation(String value) Sets the value of the accessOperation attribute.voidsetConstraints(List<String> value) Sets the value of the constraints attribute.voidsetDeny(boolean value) Sets the value of the deny attribute.voidsetDescription(String value) Sets the value of the description attribute.voidSets 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.toString()Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeMethods inherited from class net.anotheria.anodoc.data.Document
addDataHolder, 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, toXMLNodeMethods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.anotheria.asg.data.DataObject
clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
-
Constructor Details
-
PermissionDocument
public PermissionDocument() -
PermissionDocument
-
PermissionDocument
-
-
Method Details
-
getName
Description copied from interface:PermissionReturns the value of the name attribute.- Specified by:
getNamein interfacePermission
-
setName
Description copied from interface:PermissionSets the value of the name attribute.- Specified by:
setNamein interfacePermission
-
getPriority
public int getPriority()Description copied from interface:PermissionReturns the value of the priority attribute.- Specified by:
getPriorityin interfacePermission
-
setPriority
public void setPriority(int value) Description copied from interface:PermissionSets the value of the priority attribute.- Specified by:
setPriorityin interfacePermission
-
getDeny
public boolean getDeny()Description copied from interface:PermissionReturns the value of the deny attribute.- Specified by:
getDenyin interfacePermission
-
setDeny
public void setDeny(boolean value) Description copied from interface:PermissionSets the value of the deny attribute.- Specified by:
setDenyin interfacePermission
-
getConstraints
Description copied from interface:PermissionReturns the value of the constraints attribute.- Specified by:
getConstraintsin interfacePermission
-
setConstraints
Description copied from interface:PermissionSets the value of the constraints attribute.- Specified by:
setConstraintsin interfacePermission
-
getDescription
Description copied from interface:PermissionReturns the value of the description attribute.- Specified by:
getDescriptionin interfacePermission
-
setDescription
Description copied from interface:PermissionSets the value of the description attribute.- Specified by:
setDescriptionin interfacePermission
-
getAccessOperation
Description copied from interface:PermissionReturns the value of the accessOperation attribute.- Specified by:
getAccessOperationin interfacePermission
-
setAccessOperation
Description copied from interface:PermissionSets the value of the accessOperation attribute.- Specified by:
setAccessOperationin interfacePermission
-
toString
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getConstraintsSize
public int getConstraintsSize()Description copied from interface:PermissionReturns the number of elements in the "constraints" container- Specified by:
getConstraintsSizein interfacePermission
-
addConstraintsElement
Description copied from interface:PermissionAdds a new element to the list.- Specified by:
addConstraintsElementin interfacePermission
-
removeConstraintsElement
public void removeConstraintsElement(int index) Description copied from interface:PermissionRemoves the element at position index from the list.- Specified by:
removeConstraintsElementin interfacePermission
-
swapConstraintsElement
public void swapConstraintsElement(int index1, int index2) Description copied from interface:PermissionSwaps elements at positions index1 and index2 in the list.- Specified by:
swapConstraintsElementin interfacePermission
-
getConstraintsElement
Description copied from interface:PermissionReturns the element at the position index in the list.- Specified by:
getConstraintsElementin interfacePermission
-
compareTo
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) - Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
-