|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WorklistTaskQuery
Functions for querying lists of worklist tasks
| Method Summary | |
|---|---|
int |
getTaskCount(TaskQuery query)
Get an integer count of tasks matching the criteria in taskQuery. |
TaskDataCursor |
getTaskDataCursor(TaskQuery query,
int resultSize)
Return a cursor with the specified size. |
TaskDataCursor |
getTaskDataCursorWithAffinity(TaskQuery query,
int resultSize)
Return a cursor with the specified size, granting access based on the current user's affinity to the queried tasks. |
String[] |
getTaskIds(TaskQuery query)
Get a String array of taskIds of all the queried tasks |
String[] |
getTaskIdsWithAffinity(TaskQuery query)
Get a String array of taskIds of all the queried tasks, granting access based on the current user's affinity to the queried tasks. |
TaskData[] |
getTasks(TaskQuery query)
Get a task data array of all the queried tasks. |
TaskData[] |
getTasksWithAffinity(TaskQuery query)
Get a task data array of all the queried tasks, granting access based on the current user's affinity to the queried tasks. |
TaskDataCursor |
moveCursorBackward(TaskDataCursor taskDataCursor)
Move the cursor backward. |
TaskDataCursor |
moveCursorForward(TaskDataCursor taskDataCursor)
Move the cursor forward to the next position. |
TaskDataCursor |
refreshCursor(TaskDataCursor taskDataCursor)
Refresh the cursor at the current position. |
TaskDataCursor |
resetCursor(TaskDataCursor taskDataCursor)
Reset the cursor to a position before the first task such that isBeforeFirst() returns true. |
| Method Detail |
|---|
String[] getTaskIds(TaskQuery query)
throws ManagementException,
RemoteException
query -
ManagementException
RemoteException
TaskData[] getTasks(TaskQuery query)
throws ManagementException,
RemoteException
query -
ManagementException
RemoteException
TaskDataCursor getTaskDataCursor(TaskQuery query,
int resultSize)
throws ManagementException,
RemoteException
query - the task queryresultSize - the size of the cursor
ManagementException - if the operation failed
RemoteException
int getTaskCount(TaskQuery query)
throws ManagementException,
RemoteException
query - The task query
ManagementException - if the operation fails
RemoteException
String[] getTaskIdsWithAffinity(TaskQuery query)
throws ManagementException,
RemoteException
query - the task query
ManagementException - If any error occurs querying tasks.
RemoteException
TaskData[] getTasksWithAffinity(TaskQuery query)
throws ManagementException,
RemoteException
query - the task query
ManagementException - If any error occurs querying tasks.
RemoteException
TaskDataCursor getTaskDataCursorWithAffinity(TaskQuery query,
int resultSize)
throws ManagementException,
RemoteException
query - the task queryresultSize - the size of the cursor
ManagementException - if the operation failed
RemoteException
TaskDataCursor moveCursorForward(TaskDataCursor taskDataCursor)
throws ManagementException,
RemoteException
taskDataCursor - the current cursor
ManagementException
RemoteException
TaskDataCursor moveCursorBackward(TaskDataCursor taskDataCursor)
throws ManagementException,
RemoteException
taskDataCursor - The current cursor
ManagementException
RemoteException
TaskDataCursor refreshCursor(TaskDataCursor taskDataCursor)
throws ManagementException,
RemoteException
taskDataCursor - The current cursor.
ManagementException
RemoteException
TaskDataCursor resetCursor(TaskDataCursor taskDataCursor)
throws ManagementException,
RemoteException
taskDataCursor -
ManagementException
RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||