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(int transitionId,
List<com.lexmark.saperion.administration.ActorReferenceType> recipients,
String comment,
boolean sync)
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,com.lexmark.saperion.PropertyType> properties)
This method updates the task's index data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforward, forward, forward, forwardpublic WorkflowTaskClientImpl(WorkflowTaskService workflowTaskService, TaskReferenceType reference)
public void acquireOwnership()
throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientacquireOwnership in interface WorkflowTaskClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic void addComment(String comment) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientaddComment in interface WorkflowTaskClientcomment - the commentcom.lexmark.saperion.exceptions.system.SystemException - indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmExceptionpublic void forward(int transitionId,
List<com.lexmark.saperion.administration.ActorReferenceType> recipients,
String comment,
boolean sync)
throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientforward in interface WorkflowTaskClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic TaskType load() throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientload in interface WorkflowTaskClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic List<TaskCommentType> getComments() throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientgetComments in interface WorkflowTaskClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic List<TransitionDefinitionType> getTransitions() throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientgetTransitions in interface WorkflowTaskClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic void revokeOwnership()
throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientrevokeOwnership in interface WorkflowTaskClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic void updateIndexData(Map<String,com.lexmark.saperion.PropertyType> properties) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskClientupdateIndexData in interface WorkflowTaskClientproperties - the task's index datacom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.