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 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