Class LegacySpaceLabelServiceImpl
java.lang.Object
com.atlassian.confluence.ui.rest.service.content.LegacySpaceLabelServiceImpl
- All Implemented Interfaces:
SpaceLabelService
@Deprecated
@Component
public class LegacySpaceLabelServiceImpl
extends Object
implements SpaceLabelService
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionLegacySpaceLabelServiceImpl
(SpaceManager spaceManager, LabelPermissionEnforcer labelPermissionEnforcer, LabelManager labelManager) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
removeLabel
(String spaceKey, long labelId) Deprecated.Remove a label with labelId from the specified content
-
Constructor Details
-
LegacySpaceLabelServiceImpl
@Autowired public LegacySpaceLabelServiceImpl(SpaceManager spaceManager, LabelPermissionEnforcer labelPermissionEnforcer, LabelManager labelManager) Deprecated.
-
-
Method Details
-
removeLabel
Deprecated.Description copied from interface:SpaceLabelService
Remove a label with labelId from the specified content- Specified by:
removeLabel
in interfaceSpaceLabelService
- Parameters:
spaceKey
- the space key to remove the label fromlabelId
- the id of the label to remove- Throws:
IllegalArgumentException
- failed to remove the label
-
ContentLabelService