Merged 5.2.N (5.2.2) to HEAD (5.2)

134310 cturlica: REPO-1304: Create a group
      - added create group logic; fixed a sorting bug for get groups/group members; updated test framework - post/create action; fix toJSON issue for parentIds and zones.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrei Rebegea
2017-06-14 16:56:42 +00:00
parent b3bfedf964
commit c3748a5ba7
8 changed files with 270 additions and 25 deletions

View File

@@ -47,6 +47,17 @@ public interface Groups
String PARAM_MEMBER_TYPE_GROUP = "GROUP";
String PARAM_MEMBER_TYPE_PERSON = "PERSON";
/**
* Create a group.
*
* @param group the group to create.
* @param parameters the {@link Parameters} object to get the parameters passed into the request
* including:
* - include param (parentIds, zones)
* @return a {@code org.alfresco.rest.api.model.Group} object
*/
Group create(Group group, Parameters parameters);
/**
* Get a group by it's id.
*