public class

RestorePageAction

extends RestoreAction
implements Spaced SpaceAdministrative
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
               ↳ com.atlassian.confluence.importexport.actions.RestorePageAction

Class Overview

Restores a single page from a single page XML export. We stop the user from attempting to restore any other export types here

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.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
RestorePageAction()
Public Methods
String getKey()
Space getSpace()
ThemeHelper getThemeHelper()
WikiStyleRenderer getWikiStyleRenderer()
boolean isPermitted()
void setKey(String key)
void setSpaceManager(SpaceManager spaceManager)
void setWikiStyleRenderer(WikiStyleRenderer wikiStyleRenderer)
Protected Methods
DefaultImportContext createImportContext(ExportDescriptor exportDescriptor)
Builds the import context from the restore file xml
boolean isImportAllowed(ExportDescriptor exportDescriptor)
Override if you want to prohibit certain types of export zips from being imported
[Expand]
Inherited Methods
From class com.atlassian.confluence.importexport.actions.RestoreAction
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.atlassian.confluence.spaces.Spaced
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 RestorePageAction ()

Public Methods

public String getKey ()

public Space getSpace ()

public ThemeHelper getThemeHelper ()

public WikiStyleRenderer getWikiStyleRenderer ()

public boolean isPermitted ()

public void setKey (String key)

public void setSpaceManager (SpaceManager spaceManager)

public void setWikiStyleRenderer (WikiStyleRenderer wikiStyleRenderer)

Protected Methods

protected DefaultImportContext createImportContext (ExportDescriptor exportDescriptor)

Builds the import context from the restore file xml

Returns
  • the import context

protected boolean isImportAllowed (ExportDescriptor exportDescriptor)

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