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, com.atlassian.sal.api.message.I18nResolver i18nResolver) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidremoveLabel(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, com.atlassian.sal.api.message.I18nResolver i18nResolver) Deprecated.
-
-
Method Details
-
removeLabel
Deprecated.Description copied from interface:SpaceLabelServiceRemove a label with labelId from the specified content- Specified by:
removeLabelin 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