Class RevertPageBackToVersionAction

    • Constructor Detail

      • RevertPageBackToVersionAction

        public RevertPageBackToVersionAction()
    • Method Detail

      • execute

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

        public String doRevert()
      • validate

        public void validate()
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • getVersion

        public int getVersion()
      • setVersion

        public void setVersion​(int version)
      • isRevertTitle

        public boolean isRevertTitle()
      • setRevertTitle

        public void setRevertTitle​(boolean isRevertTitle)
      • getTitleToRevert

        public String getTitleToRevert()
      • setPageService

        public void setPageService​(PageService pageService)
      • setBlogPostService

        public void setBlogPostService​(BlogPostService blogPostService)
      • setRevertComment

        public void setRevertComment​(String revertComment)
      • getDefaultComment

        public String getDefaultComment()