com.atlassian.confluence.labels.actions
Class AddLabelToEntityBean

java.lang.Object
  extended bycom.atlassian.confluence.labels.actions.AbstractLabelEntityBean
      extended bycom.atlassian.confluence.labels.actions.AddLabelToEntityBean
All Implemented Interfaces:
ImplementsIsPermitted

public class AddLabelToEntityBean
extends AbstractLabelEntityBean
implements ImplementsIsPermitted

DWR Bean to add a given label to a given entity and return an updated list of labels to the browser via AJAX


Constructor Summary
AddLabelToEntityBean()
           
 
Method Summary
 AjaxResponse addLabel(String entityIdString, String labelName)
           
 boolean isPermitted(List parameters)
           
 boolean isPersonalLabel(Label label)
           
 void setLabelManager(LabelManager labelManager)
           
 void setPageManager(PageManager pageManager)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 
Methods inherited from class com.atlassian.confluence.labels.actions.AbstractLabelEntityBean
getText, getText, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddLabelToEntityBean

public AddLabelToEntityBean()
Method Detail

addLabel

public AjaxResponse addLabel(String entityIdString,
                             String labelName)
                      throws Exception
Throws:
Exception

isPersonalLabel

public boolean isPersonalLabel(Label label)

setPageManager

public void setPageManager(PageManager pageManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setLabelManager

public void setLabelManager(LabelManager labelManager)

isPermitted

public boolean isPermitted(List parameters)
Specified by:
isPermitted in interface ImplementsIsPermitted


Confluence is developed by Atlassian.