Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)

126104 jvonka: Node (Peer) Associations - initial wip
   - /nodes/{srcId}/targets (GET, POST)
   - /nodes/{srcId}/targets/{tgtId} (DELETE)
   - /nodes/{tgtId}/sources (GET)
   - TODO ... assoc tests !
   - RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-06-02 21:39:26 +00:00
parent 355ae575ef
commit f3b786ec57
7 changed files with 492 additions and 1 deletions

View File

@@ -797,6 +797,11 @@ public class NodesImpl implements Nodes
mapUserInfo = new HashMap<>(2);
}
if (includeParam == null)
{
includeParam = Collections.emptyList();
}
Node node;
Map<QName, Serializable> properties = nodeService.getProperties(nodeRef);
@@ -888,7 +893,7 @@ public class NodesImpl implements Nodes
node.setAllowableOperations((allowableOperations.size() > 0 )? allowableOperations : null);
}
node.setNodeType(nodeTypeQName.toPrefixString(namespaceService));
node.setPath(pathInfo);