public interface WorkflowTaskService
operations and
provides functionality concerning workflow tasks.| Modifier and Type | Method and Description |
|---|---|
void |
acquireOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
boolean sync,
int workingTime,
String comment)
Acquires the ownership of a task.
|
void |
acquireOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment)
Acquires the ownership of a task.
|
void |
addComment(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment)
Adds a comment to a workflow task.
|
void |
addComment(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment,
int level)
Adds a comment to a workflow task.
|
void |
forward(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
int transitionId,
List<com.lexmark.saperion.administration.ActorReferenceType> recipients,
String comment)
Finishes the task execution and forwards the workflow to the next step.
|
void |
forward(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
int transitionId,
List<com.lexmark.saperion.administration.ActorReferenceType> recipients,
String comment,
boolean sync,
int workingTime)
Finishes the task execution and forwards the workflow to the next step.
|
List<com.lexmark.saperion.workflow.TaskCommentType> |
getComments(com.lexmark.saperion.workflow.TaskReferenceType taskReference)
Returns the task's comments.
|
List<com.lexmark.saperion.PropertyType> |
getIndexData(com.lexmark.saperion.workflow.TaskReferenceType taskReference)
Returns the task's index data.
|
com.lexmark.saperion.workflow.TaskType |
getProperties(com.lexmark.saperion.workflow.TaskReferenceType taskReference)
Returns the task's properties.
|
List<com.lexmark.saperion.workflow.TransitionDefinitionType> |
getTransitions(com.lexmark.saperion.workflow.TaskReferenceType taskReference)
Returns the task's transition definitions.
|
void |
revokeOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
boolean sync,
int workingTime,
String comment)
Revokes the ownership of a task.
|
void |
revokeOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment)
Revokes the ownership of a task.
|
void |
updateIndexData(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
List<com.lexmark.saperion.PropertyType> properties,
String comment)
Updates the task's index data.
|
void acquireOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
boolean sync,
int workingTime,
String comment)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the tasksync - wait for the workflow operation to complete or notworkingTime - working time for the current step for statisticsSaAuthenticationException - authentication exceptionSaSystemException - system exceptionvoid acquireOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the taskSaAuthenticationException - authentication exceptionSaSystemException - system exceptionvoid addComment(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment,
int level)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the taskcomment - the comment to addlevel - the level to add the comment toSaAuthenticationException - authentication exceptionSaSystemException - system exceptionvoid addComment(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the taskcomment - the comment to addSaAuthenticationException - authentication exceptionSaSystemException - system exceptionvoid forward(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
int transitionId,
List<com.lexmark.saperion.administration.ActorReferenceType> recipients,
String comment,
boolean sync,
int workingTime)
throws SaSystemException,
SaAuthenticationException
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 notworkingTime - working time for the current step for statisticsSaSystemException - system exceptionSaAuthenticationException - authentication exceptionvoid forward(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
int transitionId,
List<com.lexmark.saperion.administration.ActorReferenceType> recipients,
String comment)
throws SaSystemException,
SaAuthenticationException
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 historySaSystemException - system exceptionSaAuthenticationException - authentication exceptionList<com.lexmark.saperion.PropertyType> getIndexData(com.lexmark.saperion.workflow.TaskReferenceType taskReference) throws SaAuthenticationException, SaSystemException
taskReference - the reference to the taskSaAuthenticationException - authentication exceptionSaSystemExceptioncom.lexmark.saperion.workflow.TaskType getProperties(com.lexmark.saperion.workflow.TaskReferenceType taskReference)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the taskSaAuthenticationException - authentication exceptionSaSystemException - system exceptionList<com.lexmark.saperion.workflow.TaskCommentType> getComments(com.lexmark.saperion.workflow.TaskReferenceType taskReference) throws SaAuthenticationException, SaSystemException
taskReference - the reference to the taskSaAuthenticationException - authentication exceptionSaSystemException - system exceptionList<com.lexmark.saperion.workflow.TransitionDefinitionType> getTransitions(com.lexmark.saperion.workflow.TaskReferenceType taskReference) throws SaAuthenticationException, SaSystemException
taskReference - the reference to the taskSaAuthenticationException - authentication exceptionSaSystemException - system exceptionvoid revokeOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
boolean sync,
int workingTime,
String comment)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the tasksync - wait for the workflow operation to complete or notworkingTime - working time for the current step for statisticscomment - the comment that will be shown in the historySaAuthenticationException - authentication exceptionSaSystemException - system exceptionvoid revokeOwnership(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
String comment)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the taskcomment - the comment that will be shown in the historySaAuthenticationException - authentication exceptionSaSystemException - system exceptionvoid updateIndexData(com.lexmark.saperion.workflow.TaskReferenceType taskReference,
List<com.lexmark.saperion.PropertyType> properties,
String comment)
throws SaAuthenticationException,
SaSystemException
taskReference - the reference to the taskproperties - the task's index datacomment - the comment for the new revisionSaAuthenticationException - authentication exceptionSaSystemException - system exceptionCopyright © 2016 SAPERION AG. All rights reserved.