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.void
setProcessDefinitions
(ProcessDefinitions processDefinitions)
-
Constructor Details
-
ProcessDefinitionsRestEntityResource
public ProcessDefinitionsRestEntityResource()
-
-
Method Details
-
setProcessDefinitions
-
readAll
Description copied from interface:EntityResourceAction.Read
Reads all the entries from the collection. Paging information is provided.- Specified by:
readAll
in interfaceEntityResourceAction.Read<ProcessDefinition>
- Parameters:
params
- - will never be null and will have the PAGING default values
-
readById
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<ProcessDefinition>
- Throws:
EntityNotFoundException
-
readProperty
Description copied from interface:BinaryResourceAction.Read
Retrieves a binary property by returning a BinaryResource object. The specific property is specified in theParameters
object. SeeParameters.hasBinaryProperty(String)
orParameters.getBinaryProperty()
- Specified by:
readProperty
in interfaceBinaryResourceAction.Read
- Parameters:
id
- unique idparameters
-Parameters
- Returns:
- BinaryResource - Either
FileBinaryResource
orNodeBinaryResource
- Throws:
EntityNotFoundException
-