@AccessLevel(value=EXTERNAL)
public interface TaskManagement
Modifier and Type | Method and Description |
---|---|
void |
addComment(curam.core.facade.struct.AddTaskCommentDetails addTaskCommentDetails)
Adds a comment to a task by inserting a record into the task history
table.
|
void |
close(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Closes the task by raising the TASK.CLOSED event.
|
void |
create(curam.core.facade.struct.TaskCreateDetails createTaskDetails)
Creates a new task by enacting a workflow process.
|
void |
defer(curam.core.facade.struct.DeferTaskDetails deferTaskDetails)
Defers a task until a later date.
|
void |
forward(curam.core.facade.struct.TaskForwardDetails forwardTaskDetails)
Forwards a task to a job, position, organization unit, user, work queue or
allocation target.
|
curam.core.facade.struct.TaskContextPanelDetails |
getTaskContextPanelDetails(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns the details for the context panel for a specified task.
|
void |
modifyDeadline(curam.core.facade.struct.TaskDeadlineDetails taskDeadlineDetails)
Modifies the deadline of the specified task.
|
void |
modifyPriority(curam.core.facade.struct.TaskPriorityDetails taskPriorityDetails)
Modifies the priority of the specified task.
|
void |
modifyTimeWorked(curam.core.facade.struct.ModifyTimeWorkedDetails modifyTimeWorkedDetails)
Modifies the total time worked on the specified task.
|
curam.core.facade.struct.TaskManagementContextDescription |
readContextDescription(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns the context description for the specified task.
|
curam.core.facade.struct.TaskDeadlineDetails |
readDeadlineDetails(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns the deadline details of a task.
|
curam.core.facade.struct.TaskPriorityDetails |
readPriorityDetails(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns the priority details of a task.
|
curam.core.sl.struct.TaskVersionNoDetails |
readTaskVersionNo(curam.core.sl.struct.TaskManagementTaskKey taskKey)
Returns the optimistic locking version number details for the specified
task.
|
curam.core.facade.struct.TaskTimeWorkedDetails |
readTimeWorked(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns the amount of time worked on a specified task represented as a
date time.
|
void |
reallocate(curam.core.facade.struct.ReallocateTaskDetails reallocateTaskDetails)
Reallocates a task.
|
void |
reserve(curam.core.facade.struct.ReserveTaskDetails reserveTaskDetails)
Adds the task to the user's My Tasks list.
|
void |
reserveMultipleTasks(curam.core.facade.struct.MultipleTaskDetails taskList)
Adds the specified tasks to the user's My Tasks list.
|
void |
restart(curam.core.facade.struct.RestartTaskDetails taskRestartDetails)
Restarts a task that had been previously deferred.
|
void |
unreserve(curam.core.facade.struct.UnreserveTaskDetails unreserveTaskDetails)
Makes a task available.
|
curam.core.facade.struct.TaskAssignmentDetails1 |
viewAssignmentList1(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns a list of all the assignments for the specified task.
|
curam.core.sl.struct.TaskAssigneeDetailsList |
viewAssignmentsForTask(curam.core.sl.struct.TaskManagementTaskKey taskKey)
Returns a list of all the assignment details for the specified task
including the name of the object that task is assigned to and also the
type of that object (i.e. user, work queue, organization unit, position or
job).
|
curam.core.sl.struct.TaskHistoryInformationDetailsList |
viewHistoryForTaskList(curam.core.sl.struct.TaskManagementTaskKey taskKey)
Returns a list of all the task history records associated with the
specified task.
|
curam.core.facade.struct.ListHistoryForTaskDetails |
viewHistoryList(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns a list of all the task history records associated with the
specified task.
|
curam.core.facade.struct.TaskHistoryTextDetails |
viewHistoryText(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns a list of the unformatted task history records for the specified
task.
|
curam.core.sl.struct.TaskHistoryInformationDetails |
viewTaskHistoryDetails(curam.core.sl.struct.TaskHistoryKey key)
Returns the details of one task history life cycle event.
|
curam.core.facade.struct.ViewTaskDetails |
viewTaskHome(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns the full details of the specified task including the task subject
and also the task deadline date time.
|
curam.core.facade.pdt.struct.WorkflowGraphDetails |
visualiseProcessInstanceForTask(curam.core.facade.struct.TaskManagementTaskKey taskKey)
Returns the XML representing the graph of the process instance associated
with the specified task.
|
void create(curam.core.facade.struct.TaskCreateDetails createTaskDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
participantRoleID
and caseID
input fields have not been specified, then the MANUAL
workflow process is enacted.participantRoleID
input field has been populated
and the caseID
input field has not, then the
MANUALPARTICIPANT
workflow process is enacted.participantRoleID
input field has not been
populated and the caseID
input field has been populated, then
the MANUALCASE
workflow process is enacted.MANUALPARTICIPANTCASE
.An exception is thrown under the following circumstances:
addToMyTasksInd
field nor the
assignedTo
field are set.addToMyTasksInd
and assignedTo
fields are set.addToMyTasksInd
field has been set and the
specified user has an active task redirection or allocation blocking
period specified for them.createTaskDetails
- The details of the task to create.curam.util.exception.AppException
curam.util.exception.InformationalException
void close(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown in the following circumstances:
taskKey
- The identifier of the task to be closed.curam.util.exception.AppException
curam.util.exception.InformationalException
void modifyTimeWorked(curam.core.facade.struct.ModifyTimeWorkedDetails modifyTimeWorkedDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
totalTimeWorked
argument). The hours and minutes of this
date time are extracted from the specified date time and converted to
seconds. The time worked on for the task is thus stored in seconds.
A task history record is created containing the details of the modification.
An exception is thrown under the following circumstances:
modifyTimeWorkedDetails
- The details to modify the time worked for
the specified task.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ListHistoryForTaskDetails viewHistoryList(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task whose task history
details will be returned.curam.util.exception.AppException
curam.util.exception.InformationalException
void defer(curam.core.facade.struct.DeferTaskDetails deferTaskDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
deferTaskDetails
- details of the task to be deferred.curam.util.exception.AppException
curam.util.exception.InformationalException
void restart(curam.core.facade.struct.RestartTaskDetails taskRestartDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
A task history record is written recording the details of the action.
An exception is thrown under the following circumstances:
taskRestartDetails
- The details of the task to be restarted.curam.util.exception.AppException
curam.util.exception.InformationalException
void addComment(curam.core.facade.struct.AddTaskCommentDetails addTaskCommentDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
addTaskCommentDetails
- The comment details to be added to the
specified task.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ViewTaskDetails viewTaskHome(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of a task.curam.util.exception.AppException
curam.util.exception.InformationalException
void reserve(curam.core.facade.struct.ReserveTaskDetails reserveTaskDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
reserveTaskDetails
- The details of the task to be reserved.curam.util.exception.AppException
curam.util.exception.InformationalException
void unreserve(curam.core.facade.struct.UnreserveTaskDetails unreserveTaskDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
A task history record is created for the action.
An exception is thrown under the following circumstances:
unreserveTaskDetails
- The details of the task to be unreserved.curam.util.exception.AppException
curam.util.exception.InformationalException
void forward(curam.core.facade.struct.TaskForwardDetails forwardTaskDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
forwardTaskDetails
- The details of the task to be forwarded.curam.util.exception.AppException
curam.util.exception.InformationalException
void reallocate(curam.core.facade.struct.ReallocateTaskDetails reallocateTaskDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
reallocateTaskDetails
- details of the task to be reallocated.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.TaskManagementContextDescription readContextDescription(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.TaskHistoryTextDetails viewHistoryText(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task whose history records
will be returned.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.pdt.struct.WorkflowGraphDetails visualiseProcessInstanceForTask(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task whose graphical
representation will be returned.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.TaskTimeWorkedDetails readTimeWorked(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.TaskAssignmentDetails1 viewAssignmentList1(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.TaskAssigneeDetailsList viewAssignmentsForTask(curam.core.sl.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task.curam.util.exception.AppException
curam.util.exception.InformationalException
void reserveMultipleTasks(curam.core.facade.struct.MultipleTaskDetails taskList) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
taskList
- A tabbed delimited string of task ID and version number
pairs to be reserved. The task ID is separated from the version number by
the pipe character, while each task ID and version number pair is
separated by a tab character e.g. TaskID|VersionNo TaskID|VersionNo
TaskID|VersionNo.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.TaskVersionNoDetails readTaskVersionNo(curam.core.sl.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.TaskPriorityDetails readPriorityDetails(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The identifier of a task whose priority details will be
returned.curam.util.exception.AppException
curam.util.exception.InformationalException
void modifyPriority(curam.core.facade.struct.TaskPriorityDetails taskPriorityDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
Exceptions are thrown under the following circumstances.
taskPriorityDetails
- The task priority details to be updated.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.TaskDeadlineDetails readDeadlineDetails(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The identifier of a task whose deadline details will be
returned.curam.util.exception.AppException
curam.util.exception.InformationalException
void modifyDeadline(curam.core.facade.struct.TaskDeadlineDetails taskDeadlineDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
taskDeadlineDetails
- The details of the task and associated deadline
to modify.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.TaskContextPanelDetails getTaskContextPanelDetails(curam.core.facade.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The identifier of the task.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.TaskHistoryInformationDetails viewTaskHistoryDetails(curam.core.sl.struct.TaskHistoryKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- The task history identifier.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.TaskHistoryInformationDetailsList viewHistoryForTaskList(curam.core.sl.struct.TaskManagementTaskKey taskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskKey
- The unique identifier of the task whose task history
details will be returned.curam.util.exception.AppException
curam.util.exception.InformationalException