com.atlassian.confluence.labels.actions
Class AddLabelToEntityBean
java.lang.Object
com.atlassian.confluence.labels.actions.AbstractLabelEntityBean
com.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddLabelToEntityBean
public AddLabelToEntityBean()
addFavourite
public void addFavourite(String entityIdString)
addLabel
public AjaxResponse addLabel(String entityIdString,
String labelString)
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