public abstract class AbstractWaitAndExecAction<M extends AbstractEchobaseActionConfiguration,S extends EchoBaseService> extends EchoBaseActionSupport implements com.opensymphony.xwork2.Preparable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractWaitAndExecAction(Class<M> modelType,
Class<S> serviceType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeAction(M model) |
protected void |
destroyModel(M model) |
String |
execute() |
abstract String |
getActionResumeTitle() |
Exception |
getError() |
protected abstract String |
getErrorMessage() |
String |
getErrorStack() |
M |
getModel() |
String |
getResult() |
protected abstract String |
getResultMessage(M model) |
protected abstract String |
getSuccesMessage() |
void |
prepare() |
String |
result() |
protected abstract void |
startAction(S service,
M model) |
addFlashError, addFlashMessage, addFlashWarning, clearFlashErrors, clearFlashMessages, decorateEnums, formatDate, formatMonth, getActionContext, getApplicationVersion, getConfiguration, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getFlashErrors, getFlashMessages, getFlashWarnings, getParameters, getService, getServiceContext, getSession, hasAnyErrors, hasFlashErrors, hasFlashMessages, hasFlashWarnings, isAdmin, isWorkingDbSelected, loadSortAndDecorate, setParameters, setSessionaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validatepublic final String getResult()
public final Exception getError()
public final String getErrorStack()
protected abstract void startAction(S service, M model) throws Exception
Exceptionpublic abstract String getActionResumeTitle()
protected abstract String getSuccesMessage()
protected abstract String getErrorMessage()
public final M getModel()
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic final String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected void destroyModel(M model) throws IOException
IOExceptionCopyright © 2011-2013 Ifremer. All Rights Reserved.