Package org.alfresco.repo.template
Class Classification
java.lang.Object
org.alfresco.repo.processor.BaseProcessorExtension
org.alfresco.repo.template.BaseTemplateProcessorExtension
org.alfresco.repo.template.Classification
- All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension,TemplateProcessorExtension
Support for finding classifications and their root categories.
- Author:
- Andy Hind
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllCategoryNodes(String aspect) Find all the category nodes in a given classification.getAllCategoryNodes(QName aspect) Find all the category nodes in a given classification.getRootCategories(String aspect) Get the root categories in a classification.voidsetServiceRegistry(ServiceRegistry services) Sets the service registryvoidsetStoreUrl(String storeUrl) Methods inherited from class org.alfresco.repo.template.BaseTemplateProcessorExtension
getTemplateImageResolver, setTemplateImageResolverMethods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.processor.ProcessorExtension
getExtensionName
-
Constructor Details
-
Classification
public Classification()
-
-
Method Details
-
setServiceRegistry
Sets the service registry- Parameters:
services- the service registry
-
setStoreUrl
- Parameters:
storeUrl- The store ref url to set.
-
getAllCategoryNodes
Find all the category nodes in a given classification.- Parameters:
aspect-- Returns:
- all the category nodes in a given classification.
-
getAllCategoryNodes
Find all the category nodes in a given classification.- Parameters:
aspect-- Returns:
- all the category nodes in a given classification.
-
getAllClassificationAspects
- Returns:
- all the aspects that define a classification.
-
getRootCategories
Get the root categories in a classification.- Parameters:
aspect-- Returns:
- List of TemplateNode
-