public interface

AddLabelsCommand

implements ServiceCommand
com.atlassian.confluence.labels.service.AddLabelsCommand
Known Indirect Subclasses

Class Overview

Takes a string of comma separated labels and adds them to a Page or Blog Post for the specified user. Includes validation.

Summary

Public Methods
Collection<Label> getAddedLabels()
Returns the labels that were added
Labelable getEntity()
Returns the page or blog post that the label was added to
[Expand]
Inherited Methods
From interface com.atlassian.confluence.core.service.ServiceCommand

Public Methods

public Collection<Label> getAddedLabels ()

Returns the labels that were added

Returns
  • added labels

public Labelable getEntity ()

Returns the page or blog post that the label was added to

Returns
  • entity