Package eu.xenit.alfred.api.categories
Class Category
java.lang.Object
eu.xenit.alfred.api.categories.Category
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidSets the name of the category.voidsetNoderef(String noderef) Sets the category noderef.voidsetQnamePath(String qnamePath) Sets the category qname path.voidsetSubcategories(ArrayList<Category> subcategories) Sets the subcategories of this category.toString()
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
getQnamePath
- Returns:
- The full path of the qname of the category. An example is: /app:company_home/st:sites/cm:mysite/cm:documentLibrary
-
setQnamePath
Sets the category qname path.- Parameters:
qnamePath- qname path of the category.
-
getNoderef
- Returns:
- The noderef of the category
-
setNoderef
Sets the category noderef.- Parameters:
noderef- nodeRef of the category.
-
getName
- Returns:
- The name of the category
-
setName
Sets the name of the category.- Parameters:
name- Name of the category.
-
getSubcategories
- Returns:
- The subcategories of this category.
-
setSubcategories
Sets the subcategories of this category.- Parameters:
subcategories- the subcategories of the Category.
-
toString
-