@AccessLevel(value=EXTERNAL)
public interface TaskHistoryAdmin
TaskHistory
entity stores details of the lifecycle events
that occur for a Task
. This API provides functions to
manipulate the data on the TaskHistory
and its functions should
be used rather than direct access to the functions present on the actual
entity.Modifier and Type | Method and Description |
---|---|
long |
create(long taskID,
curam.util.type.DateTime changeDateTime,
java.lang.String changeType,
java.lang.String comments,
java.lang.String newValue,
java.lang.String oldValue,
java.lang.String userName)
Creates a task history record for the specified task and for the specified
task history change type.
|
TaskHistoryInfo |
read(long taskHistoryID)
Returns the details of the specified task history record.
|
TaskHistoryInfoList |
searchByTaskIDOrderByChangeDateTimeFirst(long taskID)
Returns a list of all the task history records associated with the
specified task.
|
TaskHistoryInfoList |
searchByTaskIDOrderByChangeDateTimeLast(long taskID)
Returns a list of all the task history records associated with the
specified task.
|
long create(long taskID, curam.util.type.DateTime changeDateTime, java.lang.String changeType, java.lang.String comments, java.lang.String newValue, java.lang.String oldValue, java.lang.String userName) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskID
- The unique identifier of the task.changeDateTime
- The date and time that the task life cycle event
occurred.changeType
- The type of change associated with this task history
record.comments
- A comment on the change made to the task.newValue
- The new value of the task item being modifie .oldValue
- The old value of the task item being modified.userName
- The user making the change to the task.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.TaskHistoryInfo read(long taskHistoryID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskHistoryID
- The unique identifier of the task history record
whose details will be returned.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.TaskHistoryInfoList searchByTaskIDOrderByChangeDateTimeLast(long taskID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskID
- The unique identifier of the task whose task history details
will be returned.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.TaskHistoryInfoList searchByTaskIDOrderByChangeDateTimeFirst(long taskID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskID
- The unique identifier of the task whose task history details
will be returned.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.