public interface WorkflowTaskService
| Modifier and Type | Method and Description |
|---|---|
void |
acquireOwnership(TaskReferenceType taskReference)
Acquires the ownership of a task.
|
void |
addComment(TaskReferenceType taskReference,
String comment)
Adds a comment to a workflow task.
|
default void |
forward(TaskReferenceType taskReference,
int transitionId,
List<com.lexmark.saperion.administration.ActorReferenceType> recipients,
String comment,
boolean sync)
Deprecated.
use
forward(TaskReferenceType, TaskForwardInputType) instead |
void |
forward(TaskReferenceType taskReference,
TaskForwardInputType forwardInput)
Finishes the task execution and forwards the workflow to the next step.
|
List<TaskCommentType> |
getComments(TaskReferenceType taskReference)
Returns the task's comments.
|
Map<String,com.lexmark.saperion.PropertyType> |
getIndexData(TaskReferenceType taskReference)
Returns the task's index data.
|
TaskType |
getProperties(TaskReferenceType taskReference)
Returns the task's properties.
|
List<TransitionDefinitionType> |
getTransitions(TaskReferenceType taskReference)
Returns the task's transition definitions.
|
void |
revokeOwnership(TaskReferenceType taskReference)
Revokes the ownership of a task.
|
void |
updateIndexData(TaskReferenceType taskReference,
Map<String,com.lexmark.saperion.PropertyType> properties)
Updates the task's index data.
|
void acquireOwnership(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmExceptionvoid addComment(TaskReferenceType taskReference, String comment) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}comment - the comment to addcom.lexmark.saperion.exceptions.EcmException@Deprecated default void forward(TaskReferenceType taskReference, int transitionId, List<com.lexmark.saperion.administration.ActorReferenceType> recipients, String comment, boolean sync) throws com.lexmark.saperion.exceptions.EcmException
forward(TaskReferenceType, TaskForwardInputType) insteadtaskReference - the reference to the task in base64 encoded form of {"id":"xxx"}transitionId - the ID of the next transition to use when forwardingrecipients - the recipients of the next step if requiredcomment - the comment that will be shown in the historysync - wait for the workflow operation to complete or notcom.lexmark.saperion.exceptions.EcmExceptionvoid forward(TaskReferenceType taskReference, TaskForwardInputType forwardInput) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}forwardInput - the parameters for forwardingcom.lexmark.saperion.exceptions.EcmExceptionMap<String,com.lexmark.saperion.PropertyType> getIndexData(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmExceptionTaskType getProperties(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmExceptionList<TaskCommentType> getComments(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmExceptionList<TransitionDefinitionType> getTransitions(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmExceptionvoid revokeOwnership(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmExceptionvoid updateIndexData(TaskReferenceType taskReference, Map<String,com.lexmark.saperion.PropertyType> properties) throws com.lexmark.saperion.exceptions.EcmException
taskReference - the reference to the task in base64 encoded form of {"id":"xxx"}properties - the task's index datacom.lexmark.saperion.exceptions.EcmExceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.