|
Oracle© Collaboration Suite Workspaces Web Services API Reference 10g Release 1 (10.1.2.2) Part No. B28209-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
TasksService provides methods to operate on Tasks within a workspace.
The major operations supported include : creation of a task in the workspace agenda ,updation of a task, retrieval of task(s), listing of all, expired and unexpired tasks in a workspace and deletion of tasks
| Method Summary | |
TaskResourceItem |
createTask(java.lang.String wspcId, TaskDefinition taskDef)Creates a to-do task in the workspace agenda and returns it |
void |
deleteTasks(java.lang.String wspcId, java.lang.String[] taskIds)Deletes tasks in the workspace agenda. |
TaskResourceItem[] |
getMyTasks(java.lang.String wspcId)Get all tasks that are assigned to the user. |
TaskResourceItem |
getTaskByUid(java.lang.String wspcId, java.lang.String taskId)Get a to-do task in the workspace agenda by its id. |
TaskResourceItem[] |
listAllCompletedTasks(java.lang.String wspcId, boolean bSort)Get all completed tasks in this workspace agenda. |
TaskResourceItem[] |
listAllIncompleteTasks(java.lang.String wspcId, boolean bSort)Get all incomplete tasks in this workspace agenda. |
TaskResourceItem[] |
listAllTasks(java.lang.String wspcId, boolean bSort)Get all tasks in this workspace agenda. |
TaskResourceItem[] |
listTasksByRange(java.lang.String wspcId, java.util.Calendar beginDate, java.util.Calendar endDate, boolean bSort)Get tasks in workspace agenda that occur within the time range specified. |
void |
updateTask(java.lang.String wspcId, TaskResourceItem taskResourceItem)Store the properties of the task |
| Method Detail |
public TaskResourceItem createTask(java.lang.String wspcId,
TaskDefinition taskDef)
throws CwWSException
wspcId - - Uid of the workspace in which the task should be createdtaskDef - - The definition for the new task to be createdCwWSException - - If objects passed are null or invalid
public void deleteTasks(java.lang.String wspcId,
java.lang.String[] taskIds)
throws CwWSException
wspcId - - Uid of the workspace in which the task should be deletedtaskIds - - Uids of the tasks to be deletedCwWSException - - If objects passed are null or invalid
public void updateTask(java.lang.String wspcId,
TaskResourceItem taskResourceItem)
throws CwWSException
wspcId - - Uid of the workspace the item belongs totaskResourceItem - - Task Resource Item to be updatedCwWSException - - If objects passed are null or invalid
public TaskResourceItem[] listTasksByRange(java.lang.String wspcId,
java.util.Calendar beginDate,
java.util.Calendar endDate,
boolean bSort)
throws CwWSException
wspcId - - Uid of the workspace the tasks belong tobeginDate - - Start date for the rangeendDate - - End date for the rangebSort - - Set this to true for results to be sorted in ascending order of starttimeCwWSException - - If objects passed are null or invalid
public TaskResourceItem[] getMyTasks(java.lang.String wspcId)
throws CwWSException
wspcId - - Uid of the workspace the tasks belong toCwWSException - - If objects passed are null or invalid
public TaskResourceItem getTaskByUid(java.lang.String wspcId,
java.lang.String taskId)
throws CwWSException
wspcId - - Uid of the workspace the task belongs totaskId - - Uid of the task that needs to be gotCwWSException - - If objects passed are null or invalid
public TaskResourceItem[] listAllCompletedTasks(java.lang.String wspcId,
boolean bSort)
throws CwWSException
wspcId - - Uid of the workspace the event belongs tobSort - - Set this to true for results to be sorted in ascending order of starttimeCwWSException - - If objects passed are null or invalid
public TaskResourceItem[] listAllIncompleteTasks(java.lang.String wspcId,
boolean bSort)
throws CwWSException
wspcId - - Uid of the workspace the tasks belong tobSort - - Set this to true for results to be sorted in ascending order of starttimeCwWSException
public TaskResourceItem[] listAllTasks(java.lang.String wspcId,
boolean bSort)
throws CwWSException
wspcId - - Uid of the workspace the tasks belong tobSort - - Set this to true for results to be sorted in ascending order of starttimeCwWSException - - If objects passed are null or invalid
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||