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, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.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, messageHolder, 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
 java.lang.String doDefault()
          Default webwork action execution method.
 java.util.List<Space> getAvailableSpaces()
           
 java.lang.String getDialogMode()
           
 java.lang.String getNewSpaceKey()
           
 Page getParentPage()
           
 java.lang.String getParentPageString()
           
 java.lang.String getParentPageTitle()
           
 Space getSpace()
           
 java.lang.String getSpaceKey()
           
 java.lang.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(java.lang.String dialogMode)
           
 void setPageManager(PageManager pageManager)
           
 void setPanelName(java.lang.String panelName)
           
 void setParentPageString(java.lang.String parentPageString)
           
 void setSpaceKey(java.lang.String spaceKey)
           
 
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
getFriendlyDateFormatterHelper, getPage, getPageId, hasViewPagePermission, isLatestVersionRequired, isPermitted, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, 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
 
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
 

Constructor Detail

MovePageDialogAction

public MovePageDialogAction()
Method Detail

doDefault

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

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result

getAvailableSpaces

public java.util.List<Space> getAvailableSpaces()

setDialogMode

public void setDialogMode(java.lang.String dialogMode)

getDialogMode

public java.lang.String getDialogMode()

getSpaceKey

public java.lang.String getSpaceKey()
Overrides:
getSpaceKey in class AbstractPageAwareAction

getNewSpaceKey

public java.lang.String getNewSpaceKey()

setSpaceKey

public void setSpaceKey(java.lang.String spaceKey)

getSpace

public Space getSpace()
Overrides:
getSpace in class AbstractPageAwareAction

getParentPage

public Page getParentPage()

getParentPageTitle

public java.lang.String getParentPageTitle()

getTitle

public java.lang.String getTitle()
Overrides:
getTitle in class AbstractPageAwareAction

setParentPageString

public void setParentPageString(java.lang.String parentPageString)

getParentPageString

public java.lang.String getParentPageString()

setPanelName

public void setPanelName(java.lang.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-2014 Atlassian. All Rights Reserved.