类 UserConfig
java.lang.Object
com.gdxsoft.easyweb.script.userConfig.UserConfig
- 所有已实现的接口:
Serializable, Cloneable
用户配置文件定义
- 作者:
- Administrator
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanchangeSqlSetSql(String callName, String newSql) 根据SqlSet的callName修改Action的Sqlstatic IConfigcreateConfig(ConfScriptPath sp, String xmlName, String itemName) static UserConfigcreateForValidation(String xmlName, String itemName, String itemNodeXml) 静态方法创建 UserConfig 实例,用于验证生成的 XMLstatic StringfilterXmlName(String xmlName) 处理 xmlName 中的特殊字符static StringfilterXmlNameByJdbc(String xmlName) 处理 xmlName 中的特殊字符, 用于数据库调用static UserConfigfromSerialize(byte[] buf) 从序列化二进制中获取static IConfigGet the configuration from all ScriptPathsstatic IConfiggetConfigByPath(String xmlPath) Get the configuration from all ScriptPaths获取配置文件状态幂等性滑动拼图验证获取工作流定义获取用户配置信息the valid code itemstatic String获取默认的XItem的xml模板,用于自定义字段显示,参数:
[NAME]
[DES_INFO_ZHCN]
[DES_MEMO_ZHCN]
[DES_INFO_ENUS]
[DES_MEMO_ENUS]
[DATA_FIELD]
[DATA_TYPE]
[DATA_FORMAT]void初始化用户配置中的XItems/XItem中当前XItem信息static UserConfiginstance(String xmlName, String itemName, DebugFrames debugFrames) Get a UserConfig instance from all configurationsvoidvoidsetDebugFrames(DebugFrames debugFrames) voidsetItemName(String itemName) voidsetItemNode(Node itemNode) 设置 ItemNode(用于验证生成的 XML)voidsetItemNodeXml(String itemNodeXml) 设置 ItemNodeXml(用于验证生成的 XML)voidvoidsetXmlName(String xmlName) byte[]序列化表
-
字段详细资料
-
CHECK_CHANG_SPAN_SECONDS
public static int CHECK_CHANG_SPAN_SECONDS检查配置信息检查的间隔(秒)
-
-
构造器详细资料
-
UserConfig
public UserConfig() -
UserConfig
-
-
方法详细资料
-
getXItemXmlTemplate
获取默认的XItem的xml模板,用于自定义字段显示,参数:
[NAME]
[DES_INFO_ZHCN]
[DES_MEMO_ZHCN]
[DES_INFO_ENUS]
[DES_MEMO_ENUS]
[DATA_FIELD]
[DATA_TYPE]
[DATA_FORMAT]- 返回:
- XItem的xml模板
-
instance
public static UserConfig instance(String xmlName, String itemName, DebugFrames debugFrames) throws Exception Get a UserConfig instance from all configurations- 参数:
xmlName- the configuration XML file nameitemName- the configuration item namedebugFrames- the DebugFrames- 返回:
- 抛出:
Exception
-
getConfigByPath
-
getConfig
-
createConfig
-
fromSerialize
从序列化二进制中获取- 参数:
buf-- 返回:
- 抛出:
IOExceptionClassNotFoundException
-
filterXmlName
-
filterXmlNameByJdbc
-
getConfigType
-
createForValidation
-
setItemNode
-
setItemNodeXml
设置 ItemNodeXml(用于验证生成的 XML)- 参数:
itemNodeXml- XML 字符串
-
getConfigStatus
-
loadUserDefined
-
getItemNodeXml
-
changeSqlSetSql
-
initXItem
-
toSerialize
-
getUserXItems
-
getXmlName
- 返回:
- the _XmlName
-
setXmlName
- 参数:
xmlName- the _XmlName to set
-
getItemName
- 返回:
- the _ItemName
-
setItemName
- 参数:
itemName- the _ItemName to set
-
getUserActionItem
- 返回:
- the _UserActionItem
-
getUserPageItem
- 返回:
- the _UserPageItem
-
getUserMenuItems
- 返回:
- the _UserMenuItems
-
getUserPageInfos
- 返回:
- the _UserPageInfos
-
getUserWorkflows
-
getDebugFrames
-
setDebugFrames
-
getUserCharts
- 返回:
- the _UserCharts
-
getJS_XML
- 返回:
- the _JS_XML
-
setJS_XML
- 参数:
_js_xml- the _JS_XML to set
-
getValidXItem
-
getIdempotenceXItems
-
getSlidePuzzleXItems
-