| | |
| | | import com.vci.starter.web.util.VciBaseUtil; |
| | | import com.vci.starter.web.wrapper.VciQueryWrapperForDO; |
| | | import com.vci.web.pageModel.BatchCBO; |
| | | import plm.bs.bom.clientobject.ClientBusinessObject; |
| | | import com.vci.client.bof.ClientBusinessObject; |
| | | import plm.bs.bom.clientobject.ClientBusinessObjectOperation; |
| | | import plm.bs.bom.clientobject.ClientLinkObject; |
| | | import plm.corba.qt.QTServiceOperations; |
| | |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | List<ClientBusinessObject> queryCBO(String btmType, Map<String, String> conditionMap) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryCBO(String btmType, Map<String, String> conditionMap) throws VciBaseException; |
| | | |
| | | /** |
| | | * 支持排序和分页的查询业务类型下的数据 |
| | |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | List<ClientBusinessObject> queryCBO(String btmType, Map<String, String> conditionMap, PageHelper ph) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryCBO(String btmType, Map<String, String> conditionMap, PageHelper ph) throws VciBaseException; |
| | | |
| | | /** |
| | | * 支持自定义查询字段(包括参照、枚举和生命周期) |
| | |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | List<ClientBusinessObject> queryCBO(String btmType, Map<String, String> conditionMap, PageHelper ph, List<String> clauseList) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryCBO(String btmType, Map<String, String> conditionMap, PageHelper ph, List<String> clauseList) throws VciBaseException; |
| | | |
| | | /** |
| | | * 拷贝分页和排序的设置到查询模板 |
| | |
| | | * @param enumAttrName 枚举的名称 |
| | | * @throws VciBaseException 查询枚举出错的时候会抛出异常 |
| | | */ |
| | | void queryEnumText(ClientBusinessObject cbo, ClientLinkObject clo, List<String> enumAttrName) throws VciBaseException; |
| | | void queryEnumText(com.vci.client.bof.ClientBusinessObject cbo, com.vci.client.bof.ClientLinkObject clo, List<String> enumAttrName) throws VciBaseException; |
| | | |
| | | /** |
| | | * 给链接类型设置属性 |
| | |
| | | * @param attributeName 属性的名称 |
| | | * @param attributeValue 属性的值 |
| | | */ |
| | | void setAttributeValueForClo(ClientLinkObject clo, String attributeName, String attributeValue); |
| | | void setAttributeValueForClo(com.vci.client.bof.ClientLinkObject clo, String attributeName, String attributeValue); |
| | | |
| | | /** |
| | | * 使用查询方案来查询数据,返回CBO |
| | |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | List<ClientBusinessObject> queryCBOByScheme(String queryScheme, Map<String, String> conditionMap, Map<String, String> replaceMap) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryCBOByScheme(String queryScheme, Map<String, String> conditionMap, Map<String, String> replaceMap) throws VciBaseException; |
| | | |
| | | /** |
| | | * 使用查询方案来查询数据,返回CBO,支持分页 |
| | |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | List<ClientBusinessObject> queryCBOByScheme(String queryScheme, Map<String, String> conditionMap, Map<String, String> replaceMap, PageHelper ph) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryCBOByScheme(String queryScheme, Map<String, String> conditionMap, Map<String, String> replaceMap, PageHelper ph) throws VciBaseException; |
| | | |
| | | /** |
| | | * 使用名字获取查询模板 |
| | |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | List<ClientBusinessObject> queryCBOByScheme(String queryScheme, Map<String, String> conditionMap, Map<String, String> replaceMap, PageHelper ph, List<String> clauseList) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryCBOByScheme(String queryScheme, Map<String, String> conditionMap, Map<String, String> replaceMap, PageHelper ph, List<String> clauseList) throws VciBaseException; |
| | | |
| | | /** |
| | | * 查询数量 |
| | |
| | | * @return CBO |
| | | * @throws VciBaseException |
| | | */ |
| | | List<ClientBusinessObject> queryBySql(String sql, Map<String, String> conditionMap) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryBySql(String sql, Map<String, String> conditionMap) throws VciBaseException; |
| | | |
| | | /** |
| | | * 只用sql语句查询,这个和queryBySql区别是,特殊的sql(如包含有函数的)可以用这个方法,但是有sql注入风险 |
| | |
| | | * @return CBO |
| | | * @throws VciBaseException 查询出错活抛出异常 |
| | | */ |
| | | List<ClientBusinessObject> queryByOnlySql(String sql) throws VciBaseException; |
| | | List<com.vci.client.bof.ClientBusinessObject> queryByOnlySql(String sql) throws VciBaseException; |
| | | |
| | | /** |
| | | * 只用sql语句查询,这个和queryBySqlForMap区别是,特殊的sql(如包含有函数的)可以用这个方法,但是有sql注入风险 |
| | |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | Map cbo2Map(ClientBusinessObject cbo) throws VciBaseException; |
| | | Map cbo2Map(com.vci.client.bof.ClientBusinessObject cbo) throws VciBaseException; |
| | | |
| | | /** |
| | | * map转为clientBusinessObject |