354798ggg
2023-08-29 fd0c7c174d7b7313aa49061df05350405a3c1bf1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.product.data.sync.service.ide;
 
import com.product.core.entity.DataTableEntity;
import com.product.core.entity.FieldSetEntity;
import com.product.core.exception.BaseException;
 
import java.sql.SQLException;
 
/**
 * Copyright LX-BASE
 *
 * @Title: IConnectionConfigurationService
 * @Project: LX-BASE-SERVER
 * @Date: 2021-08-18 11:30:48
 * @Author: luoxin
 * @Description: 数据源连接接口
 */
public interface IConnectionConfigurationService {
 
 
    /**
     *     保存数据库配置连接
     * @param
     * @return
     * @throws BaseException
     */
    String saveConnectionConfiguration(FieldSetEntity fieldSetEntity) throws BaseException, SQLException, ClassNotFoundException;
 
    /**
     *     获取数据库配置连接列表
     * @param
     * @return
     * @throws BaseException
     */
    DataTableEntity listConnectionConfiguration(FieldSetEntity fieldSetEntity) throws BaseException;
 
    /**
     *     获取数据库配置连接详情
     * @param
     * @return
     * @throws BaseException
     */
    FieldSetEntity getConnectionConfiguration(FieldSetEntity fieldSetEntity) throws BaseException;
 
    /**
     *     删除数据库配置连接详情
     * @param
     * @return
     * @throws BaseException
     */
    boolean delConnectionConfiguration(FieldSetEntity fieldSetEntity) throws BaseException;
 
    /**
     *     通过表名或者字段,再保存为参照
     * @param
     * @return
     * @throws BaseException
     */
    Boolean saveField(FieldSetEntity fieldSetEntity) throws BaseException, SQLException, ClassNotFoundException;
}