public class

RemoveFavouriteAction

extends ConfluenceActionSupport
implements Beanable
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.labels.actions.RemoveFavouriteAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
RemoveFavouriteAction()
Public Methods
String execute()
Map<StringCollection<String>> getBean()
Labelable getEntity()
Used so that the links are correctly built when JS is disabled
boolean isPermitted()
void setEntityId(long entityId)
void setLabelsService(LabelsService labelsService)
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.core.Beanable
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public RemoveFavouriteAction ()

Public Methods

public String execute ()

public Map<StringCollection<String>> getBean ()

public Labelable getEntity ()

Used so that the links are correctly built when JS is disabled

Returns
  • The entity the label is removed from

public boolean isPermitted ()

public void setEntityId (long entityId)

public void setLabelsService (LabelsService labelsService)