Class Classification

All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension, TemplateProcessorExtension

public class Classification extends BaseTemplateProcessorExtension
Support for finding classifications and their root categories.
Author:
Andy Hind
  • Constructor Details

    • Classification

      public Classification()
  • Method Details

    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry services)
      Sets the service registry
      Parameters:
      services - the service registry
    • setStoreUrl

      public void setStoreUrl(String storeUrl)
      Parameters:
      storeUrl - The store ref url to set.
    • getAllCategoryNodes

      public List<CategoryTemplateNode> getAllCategoryNodes(String aspect)
      Find all the category nodes in a given classification.
      Parameters:
      aspect -
      Returns:
      all the category nodes in a given classification.
    • getAllCategoryNodes

      public List<CategoryTemplateNode> getAllCategoryNodes(QName aspect)
      Find all the category nodes in a given classification.
      Parameters:
      aspect -
      Returns:
      all the category nodes in a given classification.
    • getAllClassificationAspects

      public List<QName> getAllClassificationAspects()
      Returns:
      all the aspects that define a classification.
    • getRootCategories

      public List<CategoryTemplateNode> getRootCategories(String aspect)
      Get the root categories in a classification.
      Parameters:
      aspect -
      Returns:
      List of TemplateNode