public class SaveEntity extends EchoBaseActionSupport implements org.apache.struts2.interceptor.ParameterAware
| Modifier and Type | Field and Description |
|---|---|
protected DbEditorService |
dbEditorService |
protected EchoBaseUserEntityEnum |
entityType
Type of entity to save.
|
protected EchoBaseUserPersistenceContext |
persistenceContext |
protected String |
topiaId
id of entity to save.
|
| Constructor and Description |
|---|
SaveEntity() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
EchoBaseUserEntityEnum |
getEntityType() |
void |
setEntityType(EchoBaseUserEntityEnum entityType) |
void |
setParameters(Map<String,String[]> parameters) |
void |
setTopiaId(String topiaId) |
addFlashError, addFlashMessage, addFlashWarning, formatDate, formatMonth, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getServiceContext, newServiceaddActionError, 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 EchoBaseUserEntityEnum entityType
protected String topiaId
@Inject protected transient DbEditorService dbEditorService
@Inject protected transient EchoBaseUserPersistenceContext persistenceContext
public void setEntityType(EchoBaseUserEntityEnum entityType)
public EchoBaseUserEntityEnum getEntityType()
public void setTopiaId(String topiaId)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionCopyright © 2011–2014 Ifremer. All rights reserved.