Class ReorderPageDialogAction

  • 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

    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:
    Serialized Form
    • Constructor Detail

      • ReorderPageDialogAction

        public ReorderPageDialogAction()
    • Method Detail

      • 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.
      • 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)