public abstract class AbstractConfigureAction<M extends AbstractEchobaseActionConfiguration> extends EchoBaseActionSupport
| Modifier and Type | Field and Description |
|---|---|
protected DecoratorService |
decoratorService |
protected WorkingDbPersistenceService |
workingDbPersistenceService |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConfigureAction(Class<M> modelType) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract M |
createModel() |
String |
execute() |
protected M |
getFromSession() |
M |
getModel() |
String |
input() |
protected abstract void |
prepareExecuteAction(M model) |
protected void |
prepareInputAction(M model) |
void |
setDecoratorService(DecoratorService decoratorService) |
protected void |
setInSession(M model) |
void |
setWorkingDbPersistenceService(WorkingDbPersistenceService workingDbPersistenceService) |
addFlashError, addFlashMessage, addFlashWarning, formatDate, formatMonth, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getServiceContext, newService, setApplicationContext, setEchoBaseSession, setServiceContextaddActionError, 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, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected transient WorkingDbPersistenceService workingDbPersistenceService
protected transient DecoratorService decoratorService
protected abstract M createModel()
protected abstract void prepareExecuteAction(M model) throws IOException
IOExceptionpublic final String input() throws Exception
input in class com.opensymphony.xwork2.ActionSupportExceptionpublic final String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic final M getModel()
protected void prepareInputAction(M model)
protected final void setInSession(M model)
protected final M getFromSession()
public void setWorkingDbPersistenceService(WorkingDbPersistenceService workingDbPersistenceService)
public void setDecoratorService(DecoratorService decoratorService)
Copyright © 2011–2013 Ifremer. All rights reserved.