Managing the HistoryCollector
The
HistoryCollector
managed object provides operations for managing the life-cycle and scrollable view of a collection.- DestroyCollector– AHistoryCollectorexists only for the current session. Invoke theDestroyCollectoroperation to explicitly destroy the collector before the session ends.
- ResetCollector– Adjusts the starting position for the subset of objects from the collector to the object immediately preceding the currentlatestPage.
- RewindCollector– Positions thelatestPageto the oldest item in the array. When aHistoryCollectoris created, this is the default location.
- SetCollectorPageSize– Accepts an integer parameter to set the size of thelatestPageproperty of aHistoryCollector. The default size of aHistoryCollectoris an array that consists of at most 1000 objects of the appropriate type (Task,Event). The array is sorted by creation date and time of the objects.