| | |
| | | import com.vci.corba.omd.btm.BizType; |
| | | import com.vci.dto.OsBtmTypeDTO; |
| | | import com.vci.model.IndexObject; |
| | | import com.vci.pagemodel.OsBtmTypeAttributeVO; |
| | | import com.vci.pagemodel.OsBtmTypeVO; |
| | | import com.vci.pagemodel.OsERVO; |
| | | import com.vci.pagemodel.OsUsedAttributeVO; |
| | | import com.vci.pagemodel.*; |
| | | import com.vci.starter.web.pagemodel.BaseResult; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | | import com.vci.starter.web.pagemodel.PageHelper; |
| | |
| | | * @return 业务类型对象 |
| | | */ |
| | | List<OsBtmTypeVO> selectAllBtm(); |
| | | /** |
| | | * 查询所有的业务类型 |
| | | * @return 业务类型对象 |
| | | */ |
| | | List<OsBtmTypeVO> selectAllBtm(Map<String, OsAttributeVO> attributeVOMap); |
| | | |
| | | /** |
| | | * 获取名字以filter开始的业务类型(for 查询),主要用于属性池的业务类型选择对话框 |
| | |
| | | Map<String,OsBtmTypeVO> selectAllBtmMap(); |
| | | |
| | | /** |
| | | * 查询所有的业务类型映射 |
| | | * @return key 是业务的英文名称的小写 |
| | | */ |
| | | Map<String,OsBtmTypeVO> selectAllBtmMap(Map<String, OsAttributeVO> attributeVOMap); |
| | | |
| | | /** |
| | | * 数据对象转换为显示对象 |
| | | * @param btmItems 数据对象 |
| | | * @return 显示对象 |
| | | */ |
| | | List<OsBtmTypeVO> btmDO2VOs(Collection<BizType> btmItems); |
| | | List<OsBtmTypeVO> btmDO2VOs(Collection<BizType> btmItems,Map<String, OsAttributeVO> attributeVOMap); |
| | | |
| | | /** |
| | | * 数据对象转换为显示对象 |
| | | * @param btmItem 数据对象 |
| | | * @return 显示对象 |
| | | */ |
| | | OsBtmTypeVO btmDO2VO(BizType btmItem); |
| | | OsBtmTypeVO btmDO2VO(BizType btmItem, Map<String, OsAttributeVO> attributeVOMap); |
| | | |
| | | /** |
| | | * 使用编号获取业务类型 |
| | |
| | | List<OsBtmTypeVO> listBtmByIds(Collection<String> btmIds); |
| | | |
| | | /** |
| | | * TODO:尽量别用这个方法很慢,做了一次全查再转来转去 |
| | | * 使用编号获取业务类型 |
| | | * @param id 编号 |
| | | * @return 业务类型 |
| | | */ |
| | | OsBtmTypeVO getBtmById(String id); |
| | | OsBtmTypeVO getBtmById(String id) throws PLException; |
| | | |
| | | /** |
| | | * 使用类型名获取业务类型,查不到直接报错 |
| | | * @param btmName 类型名 |
| | | * @return 业务类型 |
| | | * @throws |
| | | */ |
| | | OsBtmTypeVO getBtmByName(String btmName) throws PLException; |
| | | |
| | | /** |
| | | * 使用编号获取业务类型 |
| | | * @param id 编号 |
| | | * @return 业务类型 |
| | | */ |
| | | OsBtmTypeVO getBtmById(String id, Map<String, OsAttributeVO> attributeVOMap); |
| | | |
| | | /** |
| | | * 获取业务类型的在哪个属性中使用 |
| | |
| | | * @param id 枚举的英文 |
| | | * @return 枚举的名称 |
| | | */ |
| | | String getNameById(String id); |
| | | String getNameById(String id) throws PLException; |
| | | |
| | | /** |
| | | * 根据业务类型和链接类型生成ER图 |
| | | * @param btmId 业务类型主键 |
| | | */ |
| | | OsERVO createERDiagram(String btmId); |
| | | OsERVO createERDiagram(String btmId) throws PLException; |
| | | |
| | | /** |
| | | * 获取使用这个业务类型的E-R图 |
| | | * @param btmId 业务类型编号 |
| | | * @return 执行结果 |
| | | */ |
| | | OsERVO createERUsed(String btmId); |
| | | OsERVO createERUsed(String btmId) throws PLException; |
| | | |
| | | /** |
| | | * 获取所有业务类型(树形结构) |