Package org.alfresco.rest.api.people
Class PersonGroupsRelation
java.lang.Object
org.alfresco.rest.api.people.PersonGroupsRelation
- All Implemented Interfaces:
RelationshipResourceAction.Read<Group>
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="groups",
entityResource=PeopleEntityResource.class,
title="Person Groups")
public class PersonGroupsRelation
extends Object
implements RelationshipResourceAction.Read<Group>, org.springframework.beans.factory.InitializingBean
Provide access to the groups of which a person is a member.
For example, list groups for person jbloggs.
- Author:
- Matt Ward
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
readAll
(String personId, Parameters params) Reads set the relationship entities from the collection using the related entityResourceId.void
-
Constructor Details
-
PersonGroupsRelation
public PersonGroupsRelation()
-
-
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<Group>
- Parameters:
personId
- Entity resource context for this relationshipparams
- - will never be null and will have the PAGING default values
-