接口 IUpdateXml

所有已知实现类:
UpdateXmlImpl, UpdateXmlJdbcImpl

public interface IUpdateXml
  • 方法详细资料

    • deleteFile

      String deleteFile(String xmlName)
    • createNewXml

      String createNewXml(String xmlName, String path) throws IOException
      抛出:
      IOException
    • copyXmlFile

      String copyXmlFile(String fromFileName, String toPath, String toFileName) throws IOException
      抛出:
      IOException
    • getConfigType

      IConfig getConfigType()
    • importXml

      org.json.JSONObject importXml(String path, String name, String sourceXmlFilePath)
      导入xml配置
      参数:
      path - 路径
      name - xml名称
      sourceXmlFilePath - 要导入的xml文件
      返回:
    • getDocXml

      String getDocXml()
      获取文档的xml字符串
      返回:
    • setAdmin

      void setAdmin(String amdId)
      设置管理员
      参数:
      amdId -
    • deleteBaks

      int deleteBaks(String xmlname)
      递归删除备份文件
      参数:
      path -
      返回:
    • getAdmin

      String getAdmin()
      获取管理员
      返回:
    • getSqls

      String getSqls()
    • renameItem

      boolean renameItem(String xmlName, String itemName, String newItemName)
    • renameXmlFile

      boolean renameXmlFile(String xmlNameAndPath, String newXmlNameWithoutPath)
    • renamePath

      boolean renamePath(String pathName, String newPathNameWithoutPath)
    • updateItem

      boolean updateItem(String itemName, String xml)
    • updateItem

      boolean updateItem(String itemName, String xml, boolean isUpdateTime)
    • saveXml

      boolean saveXml(String itemName, String xml)
    • writeXml

      boolean writeXml(Document doc)
    • removeItem

      boolean removeItem(String itemName)
    • removeItems

      boolean removeItems(String itemNames)
    • removeItem

      boolean removeItem(String itemName, boolean isWrite)
    • queryItem

      Node queryItem(String itemName)
      获取当前的Item
      参数:
      itemName - item名字
      返回:
      item节点
    • queryItemXml

      String queryItemXml(String itemName)
      获取配置信息
      参数:
      itemName -
      返回:
    • copyItem

      boolean copyItem(String souceItemName, String newItemName)
    • getFrameType

      String getFrameType()
      返回:
      the _FrameType
    • setFrameType

      void setFrameType(String frameType)
      参数:
      frameType - the _FrameType to set
    • saveBackup

      void saveBackup()
    • recoverFile

      void recoverFile()
    • updateDescription

      void updateDescription(String itemName, String des)
    • batchUpdate

      void batchUpdate(String itemNames, String paraName, String paraValue)
    • getScriptPath

      ConfScriptPath getScriptPath()
    • setXmlFilePath

      void setXmlFilePath(String xmlFilePath)
    • getXmlFilePath

      String getXmlFilePath()