Class ReorderPageDialogAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
PageAware, 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 ReorderPageDialogAction extends AbstractPageAwareAction implements SpaceAware
An action for supplying panels for the re-order page of the MovePageDialog. This action is PageAware but the page in question is the parent of the one being moved.
See Also:
  • Constructor Details

    • ReorderPageDialogAction

      public ReorderPageDialogAction()
  • Method Details

    • doDefault

      @XsrfProtectionExcluded public String doDefault()
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
    • getChildren

      public List<Page> getChildren()
    • setPanelName

      public void setPanelName(String panelName)
    • isPageRequired

      public boolean isPageRequired()
      A page is not required since it is possible for the parent to be the root of the space.
      Specified by:
      isPageRequired in interface PageAware
      Overrides:
      isPageRequired in class AbstractPageAwareAction
      Returns:
      true if the action requires a page in order to execute
    • 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
    • setSpace

      public void setSpace(Space space)
      Description copied from interface: SpaceAware
      IOC method for setting the space on the action. This is called from the interceptor
      Specified by:
      setSpace in interface SpaceAware
      Parameters:
      space - the space that the action will be working on.
    • getSpace

      public Space getSpace()
      Specified by:
      getSpace in interface Spaced
      Overrides:
      getSpace in class AbstractPageAwareAction
    • setPageManager

      public void setPageManager(PageManager pageManager)
    • getPageTitle

      public String getPageTitle()
    • setPageTitle

      public void setPageTitle(String pageTitle)
    • getMovedPageId

      public String getMovedPageId()
    • setMovedPageId

      public void setMovedPageId(String movedPageId)