com.atlassian.confluence.pages.actions
Class MovePageDialogAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.pages.actions.AbstractPageAwareAction
              extended by com.atlassian.confluence.pages.actions.MovePageDialogAction
All Implemented Interfaces:
PageAware, WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, Serializable

public class MovePageDialogAction
extends AbstractPageAwareAction

An action for suppling panels in the MovePageDialog as they are required.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
contentPermissionManager, spaceManager
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
MovePageDialogAction()
           
 
Method Summary
 String doDefault()
          Default webwork action execution method.
 List<Space> getAvailableSpaces()
           
 String getDialogMode()
           
 String getNewSpaceKey()
           
 Page getParentPage()
           
 String getParentPageString()
           
 String getParentPageTitle()
           
 Space getSpace()
           
 String getSpaceKey()
           
 String getTitle()
           
 boolean isPageRequired()
          If the action requires that the page be set before being run, then it should return true to this method.
 void setDialogMode(String dialogMode)
           
 void setPageManager(PageManager pageManager)
           
 void setPanelName(String panelName)
           
 void setParentPageString(String parentPageString)
           
 void setSpaceKey(String spaceKey)
           
 
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
getPage, getPageId, hasViewPagePermission, isLatestVersionRequired, isPermitted, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovePageDialogAction

public MovePageDialogAction()
Method Detail

doDefault

public String doDefault()
Description copied from class: ConfluenceActionSupport
Default webwork action execution method.

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result

getAvailableSpaces

public List<Space> getAvailableSpaces()

setDialogMode

public void setDialogMode(String dialogMode)

getDialogMode

public String getDialogMode()

getSpaceKey

public String getSpaceKey()
Overrides:
getSpaceKey in class AbstractPageAwareAction

getNewSpaceKey

public String getNewSpaceKey()

setSpaceKey

public void setSpaceKey(String spaceKey)

getSpace

public Space getSpace()
Overrides:
getSpace in class AbstractPageAwareAction

getParentPage

public Page getParentPage()

getParentPageTitle

public String getParentPageTitle()

getTitle

public String getTitle()
Overrides:
getTitle in class AbstractPageAwareAction

setParentPageString

public void setParentPageString(String parentPageString)

getParentPageString

public String getParentPageString()

setPanelName

public void setPanelName(String panelName)

isPageRequired

public boolean isPageRequired()
Description copied from interface: PageAware
If the action requires that the page be set before being run, then it should return true to this method. If the action requires a page, but no page is available, then the interceptor will automatically redirect to the 'pagenotfound' result

Specified by:
isPageRequired in interface PageAware
Overrides:
isPageRequired in class AbstractPageAwareAction
Returns:
true if the action requires a page in order to execute

setPageManager

public void setPageManager(PageManager pageManager)


Copyright © 2003-2011 Atlassian. All Rights Reserved.