接口 IUpdateXml
- 所有已知实现类:
UpdateXmlImpl, UpdateXmlJdbcImpl
public interface IUpdateXml
-
方法概要
修饰符和类型方法说明voidbatchUpdate(String itemNames, String paraName, String paraValue) booleancopyXmlFile(String fromFileName, String toPath, String toFileName) createNewXml(String xmlName, String path) intdeleteBaks(String xmlname) 递归删除备份文件deleteFile(String xmlName) getAdmin()获取管理员获取文档的xml字符串getSqls()org.json.JSONObject导入xml配置boolean导入时,是否忽略已经存在的配置,仅对jdbc配置管理有效获取当前的ItemqueryItemXml(String itemName) 获取配置信息voidbooleanremoveItem(String itemName) booleanremoveItem(String itemName, boolean isWrite) booleanremoveItems(String itemNames) booleanrenameItem(String xmlName, String itemName, String newItemName) booleanrenamePath(String pathName, String newPathNameWithoutPath) booleanrenameXmlFile(String xmlNameAndPath, String newXmlNameWithoutPath) voidbooleanvoid设置管理员voidsetFrameType(String frameType) voidsetSkipExistsItem(boolean skipExistsItem) 导入时,是否忽略已经存在的配置,仅对jdbc配置管理有效voidsetXmlFilePath(String xmlFilePath) voidupdateDescription(String itemName, String des) booleanupdateItem(String itemName, String xml) booleanupdateItem(String itemName, String xml, boolean isUpdateTime) boolean
-
方法详细资料
-
isSkipExistsItem
boolean isSkipExistsItem()导入时,是否忽略已经存在的配置,仅对jdbc配置管理有效- 返回:
-
setSkipExistsItem
void setSkipExistsItem(boolean skipExistsItem) 导入时,是否忽略已经存在的配置,仅对jdbc配置管理有效- 参数:
skipExistsItem- the skipExistsItem to set
-
deleteFile
-
createNewXml
- 抛出:
IOException
-
copyXmlFile
- 抛出:
IOException
-
getConfigType
IConfig getConfigType() -
importXml
-
getDocXml
-
setAdmin
-
deleteBaks
-
getAdmin
-
getSqls
String getSqls() -
renameItem
-
renameXmlFile
-
renamePath
-
updateItem
-
updateItem
-
saveXml
-
writeXml
-
removeItem
-
removeItems
-
removeItem
-
queryItem
-
queryItemXml
-
copyItem
-
getFrameType
String getFrameType()- 返回:
- the _FrameType
-
setFrameType
- 参数:
frameType- the _FrameType to set
-
saveBackup
void saveBackup() -
recoverFile
void recoverFile() -
updateDescription
-
batchUpdate
-
getScriptPath
ConfScriptPath getScriptPath() -
setXmlFilePath
-
getXmlFilePath
String getXmlFilePath()
-