Package com.logicaldoc.workflow.template
Class WorkflowGroup
java.lang.Object
com.logicaldoc.workflow.template.WorkflowGroup
This class represents security permissions for a group in relation to a
workflow
- Version:
- 8.6.2
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongintParsing each permission and creates the integer representationintgetWrite()inthashCode()voidsetGroupId(long groupId) voidsetPermissions(int permissions) Set each permission evaluating the given integer representation.voidsetWrite(int write)
-
Constructor Details
-
WorkflowGroup
public WorkflowGroup() -
WorkflowGroup
-
WorkflowGroup
public WorkflowGroup(long groupId)
-
-
Method Details
-
getGroupId
public long getGroupId() -
getWrite
public int getWrite() -
setGroupId
public void setGroupId(long groupId) -
setWrite
public void setWrite(int write) -
equals
-
hashCode
public int hashCode() -
getPermissions
public int getPermissions()Parsing each permission and creates the integer representation- Returns:
- Permissions settings as integer representation.
-
setPermissions
public void setPermissions(int permissions) Set each permission evaluating the given integer representation.- Parameters:
permissions- mask(the last slot is for the 'read' permission and it is not evaluated)
-