Class TasksRestEntityResource
- java.lang.Object
-
- org.alfresco.rest.workflow.api.tasks.TasksRestEntityResource
-
- All Implemented Interfaces:
EntityResourceAction.Read<Task>
,EntityResourceAction.ReadById<Task>
,EntityResourceAction.Update<Task>
,ResourceAction
@EntityResource(name="tasks", title="Tasks") public class TasksRestEntityResource extends java.lang.Object implements EntityResourceAction.Read<Task>, EntityResourceAction.ReadById<Task>, EntityResourceAction.Update<Task>
-
-
Constructor Summary
Constructors Constructor Description TasksRestEntityResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionWithPagingInfo<Task>
readAll(Parameters params)
Reads all the entries from the collection.Task
readById(java.lang.String id, Parameters parameters)
void
setTasks(Tasks tasks)
Task
update(java.lang.String id, Task entity, Parameters parameters)
-
-
-
Method Detail
-
setTasks
public void setTasks(Tasks tasks)
-
readAll
public CollectionWithPagingInfo<Task> readAll(Parameters params)
Description copied from interface:EntityResourceAction.Read
Reads all the entries from the collection. Paging information is provided.- Specified by:
readAll
in interfaceEntityResourceAction.Read<Task>
- Parameters:
params
- - will never be null and will have the PAGING default values
-
readById
public Task readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Task>
- Throws:
EntityNotFoundException
-
update
public Task update(java.lang.String id, Task entity, Parameters parameters)
- Specified by:
update
in interfaceEntityResourceAction.Update<Task>
-
-