| | |
| | | import com.vci.pagemodel.OsBtmTypeAttributeVO; |
| | | import com.vci.pagemodel.OsLinkTypeAttributeVO; |
| | | import com.vci.pagemodel.OsLinkTypeVO; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.text.ParseException; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | * @return |
| | | */ |
| | | List<String> getAllLtName() throws PLException; |
| | | |
| | | /** |
| | | * 获取使用该业务类型的链接类型名 |
| | | * @param btmName 业务类型名称 |
| | | * @return |
| | | */ |
| | | List<String> getUsedBtmLinkList(String btmName); |
| | | |
| | | /** |
| | | * 查询所有的链接类型 |
| | |
| | | * @return 保存结果 |
| | | */ |
| | | BaseResult addAndEditLink(LinkType linkType, Boolean addFlag) throws PLException; |
| | | /** |
| | | * 链接类型删除 |
| | | * linkType 链接类型对象 |
| | | * @return 删除结果 |
| | | */ |
| | | BaseResult deleteLink(LinkType linkType) throws PLException; |
| | | /** |
| | | * 一致性检查 |
| | | * @return 删除结果 |
| | | */ |
| | | BaseResult checkLinkType() throws PLException; |
| | | /** |
| | | * 一致性检查修复数据库表 |
| | | * repairData 需要修复的数据 |
| | | * @return 修复结果 |
| | | */ |
| | | BaseResult repairTable(String repairData) throws PLException, IOException; |
| | | /** |
| | | * 创建视图 |
| | | * @return 创建结果 |
| | | */ |
| | | BaseResult createView() throws PLException; |
| | | /** |
| | | * 导出链接类型 |
| | | * name 链接类型名称 |
| | | * @return 创建结果 |
| | | */ |
| | | void expData(String oid, HttpServletResponse response) throws PLException, IOException; |
| | | /** |
| | | * 导入链接类型 |
| | | * @param file 上传的文件 |
| | | * @return |
| | | */ |
| | | BaseResult impData(MultipartFile file) throws Exception; |
| | | /** |
| | | * 获取链接类型包含的属性 |
| | | * @param name 链接类型的编号 |
| | | * @return 属性的信息 |
| | | */ |
| | | List<OsLinkTypeAttributeVO> getAllAttributeByLink(String name) throws PLException, ParseException; |
| | | |
| | | /** |
| | | * 获取设置排序字段的排序字段 |
| | | * @param linkType 链接类型的编号 |
| | | * @param btmType 业务类型的编号 |
| | | * @param direction 正/反向 |
| | | * @return 属性的信息 |
| | | */ |
| | | List<String> getAllOrderbyAttributeByLink(String linkType, String btmType, String direction) throws PLException, ParseException; |
| | | } |