| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.vci.ubcs.code.entity.GroupMapAttrXML; |
| | | import com.vci.ubcs.code.vo.GroupMapAttrXMLVO; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.stereotype.Service; |
| | | import org.xml.sax.SAXException; |
| | | |
| | | import javax.xml.parsers.ParserConfigurationException; |
| | | import java.io.IOException; |
| | | import java.rmi.ServerException; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 集团属性映射xml配置管理 |
| | |
| | | */ |
| | | public interface IGroupMapAttrXMLService { |
| | | |
| | | String getGroupMapXMLInfo(String xmlName) throws ParserConfigurationException, IOException, SAXException; |
| | | /** |
| | | * 获取xml文件的详细信息 |
| | | * @param groupMapAttrXML |
| | | * @return |
| | | * @throws IOException |
| | | */ |
| | | GroupMapAttrXML getGroupMapXMLInfo(GroupMapAttrXML groupMapAttrXML) throws ServerException; |
| | | |
| | | /** |
| | | * 获取所有配置在nacos上的xml文件内容,(也就是在启用的xml映射文件) |
| | | * @return |
| | | */ |
| | | List<GroupMapAttrXML> getGroupMapXMLList(); |
| | | |
| | | /** |
| | | * 修改属性映射文件 |
| | | * @param groupMapAttrXMLVO |
| | | * @return |
| | | */ |
| | | R updateGroupMapXML(GroupMapAttrXMLVO groupMapAttrXMLVO) throws IOException; |
| | | |
| | | /** |
| | | * 新增集团属性映射配置文件 |
| | | * @param groupMapAttrXML |
| | | * @return |
| | | */ |
| | | R addGroupMapXML(GroupMapAttrXML groupMapAttrXML) throws IOException; |
| | | |
| | | } |