Package eu.xenit.alfred.api.categories
Interface ICategoryService
public interface ICategoryService
https://wiki.alfresco.com/wiki/Classification_And_Categories
-
Method Summary
Modifier and TypeMethodDescriptionvoidclassifyNode(NodeRef targetNode, NodeRef categoryNode) Classifies a target node to a specific category.getCategoryTree(QName classifiableAspectName) Retuns all categories for given classifiable aspect.
-
Method Details
-
classifyNode
Classifies a target node to a specific category.- Parameters:
targetNode- The node to classify.categoryNode- The category to which to classify the node.
-
getCategoryTree
Retuns all categories for given classifiable aspect. This consists of a list of category roots WARNING: can be slow for many categories- Parameters:
classifiableAspectName- Should be aspect of type cm:classifiable- Returns:
- List of categories
-