|
||||||||||
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 java.lang.String |
ASK
view of the page that ask for confirmation |
static java.lang.String |
IMPORT_IN_PROGRESS
view of page that gives information after the reset |
static java.lang.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 | |
---|---|
java.lang.String |
confirm()
set the RESET_IMPORT_CONFIRM in session to true |
java.lang.String |
execute()
|
java.util.List<java.lang.String> |
getErrorsAndWarningMessages()
|
java.lang.String |
getFailedMessage()
|
boolean |
isConfirmed()
|
boolean |
isResetFailed()
|
java.lang.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 java.lang.String ASK
public static java.lang.String RESET
public static java.lang.String IMPORT_IN_PROGRESS
Constructor Detail |
---|
public ResetImportAction()
Method Detail |
---|
public 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 java.lang.String reset()
confirm()
public boolean isConfirmed()
public java.lang.String confirm()
public void unconfirm()
public void setImporterManager(IImporterManager importerManager)
importerManager
- the importerManager to setpublic java.util.List<java.lang.String> getErrorsAndWarningMessages()
public boolean isResetFailed()
public java.lang.String getFailedMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |