类 ModuleData
java.lang.Object
com.sh.wf.module.base.ModuleData
- 所有已实现的接口:
Serializable,Cloneable
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2015年1月9日
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明booleanprotected Stringprotected booleanprotected Stringbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected Stringbooleanint -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddAiAgent(AiAgent aiAgent) voidaddChartTheme(String chartTheme) voidaddComponent(ModuleParserContext context, Component component) voidaddComponentExport(ComponentExport_I component) voidaddComponentFormSaveMap(ComponentFormSave_I component) voidaddComponentLoad(ComponentLoad_I componentLoad) voidaddFixEndScript(String script) voidvoidvoidaddPageComponent(Component component) voidaddParserFirst(Component component) voidaddRelaQueryComponent(Component component) clone()org.apache.poi.ss.usermodel.WorkbookdoComponentExport(ModuleContext context, String id) doComponentExportCSV(ModuleContext context, String id) getAiAgent(String id) getCall()voidgetChartThremeList(ModuleContext context, StringBuilder html) getComponentLoadByClass(Class<?> clazz) getComponentLoadByUuid(String mcuuid) getDesc()getDsMap()获取文件页面对象getFormDsInfo(String dsName) 获取填报数据集getId()getLabel()获取页面组件booleangetPageVarBooleanValue(ModuleContext context, String varName, boolean defaultValue) doublegetPageVarDoubleValue(ModuleContext context, String varName, double defaultValue) doublegetPageVarDoubleValue(String varName, double defaultValue) intgetPageVarIntValue(ModuleContext context, String varName, int defaultValue) intgetPageVarIntValue(String varName, int defaultValue) getPageVarValue(ModuleContext context, String varName, String defaultValue) getPageVarValue(String varName, String defaultValue) getPkgId()getSfp()获取模板,使用的是一个独立的context上下文,主要是用于加载模块的时候获取使用 注意:这个会加载当前线程变量里的值,如果是页面加载的时候,或者存在共享的情况下,需要注意先初始化ModuleContext到线程变量中getTemplate(ModuleContext context) 获取当前模型,参数默认:配置参数>_tid参数>皮肤在cookie中的skinId>默认模板getTitle()booleanhasPaserComponent(ModuleContext context, Component component) 判断是否解析该组件,因为有些组件设置的优先解析voidinitIgnoreParser(ModuleParserContext context, String id, org.jdom2.Element root) 开发环境为了提高启动速度,初始不加载模块booleanbooleanbooleanbooleanboolean获取组件是否被标记为指定位置显示voidparser(ModuleParserContext context, String id, org.jdom2.Element root) voidparser(ModuleParserContext context, String id, org.jdom2.Element root, boolean checkExists) 解析设计器上传的数据voidsetBeginHtml(String beginHtml) voidsetBodyStyle(org.jdom2.Element root) voidsetDataLogEnable(boolean dataLogEnable) voidvoidsetDevModel(boolean devModel) voidvoidsetEndHtml(String endHtml) voidvoidvoidsetPageStartFlag(String pageStartFlag) voidvoidsetPkgName(String pkgName) voidvoidsetTemplateId(String templateId) voidvoidsetXmlSource(String xmlSource) String[]toComponentFormSave(ModuleContext context, String id, int processFlag) toHtml(ModuleContext context) 转化为页面显示HTMLvoidtoHtmlParserFirst(ModuleContext context, StringBuilder html) toLoadComponentHtml(ModuleContext context, String id) toMobileHtml(ModuleContext context) voiduseBodyStyle(ModuleContext context, StringBuilder html) 设置body的样式
-
字段详细资料
-
diskFilePath
-
fileFullPath
-
xmlVersion
public int xmlVersion -
beginHtml
-
endHtml
-
templateId
-
dataLogEnable
protected boolean dataLogEnable -
hasEChart
public boolean hasEChart -
hasEChartGl
public boolean hasEChartGl -
textareaFullEnable
public boolean textareaFullEnable -
hasCKEditor
public boolean hasCKEditor -
hasUEditor
public boolean hasUEditor -
hasUEditorXiumi
public boolean hasUEditorXiumi -
hasWdatePicker
public boolean hasWdatePicker -
hasPlupload
public boolean hasPlupload -
hasZtree
public boolean hasZtree -
hasCascader
public boolean hasCascader -
tableColResize
public boolean tableColResize -
hasJqPrint
public boolean hasJqPrint -
hasColorPicker
public boolean hasColorPicker -
hasPlaceholder
public boolean hasPlaceholder -
hasFixHeaderViewArea
public boolean hasFixHeaderViewArea -
hasBMap
public boolean hasBMap -
hasBMapMarkerCluster
public boolean hasBMapMarkerCluster -
hasOLMap
public boolean hasOLMap -
hasMaptalks
public boolean hasMaptalks -
hasQQMap
public boolean hasQQMap -
hasTMap
public boolean hasTMap -
hasTMapMarkerCluster
public boolean hasTMapMarkerCluster -
hasTMapServiceJs
public boolean hasTMapServiceJs -
hasAMap
public boolean hasAMap -
hasArcgisMap
public boolean hasArcgisMap -
arcgisMapStyle
-
hasSelectUI
public boolean hasSelectUI -
hasCheckboxRadioUI
public boolean hasCheckboxRadioUI -
hasInputAutoComplete
public boolean hasInputAutoComplete -
hasDragLayout
public boolean hasDragLayout -
addPageTemplate
public boolean addPageTemplate -
hasInputSchoolChoose
public boolean hasInputSchoolChoose -
hasHighcharts
public boolean hasHighcharts -
hasHightcharts3D
public boolean hasHightcharts3D -
hasContextMenu
public boolean hasContextMenu -
hasBubble
public boolean hasBubble -
hasNumStepAnimate
public boolean hasNumStepAnimate -
includeBase64Js
public boolean includeBase64Js -
hasCanvasLayout
public boolean hasCanvasLayout -
loadCanvasLayoutCss
public boolean loadCanvasLayoutCss -
hasCarouselPanel
public boolean hasCarouselPanel -
hasInputTag
public boolean hasInputTag -
hasTableTree
public boolean hasTableTree -
hasAutoCalCellWidth
public boolean hasAutoCalCellWidth -
hasAiAgent
public boolean hasAiAgent -
hasMarked
public boolean hasMarked -
chartThemeList
-
otherSet
-
gloable
-
-
构造器详细资料
-
ModuleData
public ModuleData()
-
-
方法详细资料
-
getId
-
initIgnoreParser
开发环境为了提高启动速度,初始不加载模块- 参数:
context-id-root-
-
parser
-
parser
public void parser(ModuleParserContext context, String id, org.jdom2.Element root, boolean checkExists) 解析设计器上传的数据- 参数:
id- Stringroot- Element
-
addModuleAfterParser
-
addComponent
-
addComponentLoad
-
addAiAgent
-
getAiAgentMap
-
getComponentLoad
-
getComponentLoadByClass
-
getAiAgent
-
getFirstAiAgent
-
getComponentLoadByUuid
-
getAllPageComponent
-
toHtml
转化为页面显示HTML- 参数:
context- ModuleContext- 返回:
- String
-
toMobileHtml
-
toLoadComponentHtml
-
getFileLayout
获取文件页面对象- 返回:
-
getTitle
-
setTitle
-
getDsInfo
-
getDsMap
-
getBeginHtml
-
setBeginHtml
-
getEndHtml
-
setEndHtml
-
getDesc
-
getXmlSource
-
setXmlSource
-
getLabel
-
setLabel
-
setDesc
-
isDevModel
public boolean isDevModel() -
setDevModel
public void setDevModel(boolean devModel) -
getFormDsInfo
获取填报数据集- 参数:
dsName- 数据集名称- 返回:
- DsInfo
-
clone
-
getInParamListAndCheck
-
getInParamList
-
addIncludeFile
-
getIncludeFileListAndCheck
-
getIncludeFileList
-
getComponentFormSave
-
addComponentFormSaveMap
-
toComponentFormSave
-
addComponentExport
-
doComponentExport
-
doComponentExportCSV
-
getTemplateId
-
setTemplateId
-
addPageComponent
-
getPageComponent
获取页面组件- 参数:
id- 组件编号- 返回:
- Component
-
isDataLogEnable
public boolean isDataLogEnable() -
setDataLogEnable
public void setDataLogEnable(boolean dataLogEnable) -
getTemplate
获取模板,使用的是一个独立的context上下文,主要是用于加载模块的时候获取使用 注意:这个会加载当前线程变量里的值,如果是页面加载的时候,或者存在共享的情况下,需要注意先初始化ModuleContext到线程变量中- 返回:
-
getTemplate
获取当前模型,参数默认:配置参数>_tid参数>皮肤在cookie中的skinId>默认模板- 参数:
context-- 返回:
-
getPageVarValue
-
getPageVarValue
-
getPageVarIntValue
-
getPageVarIntValue
-
getPageVarDoubleValue
-
getPageVarDoubleValue
-
getPageVarBooleanValue
-
getJavaAttr
-
getScriptCssAttr
-
addParserFirst
-
toHtmlParserFirst
-
hasPaserComponent
判断是否解析该组件,因为有些组件设置的优先解析- 参数:
context- ModuleContextcomponent- Component- 返回:
- boolean
-
isLoginIgnore
public boolean isLoginIgnore() -
getCreateUserId
-
addRelaQueryComponent
-
getRelaQueryComponentList
-
getPkgName
-
setPkgName
-
getPkgId
-
setPkgId
-
getSfp
-
setSfp
-
setId
-
getPageStartFlag
-
setPageStartFlag
-
addFixEndScript
-
getFixEndScript
-
addChartTheme
-
getChartThremeList
-
useBodyStyle
设置body的样式- 参数:
context- ModuleContexthtml- StringBuilder
-
setBodyStyle
public void setBodyStyle(org.jdom2.Element root) -
getCall
-
getDyncBg
-
setDyncBg
-
isShowComponentFlag
获取组件是否被标记为指定位置显示- 参数:
cid-- 返回:
-
getLanguageAttr
-
isFilePage
public boolean isFilePage()
-