public class ResetImportAction
extends com.opensymphony.xwork2.ActionSupport
ImporterManager,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
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
|
| Constructor and Description |
|---|
ResetImportAction() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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, validatepublic static String ASK
public static String RESET
public static String IMPORT_IN_PROGRESS
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic 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()
Copyright © 2015. All rights reserved.