Modifier and Type | Method and Description |
---|---|
List<AssignmentBean> |
getAssignments()
Returns a list containing the assignments for the specified user.
|
WorkflowBean |
getWorkflow(long processId)
Returns the workflow for the specified process identifier.
|
boolean |
startWorkFlow(AssetId assetId, Long startmenuId, WorkflowBean workflow, String comment, Map<RoleBean,List<UserBean>> roleUserMapping)
Sets the specified asset assignment into the specified workflow.
|
getManager, getResponse, setManager
List<AssignmentBean> getAssignments() throws ServiceException
ServiceException
- wraps any exception underlying the service call.WorkflowBean getWorkflow(long processId) throws ServiceException
processId
- the identifier for the workflow process.ServiceException
- wraps any exception underlying the service call.boolean startWorkFlow(AssetId assetId, Long startmenuId, WorkflowBean workflow, String comment, Map<RoleBean,List<UserBean>> roleUserMapping) throws ServiceException
assetId
- an asset idstartmenuId
- a start menu idcomment
- a commentroleUserMapping
- a user role mappingworkflow
- the workflow in which asset asset needs to be set.ServiceException
- wraps any exception underlying the service call.