public class

RestoreAction

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.RestoreAction
Known Direct Subclasses

Class Overview

restores a file from an uploaded file. Removing the file is the responsibility of the restore task.

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
RestoreAction()
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 RestoreAction ()

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.