Class Category

java.lang.Object
eu.xenit.alfred.api.categories.Category

public class Category extends Object
Categories allow you to quickly and easily organize your content to help you retrieve the content you are looking for. You classify your content items in Alfresco with categories. The categories are organized into related groups to form a hierarchy. You can link a content item to more than one category.
  • Constructor Details

    • Category

      public Category()
  • Method Details

    • getQnamePath

      public String getQnamePath()
      Returns:
      The full path of the qname of the category. An example is: /app:company_home/st:sites/cm:mysite/cm:documentLibrary
    • setQnamePath

      public void setQnamePath(String qnamePath)
      Sets the category qname path.
      Parameters:
      qnamePath - qname path of the category.
    • getNoderef

      public String getNoderef()
      Returns:
      The noderef of the category
    • setNoderef

      public void setNoderef(String noderef)
      Sets the category noderef.
      Parameters:
      noderef - nodeRef of the category.
    • getName

      public String getName()
      Returns:
      The name of the category
    • setName

      public void setName(String name)
      Sets the name of the category.
      Parameters:
      name - Name of the category.
    • getSubcategories

      public ArrayList<Category> getSubcategories()
      Returns:
      The subcategories of this category.
    • setSubcategories

      public void setSubcategories(ArrayList<Category> subcategories)
      Sets the subcategories of this category.
      Parameters:
      subcategories - the subcategories of the Category.
    • toString

      public String toString()
      Overrides:
      toString in class Object