Merged mward/5.2.n-custpeopleprops (5.2.1) to 5.2.N (5.2.1)

132803 mward: REPO-1395: add further tests and tweak functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2016-11-17 15:00:36 +00:00
parent c14aedf7d1
commit 8c41b61084
5 changed files with 213 additions and 92 deletions

View File

@@ -287,9 +287,10 @@ public interface Nodes
* by the API JSON response for get nodes, get person etc.
*
* @param nodeAspects
* @param excludedAspects
* @return
*/
List<String> mapFromNodeAspects(Set<QName> nodeAspects);
List<String> mapFromNodeAspects(Set<QName> nodeAspects, List<QName> excludedAspects);
/**
* Add aspects to the specified NodeRef. Aspects that appear in the exclusions list
@@ -300,6 +301,16 @@ public interface Nodes
* @param exclusions
*/
void addCustomAspects(NodeRef nodeRef, List<String> aspectNames, List<QName> exclusions);
/**
* Update aspects for the specified NodeRef. An empty list will result in
* aspects being <strong>removed</strong>.
*
* @param nodeRef
* @param aspectNames
* @param exclusions
*/
void updateCustomAspects(NodeRef nodeRef, List<String> aspectNames, List<QName> exclusions);
/**
* API Constants - query parameters, etc