Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

122327 jkaabimofrad: RA-673, RA-678: Added node's renditions REST API. 
                 - Retrieve Renditions For Node + tests
                 - Create Rendition


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 11:04:40 +00:00
parent 645041272a
commit cb6a9ce73e
11 changed files with 900 additions and 23 deletions

View File

@@ -168,4 +168,13 @@ public interface Nodes
NodeRef validateNode(NodeRef nodeRef);
boolean nodeMatches(NodeRef nodeRef, Set<QName> expectedTypes, Set<QName> excludedTypes);
/**
* Determines whether the type of the given nodeRef is a sub-class of another class or not.
*
* @param nodeRef source nodeRef
* @param ofClassQName the class to test against
* @param validateNodeRef whether to validate the given source node or not
* @return true if the type of the given nodeRef is a sub-class of another class, otherwise false
*/
boolean isSubClass(NodeRef nodeRef, QName ofClassQName, boolean validateNodeRef);
}