mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
2.2 KiB
2.2 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Task Header Cloud Service | v3.0.0 | Experimental | 2019-01-18 |
Task Header Cloud Service
Manages cloud tasks.
Class members
Methods
- claimTask(appName:
string
, taskId:string
, assignee:string
):any
Claims a task for an assignee.- appName:
string
- Name of the app - taskId:
string
- ID of the task to claim - assignee:
string
- User to assign the task to - Returns
any
- Details of the claimed task
- appName:
- getTaskById(appName:
string
, taskId:string
):Observable
<
TaskDetailsCloudModel
>
Gets details of a task.- appName:
string
- Name of the app - taskId:
string
- ID of the task whose details you want - Returns
Observable
<
TaskDetailsCloudModel
>
- Task details
- appName:
- unclaimTask(appName:
string
, taskId:string
):any
Un-claims a task.- appName:
string
- Name of the app - taskId:
string
- ID of the task to unclaim - Returns
any
- Details of the task that was unclaimed
- appName:
- updateTask(appName:
string
, taskId:string
, updatePayload:any
):any
Updates the details (name, description, due date) for a task.- appName:
string
- Name of the app - taskId:
string
- ID of the task to update - updatePayload:
any
- Data to update the task - Returns
any
- Updated task details
- appName:
Details
The methods work in much the same way as the equivalent methods in the Tasklist service but they use the cloud variants of the classes for return values. See the Tasklist service page for usage examples.