java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class LikeAction extends ConfluenceActionSupport
Likes content, usually called from an email where a RESTful response just won't do.
Since:
4.2
See Also:
  • Constructor Details

    • LikeAction

      public LikeAction()
  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
    • getRedirectUrl

      public String getRedirectUrl()
    • setLikeManager

      public void setLikeManager(LikeManager likeManager)
    • setContentEntityManager

      public void setContentEntityManager(ContentEntityManager contentEntityManager)
    • setContentId

      public void setContentId(long contentId)