Package org.alfresco.rest.api.groups
Class GroupMembersRelation
java.lang.Object
org.alfresco.rest.api.groups.GroupMembersRelation
- All Implemented Interfaces:
RelationshipResourceAction.Create<GroupMember>
,RelationshipResourceAction.Delete
,RelationshipResourceAction.Read<GroupMember>
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="members",
entityResource=GroupsEntityResource.class,
title="Group Members")
public class GroupMembersRelation
extends Object
implements RelationshipResourceAction.Read<GroupMember>, RelationshipResourceAction.Create<GroupMember>, RelationshipResourceAction.Delete, org.springframework.beans.factory.InitializingBean
- Author:
- cturlica
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(String groupId, List<GroupMember> entity, Parameters params) void
delete
(String entityResourceId, String id, Parameters parameters) readAll
(String groupId, Parameters params) Reads set the relationship entities from the collection using the related entityResourceId.void
-
Constructor Details
-
GroupMembersRelation
public GroupMembersRelation()
-
-
Method Details
-
setGroups
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
Description copied from interface:RelationshipResourceAction.Read
Reads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAll
in interfaceRelationshipResourceAction.Read<GroupMember>
- Parameters:
groupId
- Entity resource context for this relationshipparams
- - will never be null and will have the PAGING default values
-
create
- Specified by:
create
in interfaceRelationshipResourceAction.Create<GroupMember>
-
delete
- Specified by:
delete
in interfaceRelationshipResourceAction.Delete
-