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.
|
void |
forward(TaskReferenceType taskReference,
int transitionId,
List<ActorReferenceType> recipients,
String comment,
boolean sync)
Finishes the task execution and forwards the workflow to the next step.
|
List<TaskCommentType> |
getComments(TaskReferenceType taskReference)
Returns the task's comments.
|
Map<String,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,PropertyType> properties)
Updates the task's index data.
|
void acquireOwnership(TaskReferenceType taskReference) throws EcmException
taskReference - the reference to the taskEcmExceptionvoid addComment(TaskReferenceType taskReference, String comment) throws EcmException
taskReference - the reference to the taskcomment - the comment to addEcmExceptionvoid forward(TaskReferenceType taskReference, int transitionId, List<ActorReferenceType> recipients, String comment, boolean sync) throws EcmException
taskReference - the reference to the tasktransitionId - 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 notEcmExceptionMap<String,PropertyType> getIndexData(TaskReferenceType taskReference) throws EcmException
taskReference - the reference to the taskEcmExceptionTaskType getProperties(TaskReferenceType taskReference) throws EcmException
taskReference - the reference to the taskEcmExceptionList<TaskCommentType> getComments(TaskReferenceType taskReference) throws EcmException
taskReference - the reference to the taskEcmExceptionList<TransitionDefinitionType> getTransitions(TaskReferenceType taskReference) throws EcmException
taskReference - the reference to the taskEcmExceptionvoid revokeOwnership(TaskReferenceType taskReference) throws EcmException
taskReference - the reference to the taskEcmExceptionvoid updateIndexData(TaskReferenceType taskReference, Map<String,PropertyType> properties) throws EcmException
taskReference - the reference to the taskproperties - the task's index dataEcmExceptionCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.