Class RevertPageBackToVersionAction

All Implemented Interfaces:
PageAware, TinyUrlAware, 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 RevertPageBackToVersionAction extends AbstractPageAction
See Also:
  • Constructor Details

    • RevertPageBackToVersionAction

      public RevertPageBackToVersionAction()
  • Method Details

    • execute

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

      public String doRevert()
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class AbstractPageAction
    • getVersion

      public int getVersion()
    • setVersion

      public void setVersion(int version)
    • isRevertTitle

      public boolean isRevertTitle()
    • setRevertTitle

      public void setRevertTitle(boolean isRevertTitle)
    • getTitleToRevert

      public String getTitleToRevert()
    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class AbstractPageAwareAction
    • setPageService

      public void setPageService(PageService pageService)
    • setBlogPostService

      public void setBlogPostService(BlogPostService blogPostService)
    • setRevertComment

      public void setRevertComment(String revertComment)
    • getDefaultComment

      public String getDefaultComment()