Class TaskCandidatesRelation
- java.lang.Object
-
- org.alfresco.rest.workflow.api.tasks.TaskCandidatesRelation
-
- All Implemented Interfaces:
RelationshipResourceAction.Read<TaskCandidate>
,ResourceAction
@RelationshipResource(name="candidates", entityResource=TasksRestEntityResource.class, title="Candidates for the current task") public class TaskCandidatesRelation extends Object implements RelationshipResourceAction.Read<TaskCandidate>
- Author:
- Tijs Rademakers
-
-
Constructor Summary
Constructors Constructor Description TaskCandidatesRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionWithPagingInfo<TaskCandidate>
readAll(String taskId, Parameters parameters)
List the tasks candidate users and groups.void
setTasks(Tasks tasks)
-
-
-
Method Detail
-
setTasks
public void setTasks(Tasks tasks)
-
readAll
public CollectionWithPagingInfo<TaskCandidate> readAll(String taskId, Parameters parameters)
List the tasks candidate users and groups.- Specified by:
readAll
in interfaceRelationshipResourceAction.Read<TaskCandidate>
- Parameters:
taskId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default values- See Also:
RelationshipResourceAction.Read.readAll(java.lang.String, org.alfresco.rest.framework.resource.parameters.Parameters)
-
-