| | |
| | | import com.vci.corba.common.PLException; |
| | | 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.starter.web.pagemodel.DataGrid; |
| | | import com.vci.starter.web.pagemodel.PageHelper; |
| | | import com.vci.starter.web.pagemodel.Tree; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.text.ParseException; |
| | | import java.util.Collection; |
| | |
| | | * @throws PLException |
| | | */ |
| | | BizType[] getBizTypes(String btmName) throws PLException; |
| | | |
| | | /** |
| | | * 业务类型列表查询,非树结构:用于UI定义左侧业务类型查询,只返回name和lable |
| | | * @param btmName |
| | | * @return |
| | | * @throws PLException |
| | | */ |
| | | Tree getBizTree(String btmName) throws PLException; |
| | | |
| | | /** |
| | | * 查询所有的业务类型映射 |
| | |
| | | * @param btmId 业务类型的编号 |
| | | * @return 属性的内容 |
| | | */ |
| | | List<OsBtmTypeAttributeVO> listAttributeByBtmId(String btmId); |
| | | List<OsBtmTypeAttributeVO> listAttributeByBtmId(String btmId) throws PLException; |
| | | |
| | | /** |
| | | * 根据业务类型获取包含的属性--包含基础属性 |
| | | * @param btmId 业务类型的编号 |
| | | * @return 属性的内容 |
| | | */ |
| | | List<OsBtmTypeAttributeVO> listAttributeByBtmIdHasDefault(String btmId); |
| | | List<OsBtmTypeAttributeVO> listAttributeByBtmIdHasDefault(String btmId) throws PLException; |
| | | |
| | | /** |
| | | * 参照业务类型 |
| | |
| | | * @param bizTypes |
| | | * @return |
| | | */ |
| | | boolean addBtmTypes(List<BizType> bizTypes); |
| | | //boolean addBtmTypes(List<BizType> bizTypes); |
| | | |
| | | /** |
| | | * 修改业务类型 |
| | |
| | | BaseResult deleteAllType() throws PLException; |
| | | |
| | | /** |
| | | * 根据业务类型名称和其下的属性名称获取也有的索引 |
| | | * @param btmName |
| | | * @param attrName |
| | | * 根据业务类型名称和索引名称查询获取已有的索引 |
| | | * @param conditionMap 根据查询条件传参: typename:业务类型名;indexname:索引名 |
| | | * @return |
| | | */ |
| | | List<String> getIndexByBtmAndAttrName(String btmName,String attrName); |
| | | List<IndexObject> getIndexByCondition(Map<String,String> conditionMap) throws PLException; |
| | | |
| | | /** |
| | | * 根据业务类型名称和其下的属性名称删除索引 |
| | | * @param btmName |
| | | * @param attrName |
| | | * @param indexName |
| | | * @return |
| | | */ |
| | | boolean delIndexByBtmAndAttrName(String btmName,String attrName); |
| | | boolean delIndex(String btmName,String indexName) throws PLException; |
| | | |
| | | /** |
| | | * 给业务类型下的指定属性新增索引 |
| | | * @param addMap 如:(btmName:part attrName:name indexName: PARTNAMEINDEX) |
| | | * @param indexObjectList |
| | | * @return |
| | | */ |
| | | boolean addIndex(Map<String,String> addMap); |
| | | boolean addIndex(List<IndexObject> indexObjectList) throws PLException; |
| | | |
| | | /** |
| | | * 导出业务类型 |
| | | * oid 业务类型名称 |
| | | * @return |
| | | */ |
| | | void expData(String oid, HttpServletResponse response) throws PLException, IOException; |
| | | |
| | | /** |
| | | * 导入业务类型 |
| | | * @param file 上传的文件 |
| | | * @return |
| | | */ |
| | | BaseResult impData(MultipartFile file) throws Exception; |
| | | |
| | | } |