@EntityResource(name="tasks", title="Tasks") public class TasksRestEntityResource extends java.lang.Object implements EntityResourceAction.Read, EntityResourceAction.ReadById, EntityResourceAction.Update
| Constructor and Description |
|---|
TasksRestEntityResource() |
| Modifier and Type | Method and Description |
|---|---|
CollectionWithPagingInfo |
readAll(Parameters params)
Reads all the entries from the collection.
|
Task |
readById(java.lang.String id,
Parameters parameters) |
void |
setTasks(Tasks tasks) |
Task |
update(java.lang.String id,
Task entity,
Parameters parameters) |
public void setTasks(Tasks tasks)
public CollectionWithPagingInfo readAll(Parameters params)
EntityResourceAction.ReadreadAll in interface EntityResourceAction.Readparams - - will never be null and will have the PAGING default valuespublic Task readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
readById in interface EntityResourceAction.ReadByIdEntityNotFoundExceptionpublic Task update(java.lang.String id, Task entity, Parameters parameters)
update in interface EntityResourceAction.UpdateCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.