com.atlassian.confluence.labels.service
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
 Collection<Label> getAddedLabels()
          Returns the labels that were added
 Labelable 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


Copyright © 2003-2013 Atlassian. All Rights Reserved.