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 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(List<Group> entity, Parameters parameters) void
delete
(String groupId, Parameters parameters) readAll
(Parameters params) Reads all the entries from the collection.readById
(String groupId, Parameters parameters) void
update
(String groupId, Group group, Parameters parameters)
-
Constructor Details
-
GroupsEntityResource
public GroupsEntityResource()
-
-
Method Details
-
setGroups
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
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
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Group>
- Throws:
EntityNotFoundException
-
create
- Specified by:
create
in interfaceEntityResourceAction.Create<Group>
-
update
- Specified by:
update
in interfaceEntityResourceAction.Update<Group>
-
delete
- Specified by:
delete
in interfaceEntityResourceAction.Delete
-