@EntityResource(name="processes", title="Processes") public class ProcessesRestEntityResource extends java.lang.Object implements EntityResourceAction.Read, EntityResourceAction.ReadById, EntityResourceAction.Create, EntityResourceAction.Delete, BinaryResourceAction.Read
| Constructor and Description |
|---|
ProcessesRestEntityResource() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
create(java.util.List entity,
Parameters parameters) |
void |
delete(java.lang.String id,
Parameters parameters) |
CollectionWithPagingInfo |
readAll(Parameters params)
Reads all the entries from the collection.
|
ProcessInfo |
readById(java.lang.String id,
Parameters parameters) |
BinaryResource |
readProperty(java.lang.String entityId,
Parameters parameters)
Retrieves a binary property by returning a BinaryResource object.
|
void |
setProcesses(Processes processes) |
public void setProcesses(Processes processes)
public java.util.List create(java.util.List entity,
Parameters parameters)
create in interface EntityResourceAction.Createpublic CollectionWithPagingInfo readAll(Parameters params)
EntityResourceAction.ReadreadAll in interface EntityResourceAction.Readparams - - will never be null and will have the PAGING default valuespublic BinaryResource readProperty(java.lang.String entityId, Parameters parameters) throws EntityNotFoundException
BinaryResourceAction.ReadParameters object.
See Parameters.hasBinaryProperty(String) or Parameters.getBinaryProperty()readProperty in interface BinaryResourceAction.ReadentityId - unique idparameters - ParametersFileBinaryResource or NodeBinaryResourceEntityNotFoundExceptionpublic ProcessInfo readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
readById in interface EntityResourceAction.ReadByIdEntityNotFoundExceptionpublic void delete(java.lang.String id,
Parameters parameters)
delete in interface EntityResourceAction.DeleteCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.