public interface WorkflowTaskClient
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.
|
void acquireOwnership() throws EcmException
EcmException
- indicates that a system exception occurredvoid addComment(String comment) throws EcmException
comment
- the commentSystemException
- indicates that a system exception occurredEcmException
void forward(int transitionId, List<ActorReferenceType> recipients, String comment, boolean sync) throws EcmException
EcmException
- indicates that a system exception occurredvoid forward(int transitionId, List<ActorReferenceType> recipients, String comment) throws EcmException
EcmException
- indicates that a system exception occurredvoid forward(List<ActorReferenceType> recipients) throws EcmException
EcmException
- indicates that a system exception occurredvoid forward(int transitionId) throws EcmException
EcmException
- indicates that a system exception occurredvoid forward() throws EcmException
EcmException
- indicates that a system exception occurredTaskType load() throws EcmException
EcmException
- indicates that a system exception occurredList<TaskCommentType> getComments() throws EcmException
EcmException
- indicates that a system exception occurredList<TransitionDefinitionType> getTransitions() throws EcmException
EcmException
- indicates that a system exception occurredvoid revokeOwnership() throws EcmException
EcmException
- indicates that a system exception occurredvoid updateIndexData(Map<String,PropertyType> properties) throws EcmException
properties
- the task's index dataEcmException
- indicates that a system exception occurredCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.