|
||||||||||
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.ResetImportAction
public class ResetImportAction
Action that reset the import. SO USE THIS ACTION VERY CAREFULLY. The reset will be launched only if the confirm attribute in session is equals to true
ImporterManager
,
Serialized FormField Summary | |
---|---|
static String |
ASK
view of the page that ask for confirmation |
static String |
IMPORT_IN_PROGRESS
view of page that gives information after the reset |
static String |
RESET
view of page that gives information after the reset |
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ResetImportAction()
|
Method Summary | |
---|---|
String |
confirm()
set the RESET_IMPORT_CONFIRM in session to true |
String |
execute()
|
List<String> |
getErrorsAndWarningMessages()
|
String |
getFailedMessage()
|
boolean |
isConfirmed()
|
boolean |
isResetFailed()
|
String |
reset()
reset the import, only if RESET_IMPORT_CONFIRM is equals to true |
void |
setImporterManager(IImporterManager importerManager)
|
void |
unconfirm()
remove the RESET_IMPORT_CONFIRM of the session |
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 String ASK
public static String RESET
public static String IMPORT_IN_PROGRESS
Constructor Detail |
---|
public ResetImportAction()
Method Detail |
---|
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public String reset()
confirm()
public boolean isConfirmed()
public String confirm()
public void unconfirm()
public void setImporterManager(IImporterManager importerManager)
importerManager
- the importerManager to setpublic List<String> getErrorsAndWarningMessages()
public boolean isResetFailed()
public String getFailedMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |