|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.nuiton.web.struts2.BaseAction
fr.ifremer.echobase.ui.actions.EchoBaseActionSupport
fr.ifremer.echobase.ui.actions.importData.AbstractConfigureImport<M>
public abstract class AbstractConfigureImport<M extends AbstractImportConfiguration>
Configure a accoustic data import.
| Field Summary | |
|---|---|
protected M |
model
|
protected Class<M> |
modelType
|
| Fields inherited from class fr.ifremer.echobase.ui.actions.EchoBaseActionSupport |
|---|
APPLICATION_CONTEXT_PARAMETER, serviceContext, serviceFactory, SESSION_PARAMETER, transaction |
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
protected |
AbstractConfigureImport(Class<M> modelType)
|
| Method Summary | ||
|---|---|---|
protected abstract M |
createModel()
|
|
String |
execute()
|
|
protected M |
getFromSession()
|
|
M |
getModel()
|
|
String |
input()
|
|
protected
|
loadSortAndDecorate(EchoBaseServiceSupport service,
Class<E> beanType)
|
|
protected void |
setInSession(M model)
|
|
void |
setModel(M model)
|
|
| Methods inherited from class fr.ifremer.echobase.ui.actions.EchoBaseActionSupport |
|---|
copyFile, decorate, decorateEnums, formatDate, formatMonth, getActionContext, getApplicationVersion, getConfiguration, getDateFormat, getDecoratorService, getEchoBaseApplicationContext, getEchoBaseSession, getMonthFormat, getServiceContext, getServiceFactory, getTransaction, isAdmin, newService, setTransaction, sortAndDecorate |
| Methods inherited from class org.nuiton.web.struts2.BaseAction |
|---|
_ |
| 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, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Class<M extends AbstractImportConfiguration> modelType
protected M extends AbstractImportConfiguration model
| Constructor Detail |
|---|
protected AbstractConfigureImport(Class<M> modelType)
| Method Detail |
|---|
public final M getModel()
protected abstract M createModel()
public String input()
throws Exception
input in class com.opensymphony.xwork2.ActionSupportException
public String execute()
throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected final void setInSession(M model)
protected final M getFromSession()
public final void setModel(M model)
protected <E extends org.nuiton.topia.persistence.TopiaEntity> Map<String,String> loadSortAndDecorate(EchoBaseServiceSupport service,
Class<E> beanType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||