Class ViewSourceAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
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, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class ViewSourceAction extends ConfluenceActionSupport
See Also:
  • Field Details

    • editRenderer

      protected Renderer editRenderer
  • Constructor Details

    • ViewSourceAction

      public ViewSourceAction()
  • Method Details

    • execute

      public String execute()
      Render a read only view of the page.
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
    • isPermitted

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

      public boolean isLatestVersionRequired()
    • getSourceHtml

      public String getSourceHtml()
    • getContent

      public ContentEntityObject getContent()
    • setEditRenderer

      public void setEditRenderer(Renderer editRenderer)
    • setXhtmlContent

      public void setXhtmlContent(XhtmlContent xhtmlContent)
    • setContentEntityManager

      public void setContentEntityManager(ContentEntityManager contentEntityManager)
    • getPageId

      public long getPageId()
    • setPageId

      public void setPageId(long pageId)