Class CustomPageContentAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
FormAware, WebInterface, SpaceAware, Spaced, 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 CustomPageContentAction extends AbstractSpaceAction implements FormAware, SpaceAware
See Also:
  • Constructor Details

    • CustomPageContentAction

      public CustomPageContentAction()
  • Method Details

    • isPermitted

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

      public String doDefault()
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
    • 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
    • getFooterText

      public String getFooterText()
    • getHeaderText

      public String getHeaderText()
    • getSidebarText

      public String getSidebarText()
    • setHeaderText

      public void setHeaderText(String headerText)
    • setFooterText

      public void setFooterText(String footerText)
    • setSidebarText

      public void setSidebarText(String sidebarText)
    • setCustomPageSettingsManager

      public void setCustomPageSettingsManager(CustomPageSettingsManager customPageSettingsManager)
    • isEditMode

      public boolean isEditMode()
      Specified by:
      isEditMode in interface FormAware
    • isSpaceRequired

      public boolean isSpaceRequired()
      Description copied from interface: SpaceAware
      If the action requires that the space be set before being run, then it should return true to this method. If the action requires a space, but no space is available, then the interceptor will automatically redirect to the 'pagenotfound' result
      Specified by:
      isSpaceRequired in interface SpaceAware
      Returns:
      true if the action requires a space in order to execute
    • isViewPermissionRequired

      public boolean isViewPermissionRequired()
      Specified by:
      isViewPermissionRequired in interface SpaceAware
      Returns:
      true if the action requires view space permission