|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowService
The Workflow Service is the interface providing services related to a workflow.
Method Summary | |
---|---|
java.util.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,
java.lang.Long startmenuId,
WorkflowBean workflow,
java.lang.String comment,
java.util.Map<RoleBean,java.util.List<UserBean>> roleUserMapping)
Sets the specified asset assignment into the specified workflow. |
Methods inherited from interface com.fatwire.services.Service |
---|
getManager, getResponse, setManager |
Method Detail |
---|
java.util.List<AssignmentBean> getAssignments() throws ServiceException
user
- the user whose assignments are to be retrieved.
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, java.lang.Long startmenuId, WorkflowBean workflow, java.lang.String comment, java.util.Map<RoleBean,java.util.List<UserBean>> roleUserMapping) throws ServiceException
Sets the specified asset assignment into the specified workflow.
Returnstrue
if the asset assignment could be successfully set into the
workflow.
assignment
- the assignment to be set into the workflow.workflow
- the workflow in which asset
asset needs to be set.
true
if the asset could be successfully set into the
workflow. false
otherwise.
ServiceException
- wraps any exception underlying the service call.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |