Class CategoryServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.CategoryServiceImpl
- All Implemented Interfaces:
CategoryService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.api.service.content.CategoryService
CategoryService.Validator
-
Constructor Summary
ConstructorsConstructorDescriptionCategoryServiceImpl
(SpaceManagerInternal spaceManager, LabelManager labelManager, LabelPermissionEnforcer labelPermissionEnforcer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
removeCategory
(String spaceKey, String categoryName) Removes a category from a space's description.Returns a validator for category operations.
-
Constructor Details
-
CategoryServiceImpl
public CategoryServiceImpl(SpaceManagerInternal spaceManager, LabelManager labelManager, LabelPermissionEnforcer labelPermissionEnforcer)
-
-
Method Details
-
removeCategory
Description copied from interface:CategoryService
Removes a category from a space's description.- Specified by:
removeCategory
in interfaceCategoryService
- Parameters:
spaceKey
- the key of the spacecategoryName
- the name of the category to remove- Throws:
ServiceException
- if the category cannot be removed
-
validator
Description copied from interface:CategoryService
Returns a validator for category operations.- Specified by:
validator
in interfaceCategoryService
- Returns:
- a
CategoryService.Validator
instance
-