| | |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.omd.btm.BizType; |
| | | import com.vci.dto.OsBtmTypeDTO; |
| | | import com.vci.pagemodel.OsBtmTypeAttributeVO; |
| | | import com.vci.pagemodel.OsBtmTypeVO; |
| | | import com.vci.pagemodel.OsERVO; |
| | |
| | | import com.vci.starter.web.pagemodel.PageHelper; |
| | | import com.vci.starter.web.pagemodel.Tree; |
| | | |
| | | import java.io.IOException; |
| | | import java.text.ParseException; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | * 获取所有业务类型(树形结构) |
| | | * @return 查询结果 |
| | | */ |
| | | BaseResult<List<Tree>> getTreeBizTypes() throws PLException; |
| | | List<Tree> getTreeBizTypes() throws PLException; |
| | | |
| | | /** |
| | | * 获取所有业务类型名称集合 |
| | | * @return |
| | | */ |
| | | List<String> getAllBtmName() throws PLException; |
| | | |
| | | /** |
| | | * 获取业务全部属性类型 |
| | | * @param btmName 业务类型名称 |
| | | * @return 属性的信息 |
| | | */ |
| | | List<OsBtmTypeAttributeVO> getBizTypeQTDs(String btmName) throws PLException, ParseException; |
| | | |
| | | /** |
| | | * 创建新的业务类型 |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | boolean addBtmType(OsBtmTypeDTO btmTypeDTO) throws PLException; |
| | | |
| | | /** |
| | | * 批量新增业务类型 |
| | | * @param bizTypes |
| | | * @return |
| | | */ |
| | | boolean addBtmTypes(List<BizType> bizTypes); |
| | | |
| | | /** |
| | | * 修改业务类型 |
| | | * @param btmTypeDTO |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | boolean updateBtmType(OsBtmTypeDTO btmTypeDTO) throws PLException; |
| | | |
| | | /** |
| | | * 删除业务类型 |
| | | * @param btmTypeDTO |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | boolean deleteBtmType(OsBtmTypeDTO btmTypeDTO) throws PLException; |
| | | |
| | | /** |
| | | * 一致性检查 |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | BaseResult checkBtmConsistency() throws PLException; |
| | | |
| | | /** |
| | | * 一致性检查修复功能 |
| | | * @param repairData |
| | | * @return |
| | | */ |
| | | BaseResult executeRepair(String repairData) throws Exception; |
| | | |
| | | /** |
| | | * 创建视图 |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | boolean createView() throws PLException; |
| | | |
| | | /** |
| | | * 删除数据界面的查询 |
| | | * @return 业务类型,链接类型 |
| | | */ |
| | | BaseResult getObjectData() throws PLException; |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * @param btmNames 业务类型名 |
| | | * @param linkNames 链接类型名 |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | List<Map> truncateTable(String[] btmNames,String[] linkNames) throws PLException; |
| | | |
| | | /** |
| | | * 删除全部类型 |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | BaseResult deleteAllType() throws PLException; |
| | | |
| | | /** |
| | | * 根据业务类型名称和其下的属性名称获取也有的索引 |
| | | * @param btmName |
| | | * @param attrName |
| | | * @return |
| | | */ |
| | | List<String> getIndexByBtmAndAttrName(String btmName,String attrName); |
| | | |
| | | /** |
| | | * 根据业务类型名称和其下的属性名称删除索引 |
| | | * @param btmName |
| | | * @param attrName |
| | | * @return |
| | | */ |
| | | boolean delIndexByBtmAndAttrName(String btmName,String attrName); |
| | | |
| | | /** |
| | | * 给业务类型下的指定属性新增索引 |
| | | * @param addMap 如:(btmName:part attrName:name indexName: PARTNAMEINDEX) |
| | | * @return |
| | | */ |
| | | boolean addIndex(Map<String,String> addMap); |
| | | |
| | | } |