com.bea.wli.worklist.api
Interface TaskHistory


public interface TaskHistory

Represents the historical information for a task instance. TaskHistory may be used to see all events that have occurred for a task, or to get a replica of the TaskData for the task at a given point in the past.


Method Summary
 TaskData getTaskAtDate(Date date)
          Reconstruct the state of a task on a given date.
 TaskEventIterator getTaskEvents(Date startDate, Date endDate)
          Get an iterator over all events that have occurred for this task from the startDate to the endDate (inclusive).
 

Method Detail

getTaskEvents

TaskEventIterator getTaskEvents(Date startDate,
                                Date endDate)
                                throws RemoteException,
                                       ManagementException
Get an iterator over all events that have occurred for this task from the startDate to the endDate (inclusive).

Throws:
RemoteException
ManagementException

getTaskAtDate

TaskData getTaskAtDate(Date date)
                       throws NotSupportedException,
                              ManagementException,
                              RemoteException
Reconstruct the state of a task on a given date. The provider should use its history information up to the given date in constructing the returned TaskData. If providers do not support this they should throw NotSupportedException.

Throws:
NotSupportedException
ManagementException
RemoteException