@RelationshipResource(name="variables", entityResource=ProcessesRestEntityResource.class, title="Variables for the current process") public class ProcessVariablesRelation extends Object implements RelationshipResourceAction.Read<Variable>, RelationshipResourceAction.Create<Variable>, RelationshipResourceAction.Update<Variable>, RelationshipResourceAction.Delete
Constructor and Description |
---|
ProcessVariablesRelation() |
Modifier and Type | Method and Description |
---|---|
List<Variable> |
create(String processId,
List<Variable> variables,
Parameters parameters)
Creates or updates multiple variables.
|
void |
delete(String processId,
String id,
Parameters parameters)
Delete a variable.
|
CollectionWithPagingInfo<Variable> |
readAll(String processId,
Parameters parameters)
List the variables.
|
void |
setProcesses(Processes processes) |
Variable |
update(String processId,
Variable entity,
Parameters parameters)
Update a variable.
|
protected Processes processes
public void setProcesses(Processes processes)
public CollectionWithPagingInfo<Variable> readAll(String processId, Parameters parameters)
readAll
in interface RelationshipResourceAction.Read<Variable>
processId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default valuespublic List<Variable> create(String processId, List<Variable> variables, Parameters parameters)
create
in interface RelationshipResourceAction.Create<Variable>
public Variable update(String processId, Variable entity, Parameters parameters)
update
in interface RelationshipResourceAction.Update<Variable>
public void delete(String processId, String id, Parameters parameters)
delete
in interface RelationshipResourceAction.Delete
Copyright © 2005–2017 Alfresco Software. All rights reserved.