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(java.lang.String entityIdString)
addLabel
public AjaxResponse addLabel(java.lang.String entityIdString,
java.lang.String labelName)
throws java.lang.Exception
- Throws:
java.lang.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(java.util.List parameters)
- Specified by:
isPermitted
in interface ImplementsIsPermitted
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.