Class LikeAction

  • All Implemented Interfaces:
    WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, 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.xwork.Action
        Overrides:
        execute in class com.opensymphony.xwork.ActionSupport
      • getRedirectUrl

        public String getRedirectUrl()
      • setLikeManager

        public void setLikeManager​(LikeManager likeManager)
      • setContentEntityManager

        public void setContentEntityManager​(ContentEntityManager contentEntityManager)
      • setContentId

        public void setContentId​(long contentId)