public class Restrictions extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
_cannotRead
Cannot read status.
|
private boolean |
_cannotWrite
Cannot write status.
|
private Set<String> |
_readRightIds
Read right ids.
|
private Set<Integer> |
_readWorkflowfStepIds
Write right ids.
|
private Set<String> |
_writeRightIds
Read workflow step ids.
|
private Set<Integer> |
_writeWorkflowfStepIds
Write workflow step ids.
|
Constructor and Description |
---|
Restrictions() |
Modifier and Type | Method and Description |
---|---|
void |
addReadRightIds(String... readRightIds)
Add identifiers for read rights
|
void |
addReadWorkflowfStepIds(Integer... readWorkflowfStepIds)
Add identifiers for read workflow step
|
void |
addWriteRightIds(String... writeRightIds)
Add identifiers for write rights
|
void |
addWriteWorkflowfStepIds(Integer... writeWorkflowfStepIds)
Add identifiers for write workflow step
|
boolean |
cannotRead()
Retrieves the cannot read status of the restrictions
|
boolean |
cannotWrite()
Retrieves the cannot write status of the restrictions
|
Set<String> |
getReadRightIds()
Retrieves the read rights identifiers
|
Set<Integer> |
getReadWorkflowfStepIds()
Retrieves the read workflow step identifiers
|
Set<String> |
getWriteRightIds()
Retrieves the write rights identifiers
|
Set<Integer> |
getWriteWorkflowfStepIds()
Retrieves the write workflow step identifiers
|
void |
setCannotRead(boolean cannotRead)
Sets the cannot read status
|
void |
setCannotWrite(boolean cannotWrite)
Sets the cannot write status
|
private boolean _cannotRead
private boolean _cannotWrite
private Set<String> _readRightIds
private Set<String> _writeRightIds
private Set<Integer> _readWorkflowfStepIds
private Set<Integer> _writeWorkflowfStepIds
public Restrictions()
public boolean cannotRead()
public void setCannotRead(boolean cannotRead)
cannotRead
- the cannot read status to setpublic boolean cannotWrite()
public void setCannotWrite(boolean cannotWrite)
cannotWrite
- the cannot write status to setpublic Set<String> getReadRightIds()
public void addReadRightIds(String... readRightIds)
readRightIds
- the read right identifiers to addpublic Set<String> getWriteRightIds()
public void addWriteRightIds(String... writeRightIds)
writeRightIds
- the write right identifiers to addpublic Set<Integer> getReadWorkflowfStepIds()
public void addReadWorkflowfStepIds(Integer... readWorkflowfStepIds)
readWorkflowfStepIds
- read workflow step identifiers to addpublic Set<Integer> getWriteWorkflowfStepIds()
public void addWriteWorkflowfStepIds(Integer... writeWorkflowfStepIds)
writeWorkflowfStepIds
- write workflow step identifiers to add