public interface ConnectionController
限定符和类型 | 方法和说明 |
---|---|
void |
addConnectionInfo(java.lang.String userId,
ConnectionInfoBean bean)
新增一个数据连接
|
void |
deleteConnectionInfoById(java.lang.String userId,
java.lang.String id)
删除一个数据连接
|
boolean |
doesServerDataSetHasPrivilegeDetail(java.lang.String userId,
AuthorityType authorityType)
获取服务器数据集的权限细节
|
ConnectionInfoBean[] |
getConnections(java.lang.String userId,
java.lang.String keyword,
AuthorityType authorityType,
boolean withPassword)
数据连接查询
|
ConnectionInfoBean[] |
getConnections(java.lang.String userId,
java.lang.String keyword,
boolean withPassword)
数据连接查询
|
java.lang.String[] |
testDataConnection(ConnectionInfoBean bean)
测试连接
|
void |
updateConnectionInfo(java.lang.String userId,
ConnectionInfoBean bean)
更新一个数据连接
|
ConnectionInfoBean[] getConnections(java.lang.String userId, java.lang.String keyword, boolean withPassword) throws java.lang.Exception
userId
- 用户idkeyword
- 关键字withPassword
- 是否要密码java.lang.Exception
- 异常ConnectionInfoBean[] getConnections(java.lang.String userId, java.lang.String keyword, AuthorityType authorityType, boolean withPassword) throws java.lang.Exception
userId
- 当前用户IDkeyword
- 关键词authorityType
- 权限类型withPassword
- 是否要密码java.lang.Exception
- 异常void addConnectionInfo(java.lang.String userId, ConnectionInfoBean bean) throws java.lang.Exception
bean
- 数据连接对象java.lang.Exception
- 异常void updateConnectionInfo(java.lang.String userId, ConnectionInfoBean bean) throws java.lang.Exception
bean
- 数据连接对象java.lang.Exception
- 异常void deleteConnectionInfoById(java.lang.String userId, java.lang.String id) throws java.lang.Exception
id
- 数据连接idjava.lang.Exception
- 异常java.lang.String[] testDataConnection(ConnectionInfoBean bean) throws java.lang.Exception
bean
- 数据连接对象java.lang.Exception
- 异常boolean doesServerDataSetHasPrivilegeDetail(java.lang.String userId, AuthorityType authorityType) throws java.lang.Exception
userId
- 用户IDauthorityType
- 权限类型java.lang.Exception
- 异常