@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.Create
public CollectionWithPagingInfo readAll(Parameters params)
EntityResourceAction.Read
readAll
in interface EntityResourceAction.Read
params
- - will never be null and will have the PAGING default valuespublic BinaryResource readProperty(java.lang.String entityId, Parameters parameters) throws EntityNotFoundException
BinaryResourceAction.Read
Parameters
object.
See Parameters.hasBinaryProperty(String)
or Parameters.getBinaryProperty()
readProperty
in interface BinaryResourceAction.Read
entityId
- unique idparameters
- Parameters
FileBinaryResource
or NodeBinaryResource
EntityNotFoundException
public ProcessInfo readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
readById
in interface EntityResourceAction.ReadById
EntityNotFoundException
public void delete(java.lang.String id, Parameters parameters)
delete
in interface EntityResourceAction.Delete
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.