|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fatwire.services.beans.BaseBean
com.fatwire.services.beans.entity.WorkflowBean
public class WorkflowBean
The WorkflowBean is the value object used by the workflow related services. A workflow has a process associated with it which consists of multiple steps. Each step takes an asset from a source state to a target state based on an action from a user (with a specified role). Once the step is complete, the user provides the next action required as a comment while pushing the assignment down the workflow pipeline. the WorkflowBean represents the following workflow properties associated with an asset:
| Nested Class Summary | |
|---|---|
static class |
WorkflowBean.Action
Enumerated values for Workflow actions. |
| Constructor Summary | |
|---|---|
WorkflowBean()
|
|
| Method Summary | |
|---|---|
WorkflowBean.Action |
getAction()
Returns the action associated with the current step of the workflow. |
long |
getProcessId()
Returns the unique identifier for the process associated with this workflow. |
java.util.Map<RoleBean,java.util.List<UserBean>> |
getRoleUserMapping()
Returns the role-user mapping for this workflow step. |
long |
getStepId()
Returns the identifier for the current step in with this workflow. |
void |
setAction(WorkflowBean.Action action)
Sets the action associated with the current step of the workflow. |
void |
setProcessId(long processId)
Sets the unique identifier for the process associated with this workflow. |
void |
setStepId(long stepId)
Sets the identifier for the current step in with this workflow. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkflowBean()
| Method Detail |
|---|
public long getProcessId()
public void setProcessId(long processId)
processId - the process id to set.public long getStepId()
public void setStepId(long stepId)
stepId - the step id to set.public WorkflowBean.Action getAction()
WorkflowBean.Actionpublic void setAction(WorkflowBean.Action action)
action - the action to set.WorkflowBean.Actionpublic java.util.Map<RoleBean,java.util.List<UserBean>> getRoleUserMapping()
Returns the role-user mapping for this workflow step.
The map contains roles as the key and the list of all users in a given site who have the role assigned to them, as the value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||