Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wli.worklist.api
Interface WorklistScrollableResultManager

All Superinterfaces:
  WorklistManager

public interface WorklistScrollableResultManager
extends WorklistManager

This interface allows a specified range of results to be returned from Worklist queries. This improves scalability and performance for querying operations. The cursor will hold a specified range of results, and the cursor can be moved backward and forward to fetch the next or prior set of results.

Since:
  8.1.4
See Also:
  `TaskInfoCursor`

Method Summary
`TaskInfoCursor` | `getTaskInfoCursor(TaskSelector taskSelector, int resultSize)` Return a cursor with the specified size.
`TaskInfoCursor` | `moveCursorBackward(TaskInfoCursor taskInfoCursor)` Move the cursor backward.
`TaskInfoCursor` | `moveCursorForward(TaskInfoCursor taskInfoCursor)` Move the cursor forward to the next position.
`TaskInfoCursor` | `refreshCursor(TaskInfoCursor taskInfoCursor)` Refresh the data for the tasks in the cursor at the current position.

Methods inherited from interface com.bea.wli.worklist.api.WorklistManager
`abortTask, archiveTasks, assignToUser, assignToUserInGroup, assignToUsersAndGroups, claimTask, claimTask, completeTask, createTask, createTask, createTaskXML, deleteTask, deleteTasks, getContainingGroups, getSelectedTasksNumber, getTaskIds, getTaskInfo, getTaskInfos, getTaskProperties, getTaskPropertiesNames, getTaskProperty, getTaskRequest, getTaskRequestAsXmlObject, getTaskResponse, getTaskResponseAsXmlObject, getUsersInGroup, purgeTasks, removeTaskProperties, resumeTask, returnTask, setTaskCanBeAborted, setTaskCanBeReassigned, setTaskCanBeReturned, setTaskClaimDueBusinessDate, setTaskClaimDueDate, setTaskComment, setTaskCompletionDueBusinessDate, setTaskCompletionDueDate, setTaskOwner, setTaskPriority, setTaskProperties, setTaskProperty, setTaskRequest, setTaskRequestAsXmlObject, setTaskResponse, setTaskResponseAsXmlObject, startTask, stopTask, suspendTask`

Method Detail

### getTaskInfoCursor

    public TaskInfoCursor getTaskInfoCursor(TaskSelector taskSelector,
                                            int resultSize)
                                     throws ManagementException,
                                            RemoteException

  Return a cursor with the specified size. The max result size is 1000. The cursor is positioned before the first element when created.

  Parameters:
    `taskSelector` - the task selector
    `resultSize` - the size of the cursor
  Returns:
    TaskInfoCursor
  Throws:
    `ManagementException` - if the operation failed
    `RemoteException` - if the communication failed

### moveCursorForward

    public TaskInfoCursor moveCursorForward(TaskInfoCursor taskInfoCursor)
                                     throws ManagementException,
                                            RemoteException

  Move the cursor forward to the next position.

  Parameters:
    `taskInfoCursor` - the cursor
  Returns:
    TaskInfoCursor
  Throws:
    `ManagementException`
    `RemoteException`

### moveCursorBackward

    public TaskInfoCursor moveCursorBackward(TaskInfoCursor taskInfoCursor)
                                      throws ManagementException,
                                             RemoteException

  Move the cursor backward.

  Parameters:
    `taskInfoCursor` - the cursor
  Returns:
    TaskInfoCursor
  Throws:
    `ManagementException`
    `RemoteException`

### refreshCursor

    public TaskInfoCursor refreshCursor(TaskInfoCursor taskInfoCursor)
                                 throws ManagementException,
                                        RemoteException

  Refresh the data for the tasks in the cursor at the current position.

  Parameters:
    `taskInfoCursor` - the cursor
  Returns:
    TaskInfoCursor
  Throws:
    `ManagementException`
    `RemoteException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD