WorklistScrollableResultManager Interface
- 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.
Related Topics
TaskInfoCursor
-
All Superinterfaces
-
WorklistManager
Methods 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 |
getTaskInfoCursor(TaskSelector, int) Method
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
Exceptions
-
ManagementException
- if the operation failed
-
RemoteException
- if the communication failed
moveCursorBackward(TaskInfoCursor) Method
public TaskInfoCursor moveCursorBackward(TaskInfoCursor taskInfoCursor)
throws ManagementException, RemoteException
Move the cursor backward.
Parameters
-
taskInfoCursor
- the cursor
Returns
- TaskInfoCursor
Exceptions
-
ManagementException
-
RemoteException
moveCursorForward(TaskInfoCursor) Method
public TaskInfoCursor moveCursorForward(TaskInfoCursor taskInfoCursor)
throws ManagementException, RemoteException
Move the cursor forward to the next position.
Parameters
-
taskInfoCursor
- the cursor
Returns
- TaskInfoCursor
Exceptions
-
ManagementException
-
RemoteException
refreshCursor(TaskInfoCursor) Method
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
Exceptions
-
ManagementException
-
RemoteException