Class CategoryServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.CategoryServiceImpl
- All Implemented Interfaces:
- CategoryService
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.atlassian.confluence.api.service.content.CategoryServiceCategoryService.Validator
- 
Constructor SummaryConstructorsConstructorDescriptionCategoryServiceImpl(SpaceManagerInternal spaceManager, LabelManager labelManager, LabelPermissionEnforcer labelPermissionEnforcer) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCategory(String spaceKey, String labelName) Adds a category to a space's description.voidremoveCategory(String spaceKey, String categoryName) Removes a category from a space's description.Returns a validator for category operations.
- 
Constructor Details- 
CategoryServiceImplpublic CategoryServiceImpl(SpaceManagerInternal spaceManager, LabelManager labelManager, LabelPermissionEnforcer labelPermissionEnforcer) 
 
- 
- 
Method Details- 
addCategoryDescription copied from interface:CategoryServiceAdds a category to a space's description.- Specified by:
- addCategoryin interface- CategoryService
- Parameters:
- spaceKey- the key of the space
- labelName- the name of the category to add
- Throws:
- ServiceException- if the category cannot be added
 
- 
removeCategoryDescription copied from interface:CategoryServiceRemoves a category from a space's description.- Specified by:
- removeCategoryin interface- CategoryService
- Parameters:
- spaceKey- the key of the space
- categoryName- the name of the category to remove
- Throws:
- ServiceException- if the category cannot be removed
 
- 
validatorDescription copied from interface:CategoryServiceReturns a validator for category operations.- Specified by:
- validatorin interface- CategoryService
- Returns:
- a CategoryService.Validatorinstance
 
 
-