Class WorkflowTaskClientImpl
java.lang.Object
com.lexmark.saperion.client.implementation.workflow.WorkflowTaskClientImpl
- All Implemented Interfaces:
- WorkflowTaskClient
This is the default implementation of 
WorkflowTaskClient.- Author:
- jschwarz
- 
Constructor SummaryConstructorsConstructorDescriptionWorkflowTaskClientImpl(WorkflowTaskService workflowTaskService) WorkflowTaskClientImpl(WorkflowTaskService workflowTaskService, TaskReferenceType reference) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidThis method acquires the ownership of the task for the current user.voidaddComment(String comment) This method adds a comment to the workflow task.createReminderForTask(long date) Creates reminder for given taskvoidforward(int transitionId, List<com.lexmark.saperion.administration.ActorReferenceType> recipients, String comment, boolean sync) This method finishes the task execution and forwards the workflow to the next step.This method returns the task's comments.Returns tasks that owned by requesterReturns List of tasks that are owned by requesterReturns List of tasks that have reminders setThis method returns the task's forward transition definitions.load()This method returns the task's properties.voidThis method revokes the ownership of the task from the current user.voidupdateIndexData(Map<String, com.lexmark.saperion.PropertyType> properties) This method updates the task's index data.updateReminderForTask(long date) Update or reset reminder for a given task.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lexmark.saperion.client.workflow.WorkflowTaskClientforward, forward, forward, forward
- 
Constructor Details- 
WorkflowTaskClientImpl
- 
WorkflowTaskClientImpl
 
- 
- 
Method Details- 
acquireOwnershippublic void acquireOwnership() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:WorkflowTaskClientThis method acquires the ownership of the task for the current user.- Specified by:
- acquireOwnershipin interface- WorkflowTaskClient
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
- 
addCommentDescription copied from interface:WorkflowTaskClientThis method adds a comment to the workflow task.- Specified by:
- addCommentin interface- WorkflowTaskClient
- Parameters:
- comment- the comment
- Throws:
- com.lexmark.saperion.exceptions.system.SystemException- indicates that a system exception occurred
- com.lexmark.saperion.exceptions.EcmException
 
- 
forwardpublic void forward(int transitionId, List<com.lexmark.saperion.administration.ActorReferenceType> recipients, String comment, boolean sync) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowTaskClientThis method finishes the task execution and forwards the workflow to the next step.- Specified by:
- forwardin interface- WorkflowTaskClient
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
- 
loadDescription copied from interface:WorkflowTaskClientThis method returns the task's properties.- Specified by:
- loadin interface- WorkflowTaskClient
- Returns:
- the task's properties
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
- 
getCommentsDescription copied from interface:WorkflowTaskClientThis method returns the task's comments.- Specified by:
- getCommentsin interface- WorkflowTaskClient
- Returns:
- the task's comments
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
- 
getTransitionspublic List<TransitionDefinitionType> getTransitions() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:WorkflowTaskClientThis method returns the task's forward transition definitions.- Specified by:
- getTransitionsin interface- WorkflowTaskClient
- Returns:
- the task's forward transition definitions
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
- 
revokeOwnershippublic void revokeOwnership() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:WorkflowTaskClientThis method revokes the ownership of the task from the current user.- Specified by:
- revokeOwnershipin interface- WorkflowTaskClient
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
- 
updateIndexDatapublic void updateIndexData(Map<String, com.lexmark.saperion.PropertyType> properties) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:WorkflowTaskClientThis method updates the task's index data.- Specified by:
- updateIndexDatain interface- WorkflowTaskClient
- Parameters:
- properties- the task's index data
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
- 
getTasksWithReminderDescription copied from interface:WorkflowTaskClientReturns List of tasks that have reminders set- Specified by:
- getTasksWithReminderin interface- WorkflowTaskClient
- Returns:
- Throws:
- com.lexmark.saperion.exceptions.EcmException
 
- 
getOwnedTasksDescription copied from interface:WorkflowTaskClientReturns List of tasks that are owned by requester- Specified by:
- getOwnedTasksin interface- WorkflowTaskClient
- Returns:
- Throws:
- com.lexmark.saperion.exceptions.EcmException
 
- 
getOverdueTasksDescription copied from interface:WorkflowTaskClientReturns tasks that owned by requester- Specified by:
- getOverdueTasksin interface- WorkflowTaskClient
- Returns:
- Throws:
- com.lexmark.saperion.exceptions.EcmException
 
- 
createReminderForTaskpublic TaskType createReminderForTask(long date) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowTaskClientCreates reminder for given task- Specified by:
- createReminderForTaskin interface- WorkflowTaskClient
- Returns:
- Throws:
- com.lexmark.saperion.exceptions.EcmException
 
- 
updateReminderForTaskpublic TaskType updateReminderForTask(long date) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowTaskClientUpdate or reset reminder for a given task.- Specified by:
- updateReminderForTaskin interface- WorkflowTaskClient
- Returns:
- Throws:
- com.lexmark.saperion.exceptions.EcmException
 
 
-