mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-5506 Add temporary logging
This commit is contained in:
@@ -136,6 +136,7 @@ public class GroupsImpl implements Groups
|
||||
|
||||
public Group create(Group group, Parameters parameters)
|
||||
{
|
||||
System.out.println("Create from impl called");
|
||||
validateGroup(group, false);
|
||||
|
||||
// Create authority with default zones.
|
||||
@@ -151,7 +152,7 @@ public class GroupsImpl implements Groups
|
||||
{
|
||||
props.put(ContentModel.PROP_DESCRIPTION, group.getDescription());
|
||||
}
|
||||
|
||||
System.out.println("Before authority created");
|
||||
String authority = authorityService.createAuthority(AuthorityType.GROUP, group.getId(), authorityDisplayName, authorityZones, props);
|
||||
|
||||
// Set a given child authority to be included by the given parent
|
||||
|
@@ -1426,6 +1426,7 @@ public class GroupsTest extends AbstractSingleNetworkSiteTest
|
||||
Group group = generateGroup();
|
||||
group.setDescription("testDesc");
|
||||
|
||||
System.out.println("" + otherParams);
|
||||
Group createdGroup01 = groupsProxy.createGroup(group, otherParams, HttpServletResponse.SC_CREATED);
|
||||
|
||||
assertNotNull(createdGroup01);
|
||||
|
@@ -112,7 +112,7 @@ public class Group extends org.alfresco.rest.api.model.Group implements Serializ
|
||||
Boolean hasSubgroups = (Boolean) jsonObject.get("hasSubgroups");
|
||||
List<String> parentIds = (List<String>) jsonObject.get("parentIds");
|
||||
List<String> zones = (List<String>) jsonObject.get("zones");
|
||||
|
||||
System.out.println("Parse group: " + description + " " + displayName);
|
||||
Group group = new Group();
|
||||
group.setId(id);
|
||||
group.setDisplayName(displayName);
|
||||
|
Reference in New Issue
Block a user