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 TypeMethodDescriptionvoidcreate(List<Group> entity, Parameters parameters) voiddelete(String groupId, Parameters parameters) readAll(Parameters params) Reads all the entries from the collection.readById(String groupId, Parameters parameters) voidupdate(String groupId, Group group, Parameters parameters)
-
Constructor Details
-
GroupsEntityResource
public GroupsEntityResource()
-
-
Method Details
-
setGroups
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
Description copied from interface:EntityResourceAction.ReadReads all the entries from the collection. Paging information is provided.- Specified by:
readAllin interfaceEntityResourceAction.Read<Group>- Parameters:
params- - will never be null and will have the PAGING default values
-
readById
- Specified by:
readByIdin interfaceEntityResourceAction.ReadById<Group>- Throws:
EntityNotFoundException
-
create
- Specified by:
createin interfaceEntityResourceAction.Create<Group>
-
update
- Specified by:
updatein interfaceEntityResourceAction.Update<Group>
-
delete
- Specified by:
deletein interfaceEntityResourceAction.Delete
-