public abstract class AbstractWorkingDbAction extends EchoBaseActionSupport implements com.opensymphony.xwork2.Preparable, org.apache.struts2.interceptor.ParameterAware
| Modifier and Type | Field and Description |
|---|---|
protected WorkingDbConfiguration |
conf
Current working db configuration.
|
protected Map<String,String> |
confs
All available working db configuration from database.
|
protected DecoratorService |
decoratorService |
protected Map<String,String> |
driverTypes
All available driver types.
|
protected InternalDbPersistenceService |
internalDbPersistenceService |
protected WorkingDbConfigurationService |
workingDbConfigurationService |
| Constructor and Description |
|---|
AbstractWorkingDbAction() |
| Modifier and Type | Method and Description |
|---|---|
WorkingDbConfiguration |
getConf() |
Map<String,String> |
getConfs() |
Map<String,String> |
getDriverTypes() |
boolean |
isConfExists() |
boolean |
isNewConf() |
void |
prepare() |
void |
setDecoratorService(DecoratorService decoratorService) |
void |
setInternalDbPersistenceService(InternalDbPersistenceService internalDbPersistenceService) |
void |
setParameters(Map<String,String[]> parameters) |
void |
setWorkingDbConfigurationService(WorkingDbConfigurationService workingDbConfigurationService) |
addFlashError, addFlashMessage, addFlashWarning, formatDate, formatMonth, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getServiceContext, newService, setApplicationContext, setEchoBaseSession, setServiceContextaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, 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 WorkingDbConfiguration conf
protected transient InternalDbPersistenceService internalDbPersistenceService
protected transient WorkingDbConfigurationService workingDbConfigurationService
protected transient DecoratorService decoratorService
public boolean isNewConf()
public final WorkingDbConfiguration getConf()
public final boolean isConfExists()
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic void setParameters(Map<String,String[]> parameters)
setParameters in interface org.apache.struts2.interceptor.ParameterAwarepublic void setInternalDbPersistenceService(InternalDbPersistenceService internalDbPersistenceService)
public void setWorkingDbConfigurationService(WorkingDbConfigurationService workingDbConfigurationService)
public void setDecoratorService(DecoratorService decoratorService)
Copyright © 2011–2013 Ifremer. All rights reserved.