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.EcmException
void 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.EcmException
void 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.EcmException
Map<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.EcmException
TaskType 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.EcmException
List<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.EcmException
List<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.EcmException
void 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.EcmException
void 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.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.