public class OperationPermissionTarget extends AbstractPermissionTarget implements java.lang.Cloneable, EntityPermissionTarget
Instance.PropertyChangeEvent, Instance.PropertyChangeListener
Constructor and Description |
---|
OperationPermissionTarget(java.lang.Class entityClass,
java.lang.String id,
java.lang.String caption,
java.lang.String permissionValue) |
Modifier and Type | Method and Description |
---|---|
OperationPermissionTarget |
clone() |
PermissionVariant |
getCreatePermissionVariant() |
PermissionVariant |
getDeletePermissionVariant() |
java.lang.Class |
getEntityClass() |
MetaClass |
getEntityMetaClass() |
java.lang.String |
getEntityMetaClassName() |
java.lang.String |
getLocalName() |
PermissionVariant |
getReadPermissionVariant() |
PermissionVariant |
getUpdatePermissionVariant() |
boolean |
isAllowedAll() |
boolean |
isAssigned() |
boolean |
isDeniedAll() |
void |
setCreatePermissionVariant(PermissionVariant createPermissionVariant) |
void |
setDeletePermissionVariant(PermissionVariant deletePermissionVariant) |
void |
setReadPermissionVariant(PermissionVariant readPermissionVariant) |
void |
setUpdatePermissionVariant(PermissionVariant updatePermissionVariant) |
getCaption, getId, getMetaClass, getPermissionValue, toString
addListener, addPropertyChangeListener, getInstanceName, getValue, getValueEx, removeAllListeners, removeListener, removePropertyChangeListener, setValue, setValue, setValueEx
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCaption
addListener, addPropertyChangeListener, getInstanceName, getValue, getValueEx, removeAllListeners, removeListener, removePropertyChangeListener, setValue, setValueEx
public OperationPermissionTarget(java.lang.Class entityClass, java.lang.String id, java.lang.String caption, java.lang.String permissionValue)
public boolean isAssigned()
isAssigned
in interface AssignableTarget
public boolean isAllowedAll()
public boolean isDeniedAll()
public java.lang.Class getEntityClass()
getEntityClass
in interface EntityPermissionTarget
public PermissionVariant getCreatePermissionVariant()
public void setCreatePermissionVariant(PermissionVariant createPermissionVariant)
public PermissionVariant getReadPermissionVariant()
public void setReadPermissionVariant(PermissionVariant readPermissionVariant)
public PermissionVariant getUpdatePermissionVariant()
public void setUpdatePermissionVariant(PermissionVariant updatePermissionVariant)
public PermissionVariant getDeletePermissionVariant()
public void setDeletePermissionVariant(PermissionVariant deletePermissionVariant)
public java.lang.String getLocalName()
public java.lang.String getEntityMetaClassName()
public MetaClass getEntityMetaClass()
public OperationPermissionTarget clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException