Package com.tridion.meta
Interface CategoryEntity
public interface CategoryEntity
CategoryEntity.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyword(TaxonomyKeywordEntity keywordEntity) This allows addition of a keyword to the collection of keywords for this category.String[]Returns a string array of Keywords that are part of this Category.getName()Returns the name of this Category.voidsetKeywords(TaxonomyKeywordEntity[] keywordEntities) This allows setting of an array of keywords.voidsetKeywords(String[] keywordNames) Sets the Keywords for this Category to a new value.voidSets the name of this Category to a new value.
-
Method Details
-
getName
String getName()Returns the name of this Category.- Returns:
- A String containing the name of this Category.
-
setName
Sets the name of this Category to a new value.- Parameters:
name- The new name for this Category.
-
getKeywords
String[] getKeywords()Returns a string array of Keywords that are part of this Category.- Returns:
- a String array of keywords.
-
getKeywordList
TaxonomyKeywordEntity[] getKeywordList() -
setKeywords
Sets the Keywords for this Category to a new value.- Parameters:
keywordNames- The new array of Keywords.
-
setKeywords
This allows setting of an array of keywords.- Parameters:
keywordEntities- The keywords to set for this category
-
addKeyword
This allows addition of a keyword to the collection of keywords for this category.- Parameters:
keywordEntity- The keyword to add to the collection
-