ContentLabelService
@Deprecated @Component public class LegacySpaceLabelServiceImpl extends Object implements SpaceLabelService
Constructor and Description |
---|
LegacySpaceLabelServiceImpl(SpaceManager spaceManager,
LabelPermissionEnforcer labelPermissionEnforcer,
LabelManager labelManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
removeLabel(String spaceKey,
long labelId)
Deprecated.
Remove a label with labelId from the specified content
|
@Autowired public LegacySpaceLabelServiceImpl(SpaceManager spaceManager, LabelPermissionEnforcer labelPermissionEnforcer, LabelManager labelManager)
public void removeLabel(String spaceKey, long labelId) throws IllegalArgumentException
SpaceLabelService
removeLabel
in interface SpaceLabelService
spaceKey
- the space key to remove the label fromlabelId
- the id of the label to removeIllegalArgumentException
- failed to remove the labelCopyright © 2003–2020 Atlassian. All rights reserved.