Class ProcessesRestEntityResource
- java.lang.Object
-
- org.alfresco.rest.workflow.api.processes.ProcessesRestEntityResource
-
- All Implemented Interfaces:
BinaryResourceAction.Read,EntityResourceAction.Create<ProcessInfo>,EntityResourceAction.Delete,EntityResourceAction.Read<ProcessInfo>,EntityResourceAction.ReadById<ProcessInfo>,ResourceAction
@EntityResource(name="processes", title="Processes") public class ProcessesRestEntityResource extends java.lang.Object implements EntityResourceAction.Read<ProcessInfo>, EntityResourceAction.ReadById<ProcessInfo>, EntityResourceAction.Create<ProcessInfo>, EntityResourceAction.Delete, BinaryResourceAction.Read
-
-
Constructor Summary
Constructors Constructor Description ProcessesRestEntityResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ProcessInfo>create(java.util.List<ProcessInfo> entity, Parameters parameters)voiddelete(java.lang.String id, Parameters parameters)CollectionWithPagingInfo<ProcessInfo>readAll(Parameters params)Reads all the entries from the collection.ProcessInforeadById(java.lang.String id, Parameters parameters)BinaryResourcereadProperty(java.lang.String entityId, Parameters parameters)Retrieves a binary property by returning a BinaryResource object.voidsetProcesses(Processes processes)
-
-
-
Method Detail
-
setProcesses
public void setProcesses(Processes processes)
-
create
public java.util.List<ProcessInfo> create(java.util.List<ProcessInfo> entity, Parameters parameters)
- Specified by:
createin interfaceEntityResourceAction.Create<ProcessInfo>
-
readAll
public CollectionWithPagingInfo<ProcessInfo> readAll(Parameters params)
Description copied from interface:EntityResourceAction.ReadReads all the entries from the collection. Paging information is provided.- Specified by:
readAllin interfaceEntityResourceAction.Read<ProcessInfo>- Parameters:
params- - will never be null and will have the PAGING default values
-
readProperty
public BinaryResource readProperty(java.lang.String entityId, Parameters parameters) throws EntityNotFoundException
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:
entityId- unique idparameters-Parameters- Returns:
- BinaryResource - Either
FileBinaryResourceorNodeBinaryResource - Throws:
EntityNotFoundException
-
readById
public ProcessInfo readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
- Specified by:
readByIdin interfaceEntityResourceAction.ReadById<ProcessInfo>- Throws:
EntityNotFoundException
-
delete
public void delete(java.lang.String id, Parameters parameters)- Specified by:
deletein interfaceEntityResourceAction.Delete
-
-