Merged mward/5.2.n-repo-1583-groupmem (5.2.1) to 5.2.N (5.2.1)

134294 mward: REPO-1583: add test and implementation details


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2017-01-17 14:13:49 +00:00
parent 9b4f773498
commit 4acd852e05
5 changed files with 108 additions and 11 deletions

View File

@@ -81,6 +81,17 @@ public interface Groups
*/
CollectionWithPagingInfo<Group> getGroups(Parameters parameters);
/**
* Gets the list of groups for which the specified person is a member.
*
* @param personId the person's ID ("-me-" may be used as an alias for the current user.)
* @param parameters the {@link Parameters} object to get the parameters passed into the request
* including:
* - sort & paging params (orderBy, skipCount, maxItems)
* @return a paged list of {@code org.alfresco.rest.api.model.Group} objects
*/
CollectionWithPagingInfo<Group> getGroupsByPersonId(String personId, Parameters parameters);
/**
* Gets a list of groups.
*