public class

ReorderPageDialogAction

extends AbstractPageAwareAction
implements SpaceAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.pages.actions.AbstractPageAwareAction
         ↳ com.atlassian.confluence.pages.actions.ReorderPageDialogAction

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
ReorderPageDialogAction()
Public Methods
String doDefault()
Default webwork action execution method.
List<Page> getChildren()
String getMovedPageId()
String getPageTitle()
Space getSpace()
boolean isPageRequired()
A page is not required since it is possible for the parent to be the root of the space.
boolean isSpaceRequired()
If the action requires that the space be set before being run, then it should return true to this method.
void setMovedPageId(String movedPageId)
void setPageManager(PageManager pageManager)
void setPageTitle(String pageTitle)
void setPanelName(String panelName)
void setSpace(Space space)
IOC method for setting the space on the action.
[Expand]
Inherited Methods
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.pages.actions.PageAware
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.spaces.Spaced
From interface com.atlassian.confluence.spaces.actions.SpaceAware
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public ReorderPageDialogAction ()

Public Methods

public String doDefault ()

Default webwork action execution method.

Returns
  • the action result

public List<Page> getChildren ()

public String getMovedPageId ()

public String getPageTitle ()

public Space getSpace ()

public boolean isPageRequired ()

A page is not required since it is possible for the parent to be the root of the space.

Returns
  • true if the action requires a page in order to execute

public boolean isSpaceRequired ()

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

Returns
  • true if the action requires a space in order to execute

public void setMovedPageId (String movedPageId)

public void setPageManager (PageManager pageManager)

public void setPageTitle (String pageTitle)

public void setPanelName (String panelName)

public void setSpace (Space space)

IOC method for setting the space on the action. This is called from the interceptor

Parameters
space the space that the action will be working on.