public class RestorePageAction extends RestoreAction implements SpaceAdministrative, Spaced
RESTORE_DIR
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
RestorePageAction() |
Modifier and Type | Method and Description |
---|---|
protected DefaultImportContext |
createImportContext(ExportDescriptor exportDescriptor)
Builds the import context from the restore file xml
|
String |
getKey() |
Space |
getSpace() |
ThemeHelper |
getThemeHelper() |
ThemeManager |
getThemeManager() |
com.atlassian.renderer.WikiStyleRenderer |
getWikiStyleRenderer() |
protected boolean |
isImportAllowed(ExportDescriptor exportDescriptor)
Override if you want to prohibit certain types of export zips from being imported
|
boolean |
isPermitted() |
void |
setKey(String key) |
void |
setSpaceManager(SpaceManager spaceManager) |
void |
setThemeManager(ThemeManager themeManager) |
void |
setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer) |
execute, getRestoreFile, isDeleteWorkingFile
setDocumentationBeanFactory
createImportTask, getIndexManager, getLocalFileName, getRestoreFileFromFileSystem, getRestoreFileFromUpload, getTask, getTaskId, isBuildIndex, setBuildIndex, setEventPublisher, setIndexManager, setLocalFileName, setLongRunningTaskManager, setTaskId
getBuildInformation, getFilenames, getFilesInRestoreFolder, getFullExportBackwardsCompatibility, getImportExportManager, getMinimumFullImportVersion, getMinimumSpaceImportVersion, getSystemFileSeparator, isSynchronous, setImportExportManager, setSynchronous
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
protected boolean isImportAllowed(ExportDescriptor exportDescriptor) throws ImportExportException
AbstractImportAction
isImportAllowed
in class AbstractFileRestoreAction
ImportExportException
public boolean isPermitted()
isPermitted
in class RestoreAction
public void setSpaceManager(SpaceManager spaceManager)
setSpaceManager
in class AbstractFileRestoreAction
protected DefaultImportContext createImportContext(ExportDescriptor exportDescriptor) throws ImportExportException, UnexpectedImportZipFileContents
AbstractFileRestoreAction
createImportContext
in class AbstractFileRestoreAction
ImportExportException
UnexpectedImportZipFileContents
public String getKey()
public void setKey(String key)
public com.atlassian.renderer.WikiStyleRenderer getWikiStyleRenderer()
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
public ThemeHelper getThemeHelper()
public void setThemeManager(ThemeManager themeManager)
public ThemeManager getThemeManager()
Copyright © 2003–2020 Atlassian. All rights reserved.