|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
com.gisgraphy.webapp.action.ImportAction
public class ImportAction
Action that do the all import
ImporterManager
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
WAIT
|
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ImportAction()
|
Method Summary | |
---|---|
java.lang.String |
doImport()
Run import if not in progress or already done, otherwise return Wait view |
java.lang.String |
execute()
|
java.lang.String |
getErrorMessage()
|
IImporterManager |
getImporterManager()
|
java.util.List<ImporterStatusDto> |
getImporterStatusDtoList()
|
java.lang.String |
getImportFormatedTimeElapsed()
|
ImporterStatus[] |
getStatusEnumList()
|
boolean |
isImportAlreadyDone()
|
boolean |
isImportInProgress()
|
void |
setImporterManager(IImporterManager importerManager)
|
java.lang.String |
status()
|
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String WAIT
Constructor Detail |
---|
public ImportAction()
Method Detail |
---|
public java.lang.String getImportFormatedTimeElapsed()
public boolean isImportInProgress()
public boolean isImportAlreadyDone() throws ImporterMetaDataException
ImporterMetaDataException
public java.lang.String doImport()
java.lang.Exception
- When errors occurredpublic java.lang.String status() throws java.lang.Exception
java.lang.Exception
- if errors occurredpublic java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
java.lang.Exception
public ImporterStatus[] getStatusEnumList()
public void setImporterManager(IImporterManager importerManager)
importerManager
- the importerManager to setpublic java.util.List<ImporterStatusDto> getImporterStatusDtoList()
public IImporterManager getImporterManager()
public java.lang.String getErrorMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |