@RelationshipResource(name="variables", entityResource=TasksRestEntityResource.class, title="Variables for the current task") public class TaskVariablesRelation extends java.lang.Object implements RelationshipResourceAction.Read, RelationshipResourceAction.Create, RelationshipResourceAction.Update, RelationshipResourceAction.Delete
Constructor and Description |
---|
TaskVariablesRelation() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
create(java.lang.String taskId,
java.util.List variables,
Parameters parameters)
Creates or updates multiple task variables.
|
void |
delete(java.lang.String entityResourceId,
java.lang.String id,
Parameters parameters)
Delete a task variable.
|
CollectionWithPagingInfo |
readAll(java.lang.String taskId,
Parameters parameters)
List the tasks variables.
|
void |
setTasks(Tasks tasks) |
TaskVariable |
update(java.lang.String taskId,
TaskVariable entity,
Parameters parameters)
Update a task variable.
|
public void setTasks(Tasks tasks)
public CollectionWithPagingInfo readAll(java.lang.String taskId, Parameters parameters)
readAll
in interface RelationshipResourceAction.Read
taskId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default valuesRelationshipResourceAction.Read.readAll(java.lang.String, org.alfresco.rest.framework.resource.parameters.Parameters)
public java.util.List create(java.lang.String taskId, java.util.List variables, Parameters parameters)
create
in interface RelationshipResourceAction.Create
public TaskVariable update(java.lang.String taskId, TaskVariable entity, Parameters parameters)
update
in interface RelationshipResourceAction.Update
public void delete(java.lang.String entityResourceId, java.lang.String id, Parameters parameters)
delete
in interface RelationshipResourceAction.Delete
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.