package com.vci.web.service; import com.vci.corba.omd.btm.BizType; import com.vci.dto.OsBtmTypeExportDTO; import com.vci.starter.web.exception.VciBaseException; 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 btmItems); /** * 批量添加业务类型 * @param btmItems 业务类型的对象 */ void batchEditBtm(Collection btmItems); /** * 导出业务类型的信息到Word中 * @param btmTypeIdCollection 业务类型的编号集合 * @return word的全路径 */ String exportBtmTypesToWord(Collection btmTypeIdCollection); /** * 导出业务类型的信息到Excel中 * @param btmTypeIdCollection 业务类型的编号集合 * @return excel的全路径 */ String exportBtmTypesToExcel(Collection btmTypeIdCollection); }