| java.lang.Object com.flexive.shared.workflow.StepPermission
All known Subclasses: com.flexive.shared.workflow.StepPermissionEdit,
StepPermission | public class StepPermission implements Serializable(Code) | | Class storing a step and its permissions.
author: Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | StepPermission(long stepId, long stepDefId, long workflowId, boolean read, boolean edit, boolean relate, boolean delete, boolean export, boolean create) Constructor. | protected | StepPermission() Protected default constructor. |
Method Summary | |
public boolean | getMayCreate() Return true if the StepPermission grants create permission. | public boolean | getMayDelete() Return true if the StepPermissiom grants unassign permission. | public boolean | getMayEdit() Return true if the StepPermissiom grants edit permission. | public boolean | getMayExport() Return true if the StepPermissiom grants export permission. | public boolean | getMayRead() Return true if the StepPermissiom grants read permission. | public boolean | getMayRelate() Return true if the StepPermissiom grants relate permission. | public long | getStepDefId() Returns the id of the stepDefinition this step belongs to. | public long | getStepId() Returns the id of the step. | public long | getWorkflowId() Returns the id of the workflow the step belongs to. |
mayCreate | protected boolean mayCreate(Code) | | |
mayDelete | protected boolean mayDelete(Code) | | |
mayEdit | protected boolean mayEdit(Code) | | |
mayExport | protected boolean mayExport(Code) | | |
mayRead | protected boolean mayRead(Code) | | |
mayRelate | protected boolean mayRelate(Code) | | |
stepDefId | protected long stepDefId(Code) | | |
workflow | protected long workflow(Code) | | |
StepPermission | public StepPermission(long stepId, long stepDefId, long workflowId, boolean read, boolean edit, boolean relate, boolean delete, boolean export, boolean create)(Code) | | Constructor.
Parameters: stepId - the step id Parameters: stepDefId - the step definition ID Parameters: workflowId - the workflow id Parameters: read - the read permission Parameters: edit - the edit permission Parameters: relate - the relate permission Parameters: delete - the delete permission Parameters: export - the export permission Parameters: create - the create permission |
StepPermission | protected StepPermission()(Code) | | Protected default constructor.
|
getMayCreate | public boolean getMayCreate()(Code) | | Return true if the StepPermission grants create permission.
true if the StepPermission grants create permission. |
getMayDelete | public boolean getMayDelete()(Code) | | Return true if the StepPermissiom grants unassign permission.
true if the StepPermissiom grants unassign permission. |
getMayEdit | public boolean getMayEdit()(Code) | | Return true if the StepPermissiom grants edit permission.
true if the StepPermissiom grants edit permission. |
getMayExport | public boolean getMayExport()(Code) | | Return true if the StepPermissiom grants export permission.
true if the StepPermissiom grants export permission. |
getMayRead | public boolean getMayRead()(Code) | | Return true if the StepPermissiom grants read permission.
true if the StepPermissiom grants read permission. |
getMayRelate | public boolean getMayRelate()(Code) | | Return true if the StepPermissiom grants relate permission.
true if the StepPermissiom grants relate permission. |
getStepDefId | public long getStepDefId()(Code) | | Returns the id of the stepDefinition this step belongs to.
the id of the stepDefinition this step belongs to. |
getStepId | public long getStepId()(Code) | | Returns the id of the step.
the id of the step. |
getWorkflowId | public long getWorkflowId()(Code) | | Returns the id of the workflow the step belongs to.
the id of the workflow the step belongs to. |
|
|