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.since 7.0.1 , useContentLabelService
-
-
Constructor Summary
Constructors Constructor Description LegacySpaceLabelServiceImpl(SpaceManager spaceManager, LabelPermissionEnforcer labelPermissionEnforcer, LabelManager labelManager)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidremoveLabel(String spaceKey, long labelId)Deprecated.Remove a label with labelId from the specified content
-
-
-
Constructor Detail
-
LegacySpaceLabelServiceImpl
@Autowired public LegacySpaceLabelServiceImpl(SpaceManager spaceManager, LabelPermissionEnforcer labelPermissionEnforcer, LabelManager labelManager)
Deprecated.
-
-
Method Detail
-
removeLabel
public void removeLabel(String spaceKey, long labelId) throws IllegalArgumentException
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
-
-