yuxc
2024-07-26 613a6c5414c5294c8078cabb1d9d818be62c12e6
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
package com.vci.web.service;
 
import com.vci.corba.omd.btm.BizType;
import com.vci.starter.web.exception.VciBaseException;
import com.vci.dto.OsBtmTypeExportDTO;
 
import java.util.Collection;
 
/**
 * 对象建模相关的导入
 * @author weidy
 * @date 2021/8/13
 */
public interface WebBtmIOServiceI {
 
 
    /**
     * 导入业务类型和链接类型,包含属性,枚举,状态,生命周期,版本规则等全套内容
     *
     * @param importBtmTypeDTO 需要导入的业务类型,链接类型等内容
     * @throws VciBaseException
     */
    void importBtmTypes(OsBtmTypeExportDTO importBtmTypeDTO) throws VciBaseException;
 
    /**
     * 批量添加业务类型
     * @param btmItems 业务类型的对象
     */
    void batchAddBtm(Collection<BizType> btmItems);
 
    /**
     * 批量添加业务类型
     * @param btmItems 业务类型的对象
     */
    void batchEditBtm(Collection<BizType> btmItems);
 
    /**
     * 导出业务类型的信息到Word中
     * @param btmTypeIdCollection 业务类型的编号集合
     * @return word的全路径
     */
    String exportBtmTypesToWord(Collection<String> btmTypeIdCollection);
    /**
     * 导出业务类型的信息到Excel中
     * @param btmTypeIdCollection 业务类型的编号集合
     * @return excel的全路径
     */
    String exportBtmTypesToExcel(Collection<String> btmTypeIdCollection);
}