@EntityResource(name="process-definitions", title="Process definitions") public class ProcessDefinitionsRestEntityResource extends java.lang.Object implements EntityResourceAction.Read, EntityResourceAction.ReadById, BinaryResourceAction.Read
| Constructor and Description |
|---|
ProcessDefinitionsRestEntityResource() |
| Modifier and Type | Method and Description |
|---|---|
CollectionWithPagingInfo |
readAll(Parameters params)
Reads all the entries from the collection.
|
ProcessDefinition |
readById(java.lang.String id,
Parameters parameters) |
BinaryResource |
readProperty(java.lang.String id,
Parameters parameters)
Retrieves a binary property by returning a BinaryResource object.
|
void |
setProcessDefinitions(ProcessDefinitions processDefinitions) |
public ProcessDefinitionsRestEntityResource()
public void setProcessDefinitions(ProcessDefinitions processDefinitions)
public CollectionWithPagingInfo readAll(Parameters params)
EntityResourceAction.ReadreadAll in interface EntityResourceAction.Readparams - - will never be null and will have the PAGING default valuespublic ProcessDefinition readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
readById in interface EntityResourceAction.ReadByIdEntityNotFoundExceptionpublic BinaryResource readProperty(java.lang.String id, Parameters parameters) throws EntityNotFoundException
BinaryResourceAction.ReadParameters object.
See Parameters.hasBinaryProperty(String) or Parameters.getBinaryProperty()readProperty in interface BinaryResourceAction.Readid - unique idparameters - ParametersFileBinaryResource or NodeBinaryResourceEntityNotFoundExceptionCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.