Class GUIAccessControlEntry
java.lang.Object
com.logicaldoc.gui.common.client.beans.GUIAccessControlEntry
- All Implemented Interfaces:
Serializable
Bean to carry the security access settings for a given entity(user or group)
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorDescriptionGUIAccessControlEntry
(long entityId, String... allowedPermissions) GUIAccessControlEntry
(String... allowedPermissions) -
Method Summary
Modifier and TypeMethodDescriptionlong
getLabel()
getName()
boolean
isAdd()
boolean
boolean
boolean
boolean
boolean
isDelete()
boolean
boolean
isEmail()
boolean
isExport()
boolean
boolean
isImport()
boolean
isMove()
boolean
boolean
isPermissionAllowed
(String permission) boolean
boolean
isPrint()
boolean
isRead()
boolean
boolean
isRename()
boolean
boolean
isSign()
boolean
isStore()
boolean
boolean
boolean
isWrite()
void
setAdd
(boolean add) void
setArchive
(boolean archive) void
setAutomation
(boolean automation) void
setCalendar
(boolean calendar) void
setCustomid
(boolean customid) void
setDelete
(boolean delete) void
setDownload
(boolean download) void
setEmail
(boolean email) void
setEntityId
(long entityId) void
setExport
(boolean export) void
setImmutable
(boolean immutable) void
setImport
(boolean iimport) void
void
setMove
(boolean move) void
void
setPassword
(boolean password) void
setPreview
(boolean preview) void
setPrint
(boolean print) void
setRead
(boolean read) void
setReadingreq
(boolean readingreq) void
setRename
(boolean rename) void
setSecurity
(boolean security) void
setSign
(boolean sign) void
setStore
(boolean store) void
setSubscription
(boolean subscription) void
setWorkflow
(boolean workflow) void
setWrite
(boolean write) toString()
-
Field Details
-
PERMISSION_DELETE
- See Also:
-
PERMISSION_IMMUTABLE
- See Also:
-
PERMISSION_SECURITY
- See Also:
-
PERMISSION_READ
- See Also:
-
PERMISSION_PREVIEW
- See Also:
-
PERMISSION_WRITE
- See Also:
-
PERMISSION_ADD
- See Also:
-
PERMISSION_RENAME
- See Also:
-
PERMISSION_IMPORT
- See Also:
-
PERMISSION_EXPORT
- See Also:
-
PERMISSION_SIGN
- See Also:
-
PERMISSION_ARCHIVE
- See Also:
-
PERMISSION_WORKFLOW
- See Also:
-
PERMISSION_DOWNLOAD
- See Also:
-
PERMISSION_CALENDAR
- See Also:
-
PERMISSION_SUBSCRIPTION
- See Also:
-
PERMISSION_PASSWORD
- See Also:
-
PERMISSION_MOVE
- See Also:
-
PERMISSION_EMAIL
- See Also:
-
PERMISSION_AUTOMATION
- See Also:
-
PERMISSION_STORE
- See Also:
-
PERMISSION_READINGREQ
- See Also:
-
PERMISSION_PRINT
- See Also:
-
PERMISSION_CUSTOMID
- See Also:
-
-
Constructor Details
-
GUIAccessControlEntry
public GUIAccessControlEntry() -
GUIAccessControlEntry
-
GUIAccessControlEntry
-
-
Method Details
-
getEntityId
public long getEntityId() -
setEntityId
public void setEntityId(long entityId) -
isRead
public boolean isRead() -
isPreview
public boolean isPreview() -
setRead
public void setRead(boolean read) -
setPreview
public void setPreview(boolean preview) -
isWrite
public boolean isWrite() -
setWrite
public void setWrite(boolean write) -
isDelete
public boolean isDelete() -
setDelete
public void setDelete(boolean delete) -
isAdd
public boolean isAdd() -
setAdd
public void setAdd(boolean add) -
isImport
public boolean isImport() -
setImport
public void setImport(boolean iimport) -
isWorkflow
public boolean isWorkflow() -
setWorkflow
public void setWorkflow(boolean workflow) -
isSign
public boolean isSign() -
setSign
public void setSign(boolean sign) -
isExport
public boolean isExport() -
setExport
public void setExport(boolean export) -
isImmutable
public boolean isImmutable() -
setImmutable
public void setImmutable(boolean immutable) -
isRename
public boolean isRename() -
setRename
public void setRename(boolean rename) -
isSecurity
public boolean isSecurity() -
setSecurity
public void setSecurity(boolean security) -
isArchive
public boolean isArchive() -
setArchive
public void setArchive(boolean archive) -
isDownload
public boolean isDownload() -
setDownload
public void setDownload(boolean download) -
isCalendar
public boolean isCalendar() -
setCalendar
public void setCalendar(boolean calendar) -
isSubscription
public boolean isSubscription() -
setSubscription
public void setSubscription(boolean subscription) -
isPrint
public boolean isPrint() -
setPrint
public void setPrint(boolean print) -
isPassword
public boolean isPassword() -
setPassword
public void setPassword(boolean password) -
isMove
public boolean isMove() -
setMove
public void setMove(boolean move) -
isEmail
public boolean isEmail() -
setEmail
public void setEmail(boolean email) -
isAutomation
public boolean isAutomation() -
setAutomation
public void setAutomation(boolean automation) -
isStore
public boolean isStore() -
setStore
public void setStore(boolean store) -
isReadingreq
public boolean isReadingreq() -
setReadingreq
public void setReadingreq(boolean readingreq) -
isCustomid
public boolean isCustomid() -
setCustomid
public void setCustomid(boolean customid) -
isPermissionAllowed
-
getAllowedPermissions
-
getName
-
setName
-
getLabel
-
setLabel
-
toString
-