Class ProcessDefinitionsRestEntityResource
java.lang.Object
org.alfresco.rest.workflow.api.processdefinitions.ProcessDefinitionsRestEntityResource
- All Implemented Interfaces:
BinaryResourceAction.Read,EntityResourceAction.Read<ProcessDefinition>,EntityResourceAction.ReadById<ProcessDefinition>,ResourceAction
@EntityResource(name="process-definitions",
title="Process definitions")
public class ProcessDefinitionsRestEntityResource
extends Object
implements EntityResourceAction.Read<ProcessDefinition>, EntityResourceAction.ReadById<ProcessDefinition>, BinaryResourceAction.Read
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadAll(Parameters params) Reads all the entries from the collection.readById(String id, Parameters parameters) readProperty(String id, Parameters parameters) Retrieves a binary property by returning a BinaryResource object.voidsetProcessDefinitions(ProcessDefinitions processDefinitions)
-
Constructor Details
-
ProcessDefinitionsRestEntityResource
public ProcessDefinitionsRestEntityResource()
-
-
Method Details
-
setProcessDefinitions
-
readAll
Description copied from interface:EntityResourceAction.ReadReads all the entries from the collection. Paging information is provided.- Specified by:
readAllin interfaceEntityResourceAction.Read<ProcessDefinition>- Parameters:
params- - will never be null and will have the PAGING default values
-
readById
- Specified by:
readByIdin interfaceEntityResourceAction.ReadById<ProcessDefinition>- Throws:
EntityNotFoundException
-
readProperty
Description copied from interface:BinaryResourceAction.ReadRetrieves a binary property by returning a BinaryResource object. The specific property is specified in theParametersobject. SeeParameters.hasBinaryProperty(String)orParameters.getBinaryProperty()- Specified by:
readPropertyin interfaceBinaryResourceAction.Read- Parameters:
id- unique idparameters-Parameters- Returns:
- BinaryResource - Either
FileBinaryResourceorNodeBinaryResource - Throws:
EntityNotFoundException
-