接口 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配置获取当前的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) voidsetXmlFilePath(String xmlFilePath) voidupdateDescription(String itemName, String des) booleanupdateItem(String itemName, String xml) booleanupdateItem(String itemName, String xml, boolean isUpdateTime) boolean
-
方法详细资料
-
deleteFile
-
createNewXml
- 抛出:
IOException
-
copyXmlFile
- 抛出:
IOException
-
getConfigType
IConfig getConfigType() -
importXml
导入xml配置- 参数:
path- 路径name- xml名称sourceXmlFilePath- 要导入的xml文件- 返回:
-
getDocXml
String getDocXml()获取文档的xml字符串- 返回:
-
setAdmin
设置管理员- 参数:
amdId-
-
deleteBaks
递归删除备份文件- 参数:
path-- 返回:
-
getAdmin
String getAdmin()获取管理员- 返回:
-
getSqls
String getSqls() -
renameItem
-
renameXmlFile
-
renamePath
-
updateItem
-
updateItem
-
saveXml
-
writeXml
-
removeItem
-
removeItems
-
removeItem
-
queryItem
获取当前的Item- 参数:
itemName- item名字- 返回:
- item节点
-
queryItemXml
获取配置信息- 参数:
itemName-- 返回:
-
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()
-