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 TypeMethodDescriptionvoidcreate(String groupId, List<GroupMember> entity, Parameters params) voiddelete(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:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
Description copied from interface:RelationshipResourceAction.ReadReads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAllin 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:
createin interfaceRelationshipResourceAction.Create<GroupMember>
-
delete
- Specified by:
deletein interfaceRelationshipResourceAction.Delete
-