public class SaveEntity extends EchoBaseActionSupport implements org.apache.struts2.interceptor.ParameterAware
| Modifier and Type | Field and Description |
|---|---|
protected DbEditorService |
dbEditorService |
protected EchoBaseEntityEnum |
entityType
Type of entity to save.
|
protected String |
topiaId
id of entity to save.
|
| Constructor and Description |
|---|
SaveEntity() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
EchoBaseEntityEnum |
getEntityType() |
void |
setDbEditorService(DbEditorService dbEditorService) |
void |
setEntityType(EchoBaseEntityEnum entityType) |
void |
setParameters(Map<String,String[]> parameters) |
void |
setTopiaId(String topiaId) |
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, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected EchoBaseEntityEnum entityType
protected String topiaId
protected transient DbEditorService dbEditorService
public void setEntityType(EchoBaseEntityEnum entityType)
public EchoBaseEntityEnum getEntityType()
public void setTopiaId(String topiaId)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic void setParameters(Map<String,String[]> parameters)
setParameters in interface org.apache.struts2.interceptor.ParameterAwarepublic void setDbEditorService(DbEditorService dbEditorService)
Copyright © 2011–2013 Ifremer. All rights reserved.