Package org.alfresco.rest.api.groups
Class GroupsEntityResource
- java.lang.Object
-
- org.alfresco.rest.api.groups.GroupsEntityResource
-
- All Implemented Interfaces:
EntityResourceAction.Create<Group>
,EntityResourceAction.Delete
,EntityResourceAction.Read<Group>
,EntityResourceAction.ReadById<Group>
,EntityResourceAction.Update<Group>
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@EntityResource(name="groups", title="Groups") public class GroupsEntityResource extends java.lang.Object implements EntityResourceAction.Read<Group>, EntityResourceAction.ReadById<Group>, EntityResourceAction.Create<Group>, EntityResourceAction.Update<Group>, EntityResourceAction.Delete, org.springframework.beans.factory.InitializingBean
An implementation of an Entity Resource for a Group- Author:
- cturlica
-
-
Constructor Summary
Constructors Constructor Description GroupsEntityResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
java.util.List<Group>
create(java.util.List<Group> entity, Parameters parameters)
void
delete(java.lang.String groupId, Parameters parameters)
CollectionWithPagingInfo<Group>
readAll(Parameters params)
Reads all the entries from the collection.Group
readById(java.lang.String groupId, Parameters parameters)
void
setGroups(Groups groups)
Group
update(java.lang.String groupId, Group group, Parameters parameters)
-
-
-
Method Detail
-
setGroups
public void setGroups(Groups groups)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
public CollectionWithPagingInfo<Group> 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<Group>
- Parameters:
params
- - will never be null and will have the PAGING default values
-
readById
public Group readById(java.lang.String groupId, Parameters parameters) throws EntityNotFoundException
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Group>
- Throws:
EntityNotFoundException
-
create
public java.util.List<Group> create(java.util.List<Group> entity, Parameters parameters)
- Specified by:
create
in interfaceEntityResourceAction.Create<Group>
-
update
public Group update(java.lang.String groupId, Group group, Parameters parameters)
- Specified by:
update
in interfaceEntityResourceAction.Update<Group>
-
delete
public void delete(java.lang.String groupId, Parameters parameters)
- Specified by:
delete
in interfaceEntityResourceAction.Delete
-
-