Class ViewPreviousVersionsAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
PageAware, TinyUrlAware, WebInterface, ContentDetailAction, 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 ViewPreviousVersionsAction extends AbstractPageAwareAction implements TinyUrlAware, ContentDetailAction
See Also:
  • Constructor Details

    • ViewPreviousVersionsAction

      public ViewPreviousVersionsAction()
  • Method Details

    • getAllVersions

      public List<VersionHistorySummary> getAllVersions()
    • isOfflineCollabEditingMode

      public boolean isOfflineCollabEditingMode()
    • isRevertPermitted

      public boolean isRevertPermitted()
    • isRemoveHistoricalVersionPermitted

      public boolean isRemoveHistoricalVersionPermitted()
    • isShowActions

      public boolean isShowActions()
    • getPreviousVersions

      public List<VersionHistorySummary> getPreviousVersions()
    • getPreviousPage

      public Page getPreviousPage(Page page)
    • execute

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

      public String getTinyUrl()
      Specified by:
      getTinyUrl in interface TinyUrlAware
    • setSynchronyConfigurationReader

      public void setSynchronyConfigurationReader(SynchronyConfigurationReader synchronyConfigurationReader)
    • setPageManager

      public void setPageManager(PageManager pageManager)