Class DeploymentsRestEntityResource
- java.lang.Object
-
- org.alfresco.rest.workflow.api.deployments.DeploymentsRestEntityResource
-
- All Implemented Interfaces:
EntityResourceAction.Read<Deployment>
,EntityResourceAction.ReadById<Deployment>
,ResourceAction
@EntityResource(name="deployments", title="Deployments") public class DeploymentsRestEntityResource extends Object implements EntityResourceAction.Read<Deployment>, EntityResourceAction.ReadById<Deployment>
-
-
Constructor Summary
Constructors Constructor Description DeploymentsRestEntityResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionWithPagingInfo<Deployment>
readAll(Parameters params)
Reads all the entries from the collection.Deployment
readById(String id, Parameters parameters)
void
setDeployments(Deployments deployments)
-
-
-
Method Detail
-
setDeployments
public void setDeployments(Deployments deployments)
-
readAll
public CollectionWithPagingInfo<Deployment> readAll(Parameters params)
Description copied from interface:EntityResourceAction.Read
Reads all the entries from the collection. Paging information is provided.- Specified by:
readAll
in interfaceEntityResourceAction.Read<Deployment>
- Parameters:
params
- - will never be null and will have the PAGING default values
-
readById
public Deployment readById(String id, Parameters parameters) throws EntityNotFoundException
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Deployment>
- Throws:
EntityNotFoundException
-
-