Interface AddLabelsCommand
-
- All Superinterfaces:
ServiceCommand
- All Known Implementing Classes:
AddLabelsCommandImpl
public interface AddLabelsCommand extends ServiceCommand
Takes a string of comma separated labels and adds them to a Page or Blog Post for the specified user. Includes validation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Label>
getAddedLabels()
Returns the labels that were addedLabelable
getEntity()
Returns the page or blog post that the label was added to-
Methods inherited from interface com.atlassian.confluence.core.service.ServiceCommand
execute, getValidationErrors, isAuthorized, isValid
-
-
-
-
Method Detail
-
getEntity
Labelable getEntity()
Returns the page or blog post that the label was added to- Returns:
- entity
-
getAddedLabels
Collection<Label> getAddedLabels()
Returns the labels that were added- Returns:
- added labels
-
-