public class WorkflowTaskClientImpl extends Object implements WorkflowTaskClient
WorkflowTaskClient.| Constructor and Description |
|---|
WorkflowTaskClientImpl(WorkflowTaskService workflowTaskService,
TaskReferenceType reference) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireOwnership()
This method acquires the ownership of the task for the current user.
|
void |
addComment(String comment)
This method adds a comment to the workflow task.
|
void |
forward()
This method forwards a task.
|
void |
forward(int transitionId)
This method finishes the task execution and forwards the workflow to the next step.
|
void |
forward(int transitionId,
List<ActorReferenceType> recipients,
String comment)
This method finishes the task execution and forwards the workflow to the next step.
|
void |
forward(int transitionId,
List<ActorReferenceType> recipients,
String comment,
boolean sync)
This method finishes the task execution and forwards the workflow to the next step.
|
void |
forward(List<ActorReferenceType> recipients)
This method finishes the task execution and forwards the workflow to the next step.
|
List<TaskCommentType> |
getComments()
This method returns the task's comments.
|
List<TransitionDefinitionType> |
getTransitions()
This method returns the task's forward transition definitions.
|
TaskType |
load()
This method returns the task's properties.
|
void |
revokeOwnership()
This method revokes the ownership of the task from the current user.
|
void |
updateIndexData(Map<String,PropertyType> properties)
This method updates the task's index data.
|
public WorkflowTaskClientImpl(WorkflowTaskService workflowTaskService, TaskReferenceType reference)
public void acquireOwnership()
throws EcmException
WorkflowTaskClientacquireOwnership in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic void addComment(String comment) throws EcmException
WorkflowTaskClientaddComment in interface WorkflowTaskClientcomment - the commentSystemException - indicates that a system exception occurredEcmExceptionpublic void forward(int transitionId,
List<ActorReferenceType> recipients,
String comment,
boolean sync)
throws EcmException
WorkflowTaskClientforward in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic void forward(int transitionId,
List<ActorReferenceType> recipients,
String comment)
throws EcmException
WorkflowTaskClientforward in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic void forward(List<ActorReferenceType> recipients) throws EcmException
WorkflowTaskClientforward in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic void forward(int transitionId)
throws EcmException
WorkflowTaskClientforward in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic void forward()
throws EcmException
WorkflowTaskClientforward in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic TaskType load() throws EcmException
WorkflowTaskClientload in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic List<TaskCommentType> getComments() throws EcmException
WorkflowTaskClientgetComments in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic List<TransitionDefinitionType> getTransitions() throws EcmException
WorkflowTaskClientgetTransitions in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic void revokeOwnership()
throws EcmException
WorkflowTaskClientrevokeOwnership in interface WorkflowTaskClientEcmException - indicates that a system exception occurredpublic void updateIndexData(Map<String,PropertyType> properties) throws EcmException
WorkflowTaskClientupdateIndexData in interface WorkflowTaskClientproperties - the task's index dataEcmException - indicates that a system exception occurredCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.