@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.Read
readAll
in interface EntityResourceAction.Read
params
- - 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.ReadById
EntityNotFoundException
public BinaryResource readProperty(java.lang.String id, Parameters parameters) throws EntityNotFoundException
BinaryResourceAction.Read
Parameters
object.
See Parameters.hasBinaryProperty(String)
or Parameters.getBinaryProperty()
readProperty
in interface BinaryResourceAction.Read
id
- unique idparameters
- Parameters
FileBinaryResource
or NodeBinaryResource
EntityNotFoundException
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.