Class LikeAction

  • 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

    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:
    Serialized Form
    • Constructor Detail

      • LikeAction

        public LikeAction()
    • Method Detail

      • execute

        public String execute()
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
      • getRedirectUrl

        public String getRedirectUrl()
      • setLikeManager

        public void setLikeManager​(LikeManager likeManager)
      • setContentEntityManager

        public void setContentEntityManager​(ContentEntityManager contentEntityManager)
      • setContentId

        public void setContentId​(long contentId)