com.atlassian.confluence.labels.actions
Class RemoveLabelFromEntityBean

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

public class RemoveLabelFromEntityBean
extends AbstractLabelEntityBean
implements ImplementsIsPermitted

DWR Bean to remove a label and return the updated list of labels to the browser via AJAX


Constructor Summary
RemoveLabelFromEntityBean()
           
 
Method Summary
 boolean isPermitted(List parameters)
           
 boolean isPersonalLabel(Label label)
           
 AjaxResponse removeLabel(String entityIdString, String labelIdString)
           
 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

RemoveLabelFromEntityBean

public RemoveLabelFromEntityBean()
Method Detail

setPageManager

public void setPageManager(PageManager pageManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setLabelManager

public void setLabelManager(LabelManager labelManager)

removeLabel

public AjaxResponse removeLabel(String entityIdString,
                                String labelIdString)
                         throws Exception
Throws:
Exception

isPersonalLabel

public boolean isPersonalLabel(Label label)

isPermitted

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


Confluence is developed by Atlassian.