com.ibm.task.spi

Class APIEventHandler

  1. java.lang.Object
  2. extended bycom.ibm.task.spi.APIEventHandler
All implemented interfaces:
APIEventHandlerPlugin, APIEventHandlerPlugin2, APIEventHandlerPlugin3, APIEventHandlerPlugin4, APIEventHandlerPlugin5, APIEventHandlerPlugin6

  1. public class APIEventHandler
  2. extends java.lang.Object
  3. implements APIEventHandlerPlugin6
This class provides a default implementation for the Human Task Manager APIEventHandlerPlugin interfaces.

Note that it is best practice to inherit from this class instead of implementing the interfaces directly. This helps to ensure upward compatibility of your code.

Since:
6.0.2

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Constructor Summary

Constructor and Description
APIEventHandler()

Method Summary

Modifier and Type Method and Description
  1. void
postCallTask(Task task,java.io.Serializable inputMessage,java.io.Serializable returnMessage,TaskException taskException)
This method is called after a "CALL TASK" request was executed.
  1. void
postCancelClaim(Task task,TaskException taskException)
This method is called after a "CANCEL CLAIM" request was executed.
  1. void
postClaim(Task task,java.lang.Object inputMessage,TaskException taskException)
Deprecated. since v6.0.2 - use postClaim(Task, Serializable, TaskException)
  1. void
postClaim(Task task,java.io.Serializable inputMessage,TaskException taskException)
This method is called after a "CLAIM" request was executed.
  1. void
postComplete(Task task,java.io.Serializable outputMessage,java.lang.String faultName,java.io.Serializable faultMessage,TaskException taskException)
This method is called after a "COMPLETE" request was executed.
  1. void
postCompleteWithFollowOnTask(Task task,Task previousTask,TaskException taskException)
This method is called after a "COMPLETE WITH FOLLOW-ON TASK" request was executed.
  1. void
postCompleteWithNewFollowOnTask(Task newTask,TaskModel newTaskModel,TaskTemplate template,Task previousTask,java.io.Serializable inputMessage,TaskException taskException)
This method is called after a "COMPLETE WITH NEW FOLLOW-ON TASK" request was executed.
  1. void
postCreateAndCallTask(Task task,TaskModel newTaskModel,TaskTemplate template,java.io.Serializable inputMessage,TaskException taskException)
This method is called after a CREATE AND CALL TASK request was executed.
  1. void
postCreateAndStartTask(Task newTask,TaskModel newTaskModel,TaskTemplate template,java.io.Serializable inputMessage,ReplyHandler replyHandler,TaskException taskException)
This method is called after a CREATE AND START TASK request was executed.
  1. void
postCreateAndStartTaskAsSubTask(Task newTask,TaskModel newTaskModel,TaskTemplate template,Task parentTask,java.io.Serializable inputMessage,TaskException taskException)
This method is called after a "CREATE AND START TASK AS SUBTASK" request was executed.
  1. void
postCreateTask(Task newTask,TaskModel newTaskModel,TaskTemplate template,java.io.Serializable inputMessage,ReplyHandler replyHandler,TaskException taskException)
This method is called after a "CREATE TASK" request was executed.
  1. void
postCreateWorkItem(Escalation escalation,int assignmentReason,java.lang.String id,TaskException taskException)
This method is called after a "CREATE WORKITEM" for escalation request was executed.
  1. void
postCreateWorkItem(Task task,int assignmentReason,java.lang.String id,TaskException taskException)
This method is called after a "CREATE WORKITEM" for task request was executed.
  1. void
postDeleteTask(Task task,TaskException taskException)
This method is called after a "DELETE TASK" request was executed.
  1. void
postDeleteWorkItem(Escalation escalation,int assignmentReason,java.lang.String id,TaskException taskException)
This method is called after a "DELETE WORKITEM" of escalation request was executed.
  1. void
postDeleteWorkItem(Task task,int assignmentReason,java.lang.String id,TaskException taskException)
This method is called after a "DELETE WORKITEM" of task request was executed.
  1. void
postGetTaskAndMarkRead(Task task,TaskException taskException)
This method is called after a "GET TASK AND MARK READ" request was executed.
  1. void
postReplaceWorkItem(Task task,int assignmentReason,java.lang.String staffQuery,TaskException taskException)
This method is called after a "REPLACE WORKITEM" request was executed.
  1. void
postRestartTask(Task task,TaskException taskException)
This method is called after a "RESTART TASK" request was executed.
  1. void
postResumeTask(Task task,TaskException taskException)
This method is called after a "RESUME TASK" request was executed.
  1. void
postSetBinaryCustomProperty(Escalation escalation,BinaryCustomProperty property,TaskException taskException)
This method is called after a "SET BINARY CUSTOM PROPERTY" for an escalation request was executed.
  1. void
postSetBinaryCustomProperty(Task task,BinaryCustomProperty property,TaskException taskException)
This method is called after a "SET BINARY CUSTOM PROPERTY" for a task request was executed.
  1. void
postSetBinaryCustomProperty(Task task,java.lang.String propertyName,java.lang.String dataType,java.io.Serializable propertyValue,TaskException taskException)
Deprecated. since v6.0.2 - use postSetBinaryCustomProperty(Task, BinaryCustomProperty)
  1. void
postSetCustomProperties(Task task,java.util.List customProperties,TaskException taskException)
This method is called after a "SET CUSTOM PROPERTIES" request was executed.
  1. void
postSetCustomProperty(Task task,java.lang.String propertyName,java.lang.String propertyValue,TaskException taskException)
This method is called after a "SET CUSTOM PROPERTY" request was executed.
  1. void
postSetFaultMessage(Task task,java.lang.String faultName,java.io.Serializable faultMessage,TaskException taskException)
This method is called after a "SET FAULT MESSAGE" request was executed.
  1. void
postSetInlineCustomProperties(Task task,java.util.List inlineCustomProperties,TaskException taskException)
This method is called after a "SET INLINE CUSTOM PROPERTIES" request was executed.
  1. void
postSetInlineCustomProperty(Task task,InlineCustomProperty inlineCustomProperty,TaskException taskException)
This method is called after a "SET INLINE CUSTOM PROPERTY" request was executed.
  1. void
postSetInputMessage(Task task,java.io.Serializable inputMessage,TaskException taskException)
This method is called after a "SET INPUT MESSAGE" request was executed.
  1. void
postSetOutputMessage(Task task,java.io.Serializable outputMessage,TaskException taskException)
This method is called after a "SET OUTPUT MESSAGE" request was executed.
  1. void
postSetTaskRead(Task task,boolean taskRead,TaskException taskException)
This method is called after a "SET TASK READ" request was executed.
  1. void
postStartTask(Task task,java.io.Serializable inputMessage,ReplyHandler replyHandler,TaskException taskException)
This method is called after a "START TASK" request was executed.
  1. void
postStartTaskAsSubTask(Task task,Task parentTask,java.io.Serializable inputMessage,TaskException taskException)
This method is called after a "START TASK AS SUBTASK" request was executed.
  1. void
postSuspendTask(Task task,TaskException taskException)
This method is called after a "SUSPEND TASK" request was executed.
  1. void
postSuspendTaskUntil(Task task,java.util.Calendar timeStamp,TaskException taskException)
This method is called after a "SUSPEND TASK UNTIL" request was executed.
  1. void
postSuspendTaskUntil(Task task,int duration,TaskException taskException)
This method is called after a "SUSPEND TASK UNTIL" request was executed.
  1. void
postSuspendTaskUntil(Task task,java.lang.String duration,TaskException taskException)
This method is called after a "SUSPEND TASK UNTIL" request was executed.
  1. void
postSuspendTaskWithCancelClaim(Task task,java.util.Calendar timeStamp,TaskException taskException)
This method is called after a "SUSPEND TASK WITH CANCEL CLAIM" request was executed.
  1. void
postSuspendTaskWithCancelClaim(Task task,int duration,TaskException taskException)
This method is called after a "SUSPEND TASK WITH CANCEL CLAIM" request was executed.
  1. void
postSuspendTaskWithCancelClaim(Task task,java.lang.String duration,TaskException taskException)
This method is called after a "SUSPEND TASK WITH CANCEL CLAIM" request was executed.
  1. void
postTerminateTask(Task task,TaskException taskException)
This method is called after a "TERMINATE TASK" request was executed.
  1. void
postTransferToWorkBasket(Task task,java.lang.String workBasketName,boolean preserveTransferState,TaskException taskException)
This method is called after a "TRANSFER TO WORK BASKET" request was executed.
  1. void
postTransferWorkItem(Escalation escalation,int assignmentReason,java.lang.String fromUserId,java.lang.String toUserId,TaskException taskException)
This method is called after a "TRANSFER WORKITEM" of an escalation request was executed.
  1. void
postTransferWorkItem(Task task,int assignmentReason,java.lang.String fromUserId,java.lang.String toUserId,TaskException taskException)
This method is called after a "TRANSFER WORKITEM" of a task request was executed.
  1. void
postTriggerEscalation(Escalation escalation,TaskException taskException)
This method is called after a "TRIGGER ESCALATION" request was executed.
  1. void
postUpdateEscalation(Escalation escalation,TaskException taskException)
This method is called after an "UPDATE ESCALATION" request was executed.
  1. void
postUpdateInactiveTask(Task task,java.io.Serializable inputMessage,ReplyHandler replyHandler,TaskException taskException)
This method is called after a "UPDATE INACTIVE TASK" request was executed.
  1. void
postUpdateTask(Task task,TaskException taskException)
This method is called after an "UPDATE TASK" request was executed.
  1. void
preCallTask(Task task,java.io.Serializable inputMessage)
This method is called before a "CALL TASK" request is executed.
  1. void
preCancelClaim(Task task)
This method is called before a "CANCEL CLAIM" request is executed.
  1. void
preClaim(Task task)
This method is called before a "CLAIM" request is executed.
  1. void
preComplete(Task task)
This method is called before a "COMPLETE" request is executed.
  1. void
preCompleteWithFollowOnTask(Task task,Task previousTask)
This method is called before a "COMPLETE WITH FOLLOW-ON TASK" request is executed.
  1. void
preCompleteWithNewFollowOnTask(TaskModel newTaskModel,TaskTemplate template,Task previousTask)
This method is called before a "COMPLETE WITH NEW FOLLOW-ON TASK" request is executed.
  1. void
preCreateAndCallTask(TaskModel newTaskModel,TaskTemplate template,java.io.Serializable inputMessage)
This method is called before a "CREATE AND CALL TASK" request is executed.
  1. void
preCreateAndStartTask(TaskModel newTaskModel,TaskTemplate template,java.io.Serializable inputMessage,ReplyHandler replyHandler)
This method is called before a "CREATE AND START TASK" request is executed.
  1. void
preCreateAndStartTaskAsSubTask(TaskModel newTaskModel,TaskTemplate template,Task parentTask,java.io.Serializable inputMessage)
This method is called before a "CREATE AND START TASK AS SUBTASK" request is executed.
  1. void
preCreateTask(TaskModel newTaskModel,TaskTemplate template,java.io.Serializable inputMessage,ReplyHandler replyHandler)
This method is called before a "CREATE TASK" request is executed.
  1. void
preCreateWorkItem(Escalation escalation,int assignmentReason,java.lang.String id)
This method is called before a "CREATE WORKITEM" for escalation request is executed.
  1. void
preCreateWorkItem(Task task,int assignmentReason,java.lang.String id)
This method is called before a "CREATE WORKITEM" for task request is executed.
  1. void
preDeleteTask(Task task)
This method is called before a "DELETE TASK" request is executed.
  1. void
preDeleteWorkItem(Escalation escalation,int assignmentReason,java.lang.String id)
This method is called before a "DELETE WORKITEM" of escalation request is executed.
  1. void
preDeleteWorkItem(Task task,int assignmentReason,java.lang.String id)
This method is called before a "DELETE WORKITEM" of task request is executed.
  1. void
preGetTaskAndMarkRead(Task task)
This method is called before a "GET TASK AND MARK READ" request is executed.
  1. void
preReplaceWorkItem(Task task,int assignmentReason,java.lang.String staffQuery)
This method is called before a "REPLACE WORKITEM" request is executed.
  1. void
preRestartTask(Task task)
This method is called before a "RESTART TASK" request is executed.
  1. void
preResumeTask(Task task)
This method is called before a "RESUME TASK" request is executed.
  1. void
preSetBinaryCustomProperty(Escalation escalation,BinaryCustomProperty property)
This method is called before a "SET BINARY CUSTOM PROPERTY" for an escalation request is executed.
  1. void
preSetBinaryCustomProperty(Task task,BinaryCustomProperty property)
This method is called before a "SET BINARY CUSTOM PROPERTY" for a task request is executed.
  1. void
preSetBinaryCustomProperty(Task task,java.lang.String propertyName,java.lang.String dataType,java.io.Serializable propertyValue)
Deprecated. since v6.0.2 - use preSetBinaryCustomProperty(Task, BinaryCustomProperty)
  1. void
preSetCustomProperties(Task task,java.util.List customProperties)
This method is called before a "SET CUSTOM PROPERTIES" request is executed.
  1. void
preSetCustomProperty(Task task,java.lang.String propertyName,java.lang.String propertyValue)
This method is called before a "SET CUSTOM PROPERTY" request is executed.
  1. void
preSetFaultMessage(Task task,java.lang.String faultName,java.io.Serializable faultMessage)
This method is called before a "SET FAULT MESSAGE" request is executed.
  1. void
preSetInlineCustomProperties(Task task,java.util.List inlineCustomProperties)
This method is called before a "SET INLINE CUSTOM PROPERTIES" request is executed.
  1. void
preSetInlineCustomProperty(Task task,InlineCustomProperty inlineCustomProperty)
This method is called before a "SET INLINE CUSTOM PROPERTY" request is executed.
  1. void
preSetInputMessage(Task task,java.io.Serializable inputMessage)
This method is called before a "SET INPUT MESSAGE" request is executed.
  1. void
preSetOutputMessage(Task task,java.io.Serializable outputMessage)
This method is called before a "SET OUTPUT MESSAGE" request is executed.
  1. void
preSetTaskRead(Task task,boolean taskRead)
This method is called before a "SET TASK READ" request is executed.
  1. void
preStartTask(Task task,java.io.Serializable inputMessage,ReplyHandler replyHandler)
This method is called before a "START TASK" request is executed.
  1. void
preStartTaskAsSubTask(Task task,Task parentTask,java.io.Serializable inputMessage)
This method is called before a "START TASK AS SUBTASK" request is executed.
  1. void
preSuspendTask(Task task)
This method is called before a "SUSPEND TASK" request is executed.
  1. void
preSuspendTaskUntil(Task task,java.util.Calendar timeStamp)
This method is called before a "SUSPEND TASK UNTIL" request is executed.
  1. void
preSuspendTaskUntil(Task task,int duration)
This method is called before a "SUSPEND TASK UNTIL" request is executed.
  1. void
preSuspendTaskUntil(Task task,java.lang.String duration)
This method is called before a "SUSPEND TASK UNTIL" request is executed.
  1. void
preSuspendTaskWithCancelClaim(Task task,java.util.Calendar timeStamp)
This method is called before a "SUSPEND TASK WITH CANCEL CLAIM" request is executed.
  1. void
preSuspendTaskWithCancelClaim(Task task,int duration)
This method is called before a "SUSPEND TASK WITH CANCEL CLAIM" request is executed.
  1. void
preSuspendTaskWithCancelClaim(Task task,java.lang.String duration)
This method is called before a "SUSPEND TASK WITH CANCEL CLAIM" request is executed.
  1. void
preTerminateTask(Task task)
This method is called before a "TERMINATE TASK" request is executed.
  1. void
preTransferToWorkBasket(Task task,java.lang.String workBasketName,boolean preserveTransferState)
This method is called before a "TRANSFER TO WORK BASKET" request is executed.
  1. void
preTransferWorkItem(Escalation escalation,int assignmentReason,java.lang.String fromUserId,java.lang.String toUserId)
This method is called before a "TRANSFER WORKITEM" of an escalation request is executed.
  1. void
preTransferWorkItem(Task task,int assignmentReason,java.lang.String fromUserId,java.lang.String toUserId)
This method is called before a T"RANSFER WORKITEM" of a task request is executed.
  1. void
preTriggerEscalation(Escalation escalation)
This method is called before a "TRIGGER ESCALATION" request is executed.
  1. void
preUpdateEscalation(Escalation escalation)
This method is called before an "UPDATE ESCALATION" request is executed.
  1. void
preUpdateInactiveTask(Task task,TaskModel model,java.io.Serializable inputMessage,ReplyHandler replyHandler)
This method is called before a "UPDATE INACTIVE TASK" request is executed.
  1. void
preUpdateTask(Task task)
This method is called before an "UPDATE TASK" request is executed.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

APIEventHandler

  1. public APIEventHandler()

Method Detail

preCallTask

  1. public void preCallTask(Task task,
  2. java.io.Serializable inputMessage)
  3. throws ApplicationVetoException
This method is called before a "CALL TASK" request is executed.
Specified by:
Parameters:
task - The task that will be called.
inputMessage - The optional input message - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCallTask

  1. public void postCallTask(Task task,
  2. java.io.Serializable inputMessage,
  3. java.io.Serializable returnMessage,
  4. TaskException taskException)
This method is called after a "CALL TASK" request was executed.
Specified by:
Parameters:
task - The task that has been called.
inputMessage - The optional input message - may be null.
returnMessage - The optional return message - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preCancelClaim

  1. public void preCancelClaim(Task task)
  2. throws ApplicationVetoException
This method is called before a "CANCEL CLAIM" request is executed.
Specified by:
Parameters:
task - The task that has been claimed and that is to be canceled.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postCancelClaim

  1. public void postCancelClaim(Task task,
  2. TaskException taskException)
This method is called after a "CANCEL CLAIM" request was executed.
Specified by:
Parameters:
task - The task where the claim was requested to be canceled.
taskException - The TaskException that occurred or null if no exception occurred.

preClaim

  1. public void preClaim(Task task)
  2. throws ApplicationVetoException
This method is called before a "CLAIM" request is executed.
Specified by:
Parameters:
task - The task that is to be claimed.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postClaim

  1. public void postClaim(Task task,
  2. java.lang.Object inputMessage,
  3. TaskException taskException)
Deprecated. since v6.0.2 - use postClaim(Task, Serializable, TaskException)
This method is called after a "CLAIM" request was executed.
Specified by:
Parameters:
task - The task that was requested to be claimed.
inputMessage - The input message of the claim request.
taskException - The TaskException that occurred or null if no exception occurred.

postClaim

  1. public void postClaim(Task task,
  2. java.io.Serializable inputMessage,
  3. TaskException taskException)
This method is called after a "CLAIM" request was executed.
Specified by:
Parameters:
task - The task that was requested to be claimed.
inputMessage - The input message of the claim request.
taskException - The TaskException that occurred or null if no exception occurred.

preComplete

  1. public void preComplete(Task task)
  2. throws ApplicationVetoException
This method is called before a "COMPLETE" request is executed.
Specified by:
Parameters:
task - The task to be completed.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postComplete

  1. public void postComplete(Task task,
  2. java.io.Serializable outputMessage,
  3. java.lang.String faultName,
  4. java.io.Serializable faultMessage,
  5. TaskException taskException)
This method is called after a "COMPLETE" request was executed.
Specified by:
Parameters:
task - The task that was requested to be completed.
outputMessage - The optional output message - may be null.
faultName - The faultname if a fault message is provided - may be null.
faultMessage - The optional fault message - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preCompleteWithFollowOnTask

  1. public void preCompleteWithFollowOnTask( Task task,
  2. Task previousTask)
  3. throws ApplicationVetoException
This method is called before a "COMPLETE WITH FOLLOW-ON TASK" request is executed.
Specified by:
Parameters:
task - The task to be started.
previousTask - The predecessor task to be completed.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCompleteWithFollowOnTask

  1. public void postCompleteWithFollowOnTask( Task task,
  2. Task previousTask,
  3. TaskException taskException)
This method is called after a "COMPLETE WITH FOLLOW-ON TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be started.
previousTask - The predecessor task that was requested to be completed.
taskException - The TaskException that occurred or null if no exception occurred.

preCompleteWithNewFollowOnTask

  1. public void preCompleteWithNewFollowOnTask( TaskModel newTaskModel,
  2. TaskTemplate template,
  3. Task previousTask)
  4. throws ApplicationVetoException
This method is called before a "COMPLETE WITH NEW FOLLOW-ON TASK" request is executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
newTaskModel - The task model from which a follow-on task is to be created.
template - The task template from which a follow-on task is to be created.
previousTask - The predecessor task that is to be completed.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCompleteWithNewFollowOnTask

  1. public void postCompleteWithNewFollowOnTask( Task newTask,
  2. TaskModel newTaskModel,
  3. TaskTemplate template,
  4. Task previousTask,
  5. java.io.Serializable inputMessage,
  6. TaskException taskException)
This method is called after a "COMPLETE WITH NEW FOLLOW-ON TASK" request was executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
newTask - The task that was requested to be created.
newTaskModel - The task model data from which the task was requested to be created.
template - The task template from which the task was requested to be created.
previousTask - The the predecessor task that was requested to be completed.
inputMessage - An optional input message - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preCreateAndCallTask

  1. public void preCreateAndCallTask( TaskModel newTaskModel,
  2. TaskTemplate template,
  3. java.io.Serializable inputMessage)
  4. throws ApplicationVetoException
This method is called before a "CREATE AND CALL TASK" request is executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
newTaskModel - The task model data which the task is to be created.
template - The task template from which the new task is to be created.
inputMessage - An optional input message - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postCreateAndCallTask

  1. public void postCreateAndCallTask( Task task,
  2. TaskModel newTaskModel,
  3. TaskTemplate template,
  4. java.io.Serializable inputMessage,
  5. TaskException taskException)
This method is called after a CREATE AND CALL TASK request was executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
task - The task that was requested to be created and called.
newTaskModel - The task model data from which the task was requested to be created.
template - The task template from which the task was requested to be created.
inputMessage - An optional input message - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preCreateAndStartTask

  1. public void preCreateAndStartTask( TaskModel newTaskModel,
  2. TaskTemplate template,
  3. java.io.Serializable inputMessage,
  4. ReplyHandler replyHandler)
  5. throws ApplicationVetoException
This method is called before a "CREATE AND START TASK" request is executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
newTaskModel - The task model data which the task is to be created.
template - The task template from which the task is to be created.
inputMessage - An optional input message - may be null.
replyHandler - An optional reply handler - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCreateAndStartTask

  1. public void postCreateAndStartTask( Task newTask,
  2. TaskModel newTaskModel,
  3. TaskTemplate template,
  4. java.io.Serializable inputMessage,
  5. ReplyHandler replyHandler,
  6. TaskException taskException)
This method is called after a CREATE AND START TASK request was executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
newTask - The task that was requested to be created and called.
newTaskModel - The task model data from which the task was requested to be created.
template - The task template from which the task was requested to be created.
inputMessage - An optional input message - may be null.
replyHandler - An optional reply handler - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preCreateAndStartTaskAsSubTask

  1. public void preCreateAndStartTaskAsSubTask( TaskModel newTaskModel,
  2. TaskTemplate template,
  3. Task parentTask,
  4. java.io.Serializable inputMessage)
  5. throws ApplicationVetoException
This method is called before a "CREATE AND START TASK AS SUBTASK" request is executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
newTaskModel - The task model data which the subtask is to be created.
template - The task template from which the subtask is to be created.
parentTask - The parent task.
inputMessage - An optional input message - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCreateAndStartTaskAsSubTask

  1. public void postCreateAndStartTaskAsSubTask( Task newTask,
  2. TaskModel newTaskModel,
  3. TaskTemplate template,
  4. Task parentTask,
  5. java.io.Serializable inputMessage,
  6. TaskException taskException)
This method is called after a "CREATE AND START TASK AS SUBTASK" request was executed.

Note: Either the newTaskModel parameter or the template parameter must be set.

Specified by:
Parameters:
newTask - The task that was requested to be created and started.
newTaskModel - The task model data from which the task was requested to be created.
template - The task template from which the task was requested to be created.
parentTask - The parent task.
inputMessage - An optional input message - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preCreateTask

  1. public void preCreateTask(TaskModel newTaskModel,
  2. TaskTemplate template,
  3. java.io.Serializable inputMessage,
  4. ReplyHandler replyHandler)
  5. throws ApplicationVetoException
This method is called before a "CREATE TASK" request is executed.
Specified by:
Parameters:
newTaskModel - The task model data which the task is to be created.
template - The task template from which the task is to be created.
inputMessage - An optional input message - may be null.
replyHandler - An optional reply handler - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCreateTask

  1. public void postCreateTask(Task newTask,
  2. TaskModel newTaskModel,
  3. TaskTemplate template,
  4. java.io.Serializable inputMessage,
  5. ReplyHandler replyHandler,
  6. TaskException taskException)
This method is called after a "CREATE TASK" request was executed.
Specified by:
Parameters:
newTask - The task that was requested to be created.
newTaskModel - The task model data from which the task was requested to be created.
template - The task template from which the task was requested to be created.
inputMessage - An optional input message - may be null.
replyHandler - An optional reply handler - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preCreateWorkItem

  1. public void preCreateWorkItem(Escalation escalation,
  2. int assignmentReason,
  3. java.lang.String id)
  4. throws ApplicationVetoException
This method is called before a "CREATE WORKITEM" for escalation request is executed.
Specified by:
Parameters:
escalation - The escalation for which a work item is to be created.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCreateWorkItem

  1. public void postCreateWorkItem( Escalation escalation,
  2. int assignmentReason,
  3. java.lang.String id,
  4. TaskException taskException)
This method is called after a "CREATE WORKITEM" for escalation request was executed.
Specified by:
Parameters:
escalation - The escalation for which a work item was requested to be created.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
taskException - The TaskException that occurred or null if no exception occurred.

preCreateWorkItem

  1. public void preCreateWorkItem(Task task,
  2. int assignmentReason,
  3. java.lang.String id)
  4. throws ApplicationVetoException
This method is called before a "CREATE WORKITEM" for task request is executed.
Specified by:
Parameters:
task - The task for which a work item is to be created.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postCreateWorkItem

  1. public void postCreateWorkItem( Task task,
  2. int assignmentReason,
  3. java.lang.String id,
  4. TaskException taskException)
This method is called after a "CREATE WORKITEM" for task request was executed.
Specified by:
Parameters:
task - The task for which a work item was requested to be created.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
taskException - The TaskException that occurred or null if no exception occurred.

preDeleteTask

  1. public void preDeleteTask(Task task)
  2. throws ApplicationVetoException
This method is called before a "DELETE TASK" request is executed.
Specified by:
Parameters:
task - The task that is to be deleted.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postDeleteTask

  1. public void postDeleteTask(Task task,
  2. TaskException taskException)
This method is called after a "DELETE TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be deleted.
taskException - The TaskException that occurred or null if no exception occurred.

preDeleteWorkItem

  1. public void preDeleteWorkItem(Escalation escalation,
  2. int assignmentReason,
  3. java.lang.String id)
  4. throws ApplicationVetoException
This method is called before a "DELETE WORKITEM" of escalation request is executed.
Specified by:
Parameters:
escalation - The escalation for which a work item is to be deleted.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postDeleteWorkItem

  1. public void postDeleteWorkItem( Escalation escalation,
  2. int assignmentReason,
  3. java.lang.String id,
  4. TaskException taskException)
This method is called after a "DELETE WORKITEM" of escalation request was executed.
Specified by:
Parameters:
escalation - The escalation for which a work item was requested to be deleted.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
taskException - The TaskException that occurred or null if no exception occurred.

preDeleteWorkItem

  1. public void preDeleteWorkItem(Task task,
  2. int assignmentReason,
  3. java.lang.String id)
  4. throws ApplicationVetoException
This method is called before a "DELETE WORKITEM" of task request is executed.
Specified by:
Parameters:
task - The task for which a work item is to be deleted.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postDeleteWorkItem

  1. public void postDeleteWorkItem( Task task,
  2. int assignmentReason,
  3. java.lang.String id,
  4. TaskException taskException)
This method is called after a "DELETE WORKITEM" of task request was executed.
Specified by:
Parameters:
task - The task for which a work item was requested to be deleted.
assignmentReason - The reason why the work item is assigned.
id - The user or group that is to be associated.
taskException - The TaskException that occurred or null if no exception occurred.

preGetTaskAndMarkRead

  1. public void preGetTaskAndMarkRead( Task task)
  2. throws ApplicationVetoException
This method is called before a "GET TASK AND MARK READ" request is executed.
Specified by:
Parameters:
task - The task whose read property is to be set and returned.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postGetTaskAndMarkRead

  1. public void postGetTaskAndMarkRead( Task task,
  2. TaskException taskException)
This method is called after a "GET TASK AND MARK READ" request was executed.
Specified by:
Parameters:
task - The task whose read property was to be set and returned.
taskException - The TaskException that occurred or null if no exception occurred.

preReplaceWorkItem

  1. public void preReplaceWorkItem( Task task,
  2. int assignmentReason,
  3. java.lang.String staffQuery)
  4. throws ApplicationVetoException
This method is called before a "REPLACE WORKITEM" request is executed.
Specified by:
Parameters:
task - The task whose work item is to be replaced.
assignmentReason - The reason why the work item is assigned.
staffQuery - The staff query to replace the associated staff.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postReplaceWorkItem

  1. public void postReplaceWorkItem( Task task,
  2. int assignmentReason,
  3. java.lang.String staffQuery,
  4. TaskException taskException)
This method is called after a "REPLACE WORKITEM" request was executed.
Specified by:
Parameters:
task - The task whose work item was requested to be replaced.
assignmentReason - The reason why the work item is assigned.
staffQuery - The staff query to replace the associated staff. son
taskException - The TaskException that occurred or null if no exception occurred.

preRestartTask

  1. public void preRestartTask(Task task)
  2. throws ApplicationVetoException
This method is called before a "RESTART TASK" request is executed.
Specified by:
Parameters:
task - The task that is to be restarted.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postRestartTask

  1. public void postRestartTask(Task task,
  2. TaskException taskException)
This method is called after a "RESTART TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be restarted.
taskException - The TaskException that occurred or null if no exception occurred.

preResumeTask

  1. public void preResumeTask(Task task)
  2. throws ApplicationVetoException
This method is called before a "RESUME TASK" request is executed.
Specified by:
Parameters:
task - The task that is to be resumed.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postResumeTask

  1. public void postResumeTask(Task task,
  2. TaskException taskException)
This method is called after a "RESUME TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be resumed.
taskException - The TaskException that occurred or null if no exception occurred.

preSetBinaryCustomProperty

  1. public void preSetBinaryCustomProperty( Escalation escalation,
  2. BinaryCustomProperty property)
  3. throws ApplicationVetoException
This method is called before a "SET BINARY CUSTOM PROPERTY" for an escalation request is executed.
Specified by:
Parameters:
escalation - The escalation for which the custom property is to be set.
property - The binary custom property object.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSetBinaryCustomProperty

  1. public void postSetBinaryCustomProperty( Escalation escalation,
  2. BinaryCustomProperty property,
  3. TaskException taskException)
This method is called after a "SET BINARY CUSTOM PROPERTY" for an escalation request was executed.
Specified by:
Parameters:
escalation - The escalation for which the custom property was requested to be set.
property - The binary custom property object.
taskException - The TaskException that occurred or null if no exception occurred.

preSetBinaryCustomProperty

  1. public void preSetBinaryCustomProperty( Task task,
  2. BinaryCustomProperty property)
  3. throws ApplicationVetoException
This method is called before a "SET BINARY CUSTOM PROPERTY" for a task request is executed.
Specified by:
Parameters:
task - The task for which the custom property is to be set.
property - The binary custom property object.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSetBinaryCustomProperty

  1. public void postSetBinaryCustomProperty( Task task,
  2. BinaryCustomProperty property,
  3. TaskException taskException)
This method is called after a "SET BINARY CUSTOM PROPERTY" for a task request was executed.
Specified by:
Parameters:
task - The task for which the custom property was requested to be set.
property - The binary custom property object.
taskException - The TaskException that occurred or null if no exception occurred.

preSetBinaryCustomProperty

  1. public void preSetBinaryCustomProperty( Task task,
  2. java.lang.String propertyName,
  3. java.lang.String dataType,
  4. java.io.Serializable propertyValue)
  5. throws ApplicationVetoException
Deprecated. since v6.0.2 - use preSetBinaryCustomProperty(Task, BinaryCustomProperty)
This method is called before a "SET BINARY CUSTOM PROPERTY" request is executed.
Specified by:
Parameters:
task - The task for that the custom property is to be set.
propertyName - The property name.
dataType - The property data type.
propertyValue - The property value.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSetBinaryCustomProperty

  1. public void postSetBinaryCustomProperty( Task task,
  2. java.lang.String propertyName,
  3. java.lang.String dataType,
  4. java.io.Serializable propertyValue,
  5. TaskException taskException)
Deprecated. since v6.0.2 - use postSetBinaryCustomProperty(Task, BinaryCustomProperty)
This method is called after a "SET BINARY CUSTOM PROPERTY" request was executed.
Specified by:
Parameters:
task - The task for which the custom property was requested to be set.
propertyName - The property name.
dataType - The property data type.
propertyValue - The property value.
taskException - The TaskException that occurred or null if no exception occurred.

preSetCustomProperties

  1. public void preSetCustomProperties( Task task,
  2. java.util.List customProperties)
  3. throws ApplicationVetoException
This method is called before a "SET CUSTOM PROPERTIES" request is executed.
Specified by:
Parameters:
task - The task for which the custom properties are to be set.
customProperties - The list of custom properties.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postSetCustomProperties

  1. public void postSetCustomProperties( Task task,
  2. java.util.List customProperties,
  3. TaskException taskException)
This method is called after a "SET CUSTOM PROPERTIES" request was executed.
Specified by:
Parameters:
task - The task whose custom properties were requested to be set.
customProperties - The list of custom properties.
taskException - The TaskException that occurred or null if no exception occurred.

preSetCustomProperty

  1. public void preSetCustomProperty( Task task,
  2. java.lang.String propertyName,
  3. java.lang.String propertyValue)
  4. throws ApplicationVetoException
This method is called before a "SET CUSTOM PROPERTY" request is executed.
Specified by:
Parameters:
task - The task for which the custom property is to be set.
propertyName - The property name.
propertyValue - The property value.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSetCustomProperty

  1. public void postSetCustomProperty( Task task,
  2. java.lang.String propertyName,
  3. java.lang.String propertyValue,
  4. TaskException taskException)
This method is called after a "SET CUSTOM PROPERTY" request was executed.
Specified by:
Parameters:
task - The task for which the custom property was requested to be set.
propertyName - The property name.
propertyValue - The property value.
taskException - The TaskException that occurred or null if no exception occurred.

preSetFaultMessage

  1. public void preSetFaultMessage( Task task,
  2. java.lang.String faultName,
  3. java.io.Serializable faultMessage)
  4. throws ApplicationVetoException
This method is called before a "SET FAULT MESSAGE" request is executed.
Specified by:
Parameters:
task - The task for which the fault message is to be set.
faultName - The fault name.
faultMessage - The fault message.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSetFaultMessage

  1. public void postSetFaultMessage( Task task,
  2. java.lang.String faultName,
  3. java.io.Serializable faultMessage,
  4. TaskException taskException)
This method is called after a "SET FAULT MESSAGE" request was executed.
Specified by:
Parameters:
task - The task for which the fault message was requested to be set.
faultName - The fault name.
faultMessage - The fault message.
taskException - The TaskException that occurred or null if no exception occurred.

preSetInputMessage

  1. public void preSetInputMessage( Task task,
  2. java.io.Serializable inputMessage)
  3. throws ApplicationVetoException
This method is called before a "SET INPUT MESSAGE" request is executed.
Specified by:
Parameters:
task - The task whose input message is to be set.
inputMessage - The input message.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSetInputMessage

  1. public void postSetInputMessage( Task task,
  2. java.io.Serializable inputMessage,
  3. TaskException taskException)
This method is called after a "SET INPUT MESSAGE" request was executed.
Specified by:
Parameters:
task - The task whose input message was requested to be set.
inputMessage - The input message.
taskException - The TaskException that occurred or null if no exception occurred.

preSetOutputMessage

  1. public void preSetOutputMessage( Task task,
  2. java.io.Serializable outputMessage)
  3. throws ApplicationVetoException
This method is called before a "SET OUTPUT MESSAGE" request is executed.
Specified by:
Parameters:
task - The task for which the output message is to be set.
outputMessage - The output message.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSetOutputMessage

  1. public void postSetOutputMessage( Task task,
  2. java.io.Serializable outputMessage,
  3. TaskException taskException)
This method is called after a "SET OUTPUT MESSAGE" request was executed.
Specified by:
Parameters:
task - The task for which the output message was requested to be set.
outputMessage - The output message.
taskException - The TaskException that occurred or null if no exception occurred.

preSetTaskRead

  1. public void preSetTaskRead(Task task,
  2. boolean taskRead)
  3. throws ApplicationVetoException
This method is called before a "SET TASK READ" request is executed.
Specified by:
Parameters:
task - The task whose read property is to be set.
taskRead - The new value of the read flag.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postSetTaskRead

  1. public void postSetTaskRead(Task task,
  2. boolean taskRead,
  3. TaskException taskException)
This method is called after a "SET TASK READ" request was executed.
Specified by:
Parameters:
task - The task whose read property was to be set.
taskRead - The new value of the read flag.
taskException - The TaskException that occurred or null if no exception occurred.

preStartTask

  1. public void preStartTask(Task task,
  2. java.io.Serializable inputMessage,
  3. ReplyHandler replyHandler)
  4. throws ApplicationVetoException
This method is called before a "START TASK" request is executed.
Specified by:
Parameters:
task - The task to be started.
inputMessage - The optional input message - may be null.
replyHandler - An optional reply handler - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postStartTask

  1. public void postStartTask(Task task,
  2. java.io.Serializable inputMessage,
  3. ReplyHandler replyHandler,
  4. TaskException taskException)
This method is called after a "START TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be started.
inputMessage - the optional input message - may be null.
replyHandler - An optional reply handler - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preStartTaskAsSubTask

  1. public void preStartTaskAsSubTask( Task task,
  2. Task parentTask,
  3. java.io.Serializable inputMessage)
  4. throws ApplicationVetoException
This method is called before a "START TASK AS SUBTASK" request is executed.
Specified by:
Parameters:
task - The task to be started.
parentTask - The parent task.
inputMessage - The optional input message - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postStartTaskAsSubTask

  1. public void postStartTaskAsSubTask( Task task,
  2. Task parentTask,
  3. java.io.Serializable inputMessage,
  4. TaskException taskException)
This method is called after a "START TASK AS SUBTASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be started.
parentTask - The parent task.
inputMessage - The optional input message - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preSuspendTask

  1. public void preSuspendTask(Task task)
  2. throws ApplicationVetoException
This method is called before a "SUSPEND TASK" request is executed.
Specified by:
Parameters:
task - The task to be suspended.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSuspendTask

  1. public void postSuspendTask(Task task,
  2. TaskException taskException)
This method is called after a "SUSPEND TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be suspended.
taskException - The TaskException that occurred or null if no exception occurred.

preSuspendTaskUntil

  1. public void preSuspendTaskUntil( Task task,
  2. java.lang.String duration)
  3. throws ApplicationVetoException
This method is called before a "SUSPEND TASK UNTIL" request is executed.
Specified by:
Parameters:
task - The task to be suspended.
duration - The duration of the suspension.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSuspendTaskUntil

  1. public void postSuspendTaskUntil( Task task,
  2. java.lang.String duration,
  3. TaskException taskException)
This method is called after a "SUSPEND TASK UNTIL" request was executed.
Specified by:
Parameters:
task - The task that was requested to be suspended.
duration - The duration of the suspension.
taskException - The TaskException that occurred or null if no exception occurred.

preSuspendTaskUntil

  1. public void preSuspendTaskUntil( Task task,
  2. int duration)
  3. throws ApplicationVetoException
This method is called before a "SUSPEND TASK UNTIL" request is executed.
Specified by:
Parameters:
task - The task to be suspended.
duration - The duration of the suspension.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSuspendTaskUntil

  1. public void postSuspendTaskUntil( Task task,
  2. java.util.Calendar timeStamp,
  3. TaskException taskException)
This method is called after a "SUSPEND TASK UNTIL" request was executed.
Specified by:
Parameters:
task - The task that was requested to be suspended.
timeStamp - The time up to which the task is to be suspended.
taskException - The TaskException that occurred or null if no exception occurred.

preSuspendTaskUntil

  1. public void preSuspendTaskUntil( Task task,
  2. java.util.Calendar timeStamp)
  3. throws ApplicationVetoException
This method is called before a "SUSPEND TASK UNTIL" request is executed.
Specified by:
Parameters:
task - The task to be suspended.
timeStamp - The point in time until then the task is suspended
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSuspendTaskUntil

  1. public void postSuspendTaskUntil( Task task,
  2. int duration,
  3. TaskException taskException)
This method is called after a "SUSPEND TASK UNTIL" request was executed.
Specified by:
Parameters:
task - The task that was requested to be suspended.
duration - The duration of the suspension.
taskException - The TaskException that occurred or null if no exception occurred.

preSuspendTaskWithCancelClaim

  1. public void preSuspendTaskWithCancelClaim( Task task,
  2. java.lang.String duration)
  3. throws ApplicationVetoException
This method is called before a "SUSPEND TASK WITH CANCEL CLAIM" request is executed.
Specified by:
Parameters:
task - The task to be suspended.
duration - The duration of the suspension.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSuspendTaskWithCancelClaim

  1. public void postSuspendTaskWithCancelClaim( Task task,
  2. java.lang.String duration,
  3. TaskException taskException)
This method is called after a "SUSPEND TASK WITH CANCEL CLAIM" request was executed.
Specified by:
Parameters:
task - The task that was requested to be suspended.
duration - The duration of the suspension.
taskException - The TaskException that occurred or null if no exception occurred.

preSuspendTaskWithCancelClaim

  1. public void preSuspendTaskWithCancelClaim( Task task,
  2. int duration)
  3. throws ApplicationVetoException
This method is called before a "SUSPEND TASK WITH CANCEL CLAIM" request is executed.
Specified by:
Parameters:
task - The task to be suspended.
duration - The duration of the suspension.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSuspendTaskWithCancelClaim

  1. public void postSuspendTaskWithCancelClaim( Task task,
  2. int duration,
  3. TaskException taskException)
This method is called after a "SUSPEND TASK WITH CANCEL CLAIM" request was executed.
Specified by:
Parameters:
task - The task that was requested to be suspended.
duration - The duration of the suspension.
taskException - The TaskException that occurred or null if no exception occurred.

preSuspendTaskWithCancelClaim

  1. public void preSuspendTaskWithCancelClaim( Task task,
  2. java.util.Calendar timeStamp)
  3. throws ApplicationVetoException
This method is called before a "SUSPEND TASK WITH CANCEL CLAIM" request is executed.
Specified by:
Parameters:
task - The task to be suspended.
timeStamp - The point in time until then the task is suspended
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postSuspendTaskWithCancelClaim

  1. public void postSuspendTaskWithCancelClaim( Task task,
  2. java.util.Calendar timeStamp,
  3. TaskException taskException)
This method is called after a "SUSPEND TASK WITH CANCEL CLAIM" request was executed.
Specified by:
Parameters:
task - The task that was requested to be suspended.
timeStamp - The point in time until then the task is suspended
taskException - The TaskException that occurred or null if no exception occurred.

preTerminateTask

  1. public void preTerminateTask(Task task)
  2. throws ApplicationVetoException
This method is called before a "TERMINATE TASK" request is executed.
Specified by:
Parameters:
task - The task to be terminated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postTerminateTask

  1. public void postTerminateTask(Task task,
  2. TaskException taskException)
This method is called after a "TERMINATE TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be terminated.
taskException - The TaskException that occurred or null if no exception occurred.

preTransferToWorkBasket

  1. public void preTransferToWorkBasket( Task task,
  2. java.lang.String workBasketName,
  3. boolean preserveTransferState)
  4. throws ApplicationVetoException
This method is called before a "TRANSFER TO WORK BASKET" request is executed.
Specified by:
Parameters:
task - The task that is to be transferred to another work basket.
workBasketName - The target work basket where this task is to be transferred to.
preserveTransferState - The flag indicating if the transferredToWorkBasket property of the task should be changed as part of this transfer operation.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postTransferToWorkBasket

  1. public void postTransferToWorkBasket( Task task,
  2. java.lang.String workBasketName,
  3. boolean preserveTransferState,
  4. TaskException taskException)
This method is called after a "TRANSFER TO WORK BASKET" request was executed.
Specified by:
Parameters:
task - The task that was transferred to another work basket.
workBasketName - The target work basket where this task was transferred to.
preserveTransferState - The flag indicating if the transferredToWorkBasket property of the task should be changed as part of this transfer operation.
taskException - The TaskException that occurred or null if no exception occurred.

preTransferWorkItem

  1. public void preTransferWorkItem( Escalation escalation,
  2. int assignmentReason,
  3. java.lang.String fromUserId,
  4. java.lang.String toUserId)
  5. throws ApplicationVetoException
This method is called before a "TRANSFER WORKITEM" of an escalation request is executed.
Specified by:
Parameters:
escalation - The escalation whose work item is to be transferred.
assignmentReason - The reason why the work item is assigned.
fromUserId - The user who is the owner of the work item.
toUserId - The user that is to be associated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postTransferWorkItem

  1. public void postTransferWorkItem( Escalation escalation,
  2. int assignmentReason,
  3. java.lang.String fromUserId,
  4. java.lang.String toUserId,
  5. TaskException taskException)
This method is called after a "TRANSFER WORKITEM" of an escalation request was executed.
Specified by:
Parameters:
escalation - The escalation whose work item was requested to be transferred.
assignmentReason - The reason why the work item is assigned.
fromUserId - The user who is the owner of the work item.
toUserId - The user that is to be associated.
taskException - The TaskException that occurred or null if no exception occurred.

preTransferWorkItem

  1. public void preTransferWorkItem( Task task,
  2. int assignmentReason,
  3. java.lang.String fromUserId,
  4. java.lang.String toUserId)
  5. throws ApplicationVetoException
This method is called before a T"RANSFER WORKITEM" of a task request is executed.
Specified by:
Parameters:
task - The task whose work item is to be transferred.
assignmentReason - The reason why the work item is assigned.
fromUserId - The user who is the owner of the work item.
toUserId - The user that is to be associated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postTransferWorkItem

  1. public void postTransferWorkItem( Task task,
  2. int assignmentReason,
  3. java.lang.String fromUserId,
  4. java.lang.String toUserId,
  5. TaskException taskException)
This method is called after a "TRANSFER WORKITEM" of a task request was executed.
Specified by:
Parameters:
task - The task whose work item was requested to be transferred.
assignmentReason - The reason why the work item is assigned.
fromUserId - The user who is the owner of the work item.
toUserId - The user that is to be associated.
taskException - The TaskException that occurred or null if no exception occurred.

preTriggerEscalation

  1. public void preTriggerEscalation( Escalation escalation)
  2. throws ApplicationVetoException
This method is called before a "TRIGGER ESCALATION" request is executed.
Specified by:
Parameters:
escalation - The escalation that will be triggered.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postTriggerEscalation

  1. public void postTriggerEscalation( Escalation escalation,
  2. TaskException taskException)
This method is called after a "TRIGGER ESCALATION" request was executed.
Specified by:
Parameters:
escalation - The escalation that was triggered.
taskException - The TaskException that occurred or null if no exception occurred.

preUpdateTask

  1. public void preUpdateTask(Task task)
  2. throws ApplicationVetoException
This method is called before an "UPDATE TASK" request is executed.
Specified by:
Parameters:
task - The task to be updated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postUpdateTask

  1. public void postUpdateTask(Task task,
  2. TaskException taskException)
This method is called after an "UPDATE TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be updated.
taskException - The TaskException that occurred or null if no exception occurred.

preUpdateInactiveTask

  1. public void preUpdateInactiveTask( Task task,
  2. TaskModel model,
  3. java.io.Serializable inputMessage,
  4. ReplyHandler replyHandler)
  5. throws ApplicationVetoException
This method is called before a "UPDATE INACTIVE TASK" request is executed.
Specified by:
Parameters:
task - The task to be updated.
model - The task model to be used for the update.
inputMessage - The optional input message - may be null.
replyHandler - An optional reply handler - may be null.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postUpdateInactiveTask

  1. public void postUpdateInactiveTask( Task task,
  2. java.io.Serializable inputMessage,
  3. ReplyHandler replyHandler,
  4. TaskException taskException)
This method is called after a "UPDATE INACTIVE TASK" request was executed.
Specified by:
Parameters:
task - The task that was requested to be updated.
inputMessage - The input message - may be null.
replyHandler - An optional reply handler - may be null.
taskException - The TaskException that occurred or null if no exception occurred.

preUpdateEscalation

  1. public void preUpdateEscalation( Escalation escalation)
  2. throws ApplicationVetoException
This method is called before an "UPDATE ESCALATION" request is executed.
Specified by:
Parameters:
escalation - The escalation that will be updated.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted

postUpdateEscalation

  1. public void postUpdateEscalation( Escalation escalation,
  2. TaskException taskException)
This method is called after an "UPDATE ESCALATION" request was executed.
Specified by:
Parameters:
escalation - The escalation that was requested to be updated.
taskException - The TaskException that occurred or null if no exception occurred.

preSetInlineCustomProperty

  1. public void preSetInlineCustomProperty( Task task,
  2. InlineCustomProperty inlineCustomProperty)
  3. throws ApplicationVetoException
This method is called before a "SET INLINE CUSTOM PROPERTY" request is executed.
Specified by:
Parameters:
task - The task whose inline custom property is to be set.
inlineCustomProperty - The inline custom property to be set.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postSetInlineCustomProperty

  1. public void postSetInlineCustomProperty( Task task,
  2. InlineCustomProperty inlineCustomProperty,
  3. TaskException taskException)
This method is called after a "SET INLINE CUSTOM PROPERTY" request was executed.
Specified by:
Parameters:
task - The task whose inline custom property was to be set.
inlineCustomProperty - The inline custom property that was to be set.
taskException - The TaskException that occurred or null if no exception occurred.

preSetInlineCustomProperties

  1. public void preSetInlineCustomProperties( Task task,
  2. java.util.List inlineCustomProperties)
  3. throws ApplicationVetoException
This method is called before a "SET INLINE CUSTOM PROPERTIES" request is executed.
Specified by:
Parameters:
task - The task whose inline custom properties is to be set.
inlineCustomProperties - The list of inline custom properties to be set.
Throws:
ApplicationVetoException - if the subsequent execution is to be aborted.

postSetInlineCustomProperties

  1. public void postSetInlineCustomProperties( Task task,
  2. java.util.List inlineCustomProperties,
  3. TaskException taskException)
This method is called after a "SET INLINE CUSTOM PROPERTIES" request was executed.
Specified by:
Parameters:
task - The task whose inline custom properties was to be set.
inlineCustomProperties - The list of inline custom properties that was to be set.
taskException - The TaskException that occurred or null if no exception occurred.