public class

RestoreLocalFileAction

extends AbstractFileRestoreAction
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
             ↳ com.atlassian.confluence.importexport.actions.RestoreLocalFileAction
Known Direct Subclasses

Class Overview

Restores a backup file from the restore directory in the Confluence home folder.

This does not remove the backup file after the restore completes.

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
RestoreLocalFileAction()
Public Methods
boolean isPermitted()
Protected Methods
File getRestoreFile()
boolean isDeleteWorkingFile()
Determines whether to delete the file after processing
[Expand]
Inherited Methods
From class com.atlassian.confluence.importexport.actions.AbstractFileRestoreAction
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 RestoreLocalFileAction ()

Public Methods

public boolean isPermitted ()

Protected Methods

protected File getRestoreFile ()

protected boolean isDeleteWorkingFile ()

Determines whether to delete the file after processing

Returns
  • true if the file is to be deleted.