|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction com.atlassian.confluence.importexport.actions.AbstractImportAction
Field Summary | |
static String |
RESTORE_DIR
|
Fields inherited from class com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction |
importExportManager, synchronous |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, 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 | |
AbstractImportAction()
|
Method Summary | |
protected abstract DefaultImportContext |
createImportContext()
|
protected void |
doRestore()
|
String |
execute()
|
String |
getLocalFileName()
|
protected File |
getRestoreFileFromFileSystem()
|
protected File |
getRestoreFileFromUpload()
retrieves restore file from upload |
LongRunningTask |
getTask()
|
boolean |
isBuildIndex()
|
protected boolean |
isImportAllowed()
Override if you want to prohibit certain types of export zips from being imported |
void |
setBuildIndex(boolean buildIndex)
|
void |
setConfluenceBatchIndexer(BatchIndexer confluenceBatchIndexer)
|
void |
setLocalFileName(String localFileName)
|
Methods inherited from class com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction |
getFilesInRestoreFolder, 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 |
Field Detail |
public static final String RESTORE_DIR
Constructor Detail |
public AbstractImportAction()
Method Detail |
public String execute() throws Exception
Exception
public LongRunningTask getTask()
protected void doRestore() throws ImportExportException
ImportExportException
protected File getRestoreFileFromUpload() throws ImportExportException
ImportExportException
protected File getRestoreFileFromFileSystem() throws ImportExportException
ImportExportException
protected boolean isImportAllowed() throws ImportExportException
ImportExportException
public String getLocalFileName()
public void setLocalFileName(String localFileName)
public boolean isBuildIndex()
public void setBuildIndex(boolean buildIndex)
protected abstract DefaultImportContext createImportContext() throws ImportExportException
ImportExportException
public void setConfluenceBatchIndexer(BatchIndexer confluenceBatchIndexer)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |