|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.importexport.actions.AbstractBackupRestoreAction
com.atlassian.confluence.importexport.actions.AbstractImportAction
public abstract class 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, localeManager, 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
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionpublic 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
ImportExportExceptionpublic String getLocalFileName()
public void setLocalFileName(String localFileName)
public boolean isBuildIndex()
public void setBuildIndex(boolean buildIndex)
protected abstract DefaultImportContext createImportContext()
throws ImportExportException
ImportExportExceptionpublic void setConfluenceBatchIndexer(BatchIndexer confluenceBatchIndexer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||