public class ConfigService
extends java.lang.Object
构造器和说明 |
---|
ConfigService() |
public static ConfigService getInstance()
public BasicParamBean getBasicParam() throws java.lang.Exception
java.lang.Exception
- 异常public void setBasicParam(BasicParamBean basic) throws java.lang.Exception
basic
- 前端基本配置对象java.lang.Exception
- 异常public EmailConfigBean getEmailConfig() throws java.lang.Exception
java.lang.Exception
- 异常public void setEmailConfig(EmailConfigBean email) throws java.lang.Exception
email
- 前端邮箱配置对象java.lang.Exception
- 异常public void testEmailConnection(EmailConfigBean emailTest, java.util.Locale locale) throws java.lang.Exception
emailTest
- 前端邮箱配置对象java.lang.Exception
- 异常public CacheConfigBean getCacheConfig() throws java.lang.Exception
java.lang.Exception
- 异常public boolean getCacheReloadTemplate() throws java.lang.Exception
java.lang.Exception
- 异常public void setCacheReloadTemplate(boolean reload) throws java.lang.Exception
reload
- 是否总是重新读取模板java.lang.Exception
- 异常public void setCacheConfig(CacheConfigBean bean) throws java.lang.Exception
bean
- 缓存配置java.lang.Exception
- 异常public java.util.List<ConnectionInfoBean> getJDBCDatabaseConnectionsConfig(java.lang.String currentUserId) throws java.lang.Exception
currentUserId
- 用户idjava.lang.Exception
- 异常public ConnectionInfoBean[] getJDBCDatabaseConnectionsWithNoPassword(java.lang.String currentUserId) throws java.lang.Exception
currentUserId
- 当前用户IDjava.lang.Exception
- 异常public java.util.List<ConnectionInfoBean> getJDBCDatabaseConnectionsConfig(java.lang.String currentUserId, int authorityType) throws java.lang.Exception
currentUserId
- 用户idauthorityType
- 权限类型java.lang.Exception
- 异常public ConnectionInfoBean[] getJDBCDatabaseConnectionsWithNoPassword(java.lang.String currentUserId, int authorityType) throws java.lang.Exception
currentUserId
- 用户idauthorityType
- 权限类型java.lang.Exception
- 异常public void addConnectionInfo(java.lang.String currentUserId, ConnectionInfoBean bean) throws java.lang.Exception
currentUserId
- 用户idbean
- 数据连接对象java.lang.Exception
- 异常public void updateConnectionInfo(java.lang.String currentUserId, ConnectionInfoBean bean) throws java.lang.Exception
currentUserId
- 用户idbean
- 数据连接对象java.lang.Exception
- 异常public void deleteConnectionInfoById(java.lang.String currentUserId, java.lang.String connectionId) throws java.lang.Exception
currentUserId
- 用户idconnectionId
- 数据连接idjava.lang.Exception
- 异常public ConnectionStatus openConnection(java.lang.String userName, java.lang.String connectionId) throws java.lang.Exception
userName
- 用户名connectionId
- 数据连接idjava.lang.Exception
- 异常public StateHubService getConnectionStateHubService()
public void updateConnectionStatus(java.lang.String connectionId) throws java.lang.Exception
connectionId
- 数据连接idjava.lang.Exception
- 异常public void shutdownConnection(java.lang.String connectionId) throws java.lang.Exception
connectionId
- 数据连接idjava.lang.Exception
- 异常public java.lang.String[] testDataConnection(java.lang.String currentUserId, ConnectionInfoBean bean) throws java.lang.Exception
currentUserId
- 用户idbean
- 数据连接对象java.lang.Exception
- 异常public PSIConfigBean getPSIConfig()
public void setPSIConfig(PSIConfigBean bean)
bean
- SQL防注入配置对象public void setPSIKeyword(PSIConfigBean psi)
psi
- SQL防注入配置对象public void setPSIEscapedChars(PSIConfigBean psi)
psi
- 前端SQL防注入配置对象public LifecycleConfigBean getLifecycleConfig() throws java.lang.Exception
java.lang.Exception
- 异常public void setLifecycleConfig(LifecycleConfigBean bean) throws java.lang.Exception
bean
- 生命周期配置java.lang.Exception
- 异常public IntelliReleaseConfigBean getIntelliReleaseConfig() throws java.lang.Exception
java.lang.Exception
- 异常public void setIntelliReleaseConfig(IntelliReleaseConfigBean bean) throws java.lang.Exception
bean
- 智能释放java.lang.Exception
- 异常public PrewarningConfigBean getPrewarningConfig() throws java.lang.Exception
java.lang.Exception
- 异常public void setPrewarningConfig(PrewarningConfigBean bean) throws java.lang.Exception
java.lang.Exception
- 异常public DataUpdateMsgBean getDataUpdateMsgConfig() throws java.lang.Exception
java.lang.Exception
- 异常public void setDataUpdateMsgConfig(DataUpdateMsgBean bean) throws java.lang.Exception
bean
- 配置项java.lang.Exception
- 异常public LoginConfigBean getLoginConfig() throws java.lang.Exception
java.lang.Exception
- 异常public void setLoginConfig(LoginConfigBean bean) throws java.lang.Exception
bean
- 登录配置项java.lang.Exception
- 异常public LoginAppearanceConfigBean getLoginAppearanceConfig() throws java.lang.Exception
java.lang.Exception
public void setLoginAppearanceConfig(LoginAppearanceConfigBean bean) throws java.lang.Exception
java.lang.Exception
public void setCurrentTheme(ThemeConfigBean bean)
bean
- 主题对象public java.util.List<ThemeConfigBean> getAllThemes()
public void setStyleConfig(StyleConfigBean bean) throws java.lang.Exception
java.lang.Exception
public StyleConfigBean getStyleConfig() throws java.lang.Exception
java.lang.Exception
public boolean setUserDataSetConfig(UserDataSetBean bean) throws java.lang.Exception
java.lang.Exception
public UserDataSetBean getUserDataSetConfig() throws java.lang.Exception
java.lang.Exception
public PoolInfo getConnectionPoolInfo(java.lang.String connectionName) throws java.lang.Exception
java.lang.Exception
public ClusterExceptionWarningBean getClusterExceptionWarningConfig() throws java.lang.Exception
java.lang.Exception
- 异常public void setClusterExceptionWarningConfig(ClusterExceptionWarningBean bean) throws java.lang.Exception
bean
- 集群异常java.lang.Exception
- 异常