public abstract class AbstractWorkflowTaskDelegateService extends AbstractDelegateService<WorkflowTaskService> implements WorkflowTaskService
WorkflowTaskService
simply delegates to another instance.Constructor and Description |
---|
AbstractWorkflowTaskDelegateService() |
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,
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.
|
getDelegate, wrapSearchExecutionService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forward
public void acquireOwnership(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
acquireOwnership
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmException
public void addComment(TaskReferenceType taskReference, String comment) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
addComment
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}comment
- the comment to addcom.lexmark.saperion.exceptions.EcmException
public void forward(TaskReferenceType taskReference, TaskForwardInputType forwardInput) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
forward
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}forwardInput
- the parameters for forwardingcom.lexmark.saperion.exceptions.EcmException
public Map<String,com.lexmark.saperion.PropertyType> getIndexData(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
getIndexData
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmException
public TaskType getProperties(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
getProperties
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmException
public List<TaskCommentType> getComments(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
getComments
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmException
public List<TransitionDefinitionType> getTransitions(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
getTransitions
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmException
public void revokeOwnership(TaskReferenceType taskReference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
revokeOwnership
in interface WorkflowTaskService
taskReference
- the reference to the task in base64 encoded form of {"id":"xxx"}com.lexmark.saperion.exceptions.EcmException
public void updateIndexData(TaskReferenceType taskReference, Map<String,com.lexmark.saperion.PropertyType> properties) throws com.lexmark.saperion.exceptions.EcmException
WorkflowTaskService
updateIndexData
in interface WorkflowTaskService
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.