public abstract class

AbstractFileRestoreAction

extends AbstractImportAction
java.lang.Object
   ↳ com.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
Known Direct Subclasses
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.importexport.actions.AbstractImportAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.importexport.actions.AbstractImportAction
From class com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
AbstractFileRestoreAction()
Public Methods
void setSpaceManager(SpaceManager spaceManager)
Protected Methods
DefaultImportContext createImportContext()
Builds the import context from the restore file xml
abstract File getRestoreFile()
abstract boolean isDeleteWorkingFile()
Determines whether to delete the file after processing
boolean isImportAllowed()
Override if you want to prohibit certain types of export zips from being imported
[Expand]
Inherited Methods
From class com.atlassian.confluence.importexport.actions.AbstractImportAction
From class com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
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 AbstractFileRestoreAction ()

Public Methods

public void setSpaceManager (SpaceManager spaceManager)

Protected Methods

protected DefaultImportContext createImportContext ()

Builds the import context from the restore file xml

Returns
  • the import context

protected abstract File getRestoreFile ()

protected abstract boolean isDeleteWorkingFile ()

Determines whether to delete the file after processing

Returns
  • true if the file is to be deleted.

protected boolean isImportAllowed ()

Override if you want to prohibit certain types of export zips from being imported