Interface AddLabelsCommand
- All Superinterfaces:
ServiceCommand
- All Known Implementing Classes:
AddLabelsCommandImpl
Takes a string of comma separated labels and adds them to a
Page or Blog Post for the specified user.
Includes validation.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the labels that were addedReturns the page or blog post that the label was added toMethods inherited from interface com.atlassian.confluence.core.service.ServiceCommand
execute, getValidationErrors, isAuthorized, isValid
-
Method Details
-
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
-