|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction
com.atlassian.confluence.importexport.actions.AbstractImportAction
com.atlassian.confluence.importexport.actions.AbstractFileRestoreAction
com.atlassian.confluence.importexport.actions.RestoreAction
com.atlassian.confluence.importexport.actions.RestorePageAction
public class RestorePageAction
Restores a single page from a single page XML export. We stop the user from attempting to restore any other export types here
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.importexport.actions.AbstractImportAction |
---|
RESTORE_DIR |
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 | |
---|---|
RestorePageAction()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.atlassian.confluence.importexport.actions.RestoreAction |
---|
getRestoreFile, isDeleteWorkingFile |
Methods inherited from class com.atlassian.confluence.importexport.actions.AbstractImportAction |
---|
execute, getIndexManager, getLocalFileName, getRestoreFileFromFileSystem, getRestoreFileFromUpload, getTask, getTaskId, isBuildIndex, setBuildIndex, setEventPublisher, setIndexManager, setLocalFileName |
Methods inherited from class com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction |
---|
getBuildInformation, getFilesInRestoreFolder, getImportExportManager, getSystemFileSeparator, isSynchronous, setImportExportManager, setSynchronous |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, 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 |
---|
public RestorePageAction()
Method Detail |
---|
protected boolean isImportAllowed(ExportDescriptor exportDescriptor) throws ImportExportException
AbstractImportAction
isImportAllowed
in class AbstractFileRestoreAction
ImportExportException
public boolean isPermitted()
isPermitted
in class RestoreAction
public Space getSpace()
getSpace
in interface Spaced
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |