Class ProcessTasksRelation
- java.lang.Object
-
- org.alfresco.rest.workflow.api.processes.ProcessTasksRelation
-
- All Implemented Interfaces:
RelationshipResourceAction.Read<Task>
,ResourceAction
@RelationshipResource(name="tasks", entityResource=ProcessesRestEntityResource.class, title="Tasks for the current process") public class ProcessTasksRelation extends Object implements RelationshipResourceAction.Read<Task>
- Author:
- Tijs Rademakers
-
-
Constructor Summary
Constructors Constructor Description ProcessTasksRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionWithPagingInfo<Task>
readAll(String processId, Parameters parameters)
List the tasks.void
setTasks(Tasks tasks)
-
-
-
Field Detail
-
tasks
protected Tasks tasks
-
-
Method Detail
-
setTasks
public void setTasks(Tasks tasks)
-
readAll
public CollectionWithPagingInfo<Task> readAll(String processId, Parameters parameters)
List the tasks.- Specified by:
readAll
in interfaceRelationshipResourceAction.Read<Task>
- Parameters:
processId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default values
-
-