@EntityResource(name="deployments", title="Deployments") public class DeploymentsRestEntityResource extends Object implements EntityResourceAction.Read<Deployment>, EntityResourceAction.ReadById<Deployment>
Constructor and Description |
---|
DeploymentsRestEntityResource() |
Modifier and Type | Method and Description |
---|---|
CollectionWithPagingInfo<Deployment> |
readAll(Parameters params)
Reads all the entries from the collection.
|
Deployment |
readById(String id,
Parameters parameters) |
void |
setDeployments(Deployments deployments) |
public void setDeployments(Deployments deployments)
public CollectionWithPagingInfo<Deployment> readAll(Parameters params)
EntityResourceAction.Read
readAll
in interface EntityResourceAction.Read<Deployment>
params
- - will never be null and will have the PAGING default valuespublic Deployment readById(String id, Parameters parameters) throws EntityNotFoundException
readById
in interface EntityResourceAction.ReadById<Deployment>
EntityNotFoundException
Copyright © 2005–2017 Alfresco Software. All rights reserved.