类 ModuleData

java.lang.Object
com.sh.wf.module.base.ModuleData
所有已实现的接口:
Serializable, Cloneable

public final class ModuleData extends Object implements Cloneable, Serializable

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2015年1月9日
另请参阅:
  • 字段详细资料

    • diskFilePath

      public String diskFilePath
    • fileFullPath

      public String fileFullPath
    • xmlVersion

      public int xmlVersion
    • beginHtml

      protected String beginHtml
    • endHtml

      protected String endHtml
    • templateId

      protected String 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

      public String 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

      public List<String> chartThemeList
    • otherSet

      public OtherSet otherSet
    • gloable

      public ModuleGloable gloable
  • 构造器详细资料

    • ModuleData

      public ModuleData()
  • 方法详细资料

    • getId

      public String getId()
    • initIgnoreParser

      public void initIgnoreParser(ModuleParserContext context, String id, org.jdom2.Element root)
      开发环境为了提高启动速度,初始不加载模块
      参数:
      context -
      id -
      root -
    • parser

      public void parser(ModuleParserContext context, String id, org.jdom2.Element root)
    • parser

      public void parser(ModuleParserContext context, String id, org.jdom2.Element root, boolean checkExists)
      解析设计器上传的数据
      参数:
      id - String
      root - Element
    • addModuleAfterParser

      public void addModuleAfterParser(ParserModuleUtil.ModuleAfterParser_I obj)
    • addComponent

      public void addComponent(ModuleParserContext context, Component component)
    • addComponentLoad

      public void addComponentLoad(ComponentLoad_I componentLoad)
    • addAiAgent

      public void addAiAgent(AiAgent aiAgent)
    • getAiAgentMap

      public Map<String,AiAgent> getAiAgentMap()
    • getComponentLoad

      public ComponentLoad_I getComponentLoad(String id)
    • getComponentLoadByClass

      public ComponentLoad_I getComponentLoadByClass(Class<?> clazz)
    • getAiAgent

      public AiAgent getAiAgent(String id)
    • getFirstAiAgent

      public AiAgent getFirstAiAgent()
    • getComponentLoadByUuid

      public ComponentLoad_I getComponentLoadByUuid(String mcuuid)
    • getAllPageComponent

      public Map<String,Component> getAllPageComponent()
    • toHtml

      public String toHtml(ModuleContext context)
      转化为页面显示HTML
      参数:
      context - ModuleContext
      返回:
      String
    • toMobileHtml

      public String toMobileHtml(ModuleContext context)
    • toLoadComponentHtml

      public String toLoadComponentHtml(ModuleContext context, String id)
    • getFileLayout

      public FileLayout getFileLayout()
      获取文件页面对象
      返回:
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDsInfo

      public DsInfo getDsInfo(String dsName)
    • getDsMap

      public Map<String,DsInfo> getDsMap()
    • getBeginHtml

      public String getBeginHtml()
    • setBeginHtml

      public void setBeginHtml(String beginHtml)
    • getEndHtml

      public String getEndHtml()
    • setEndHtml

      public void setEndHtml(String endHtml)
    • getDesc

      public String getDesc()
    • getXmlSource

      public String getXmlSource()
    • setXmlSource

      public void setXmlSource(String xmlSource)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • setDesc

      public void setDesc(String desc)
    • isDevModel

      public boolean isDevModel()
    • setDevModel

      public void setDevModel(boolean devModel)
    • getFormDsInfo

      public DsInfo getFormDsInfo(String dsName)
      获取填报数据集
      参数:
      dsName - 数据集名称
      返回:
      DsInfo
    • clone

      public ModuleData clone()
      覆盖:
      clone 在类中 Object
    • getInParamListAndCheck

      public List<InParamInfo> getInParamListAndCheck()
    • getInParamList

      public List<InParamInfo> getInParamList()
    • addIncludeFile

      public void addIncludeFile(IncludeFileInfo ifi)
    • getIncludeFileListAndCheck

      public List<IncludeFileInfo> getIncludeFileListAndCheck()
    • getIncludeFileList

      public List<IncludeFileInfo> getIncludeFileList()
    • getComponentFormSave

      public ComponentFormSave_I getComponentFormSave(String id)
    • addComponentFormSaveMap

      public void addComponentFormSaveMap(ComponentFormSave_I component)
    • toComponentFormSave

      public String[] toComponentFormSave(ModuleContext context, String id, int processFlag)
    • addComponentExport

      public void addComponentExport(ComponentExport_I component)
    • doComponentExport

      public org.apache.poi.ss.usermodel.Workbook doComponentExport(ModuleContext context, String id)
    • doComponentExportCSV

      public CSVWriter doComponentExportCSV(ModuleContext context, String id)
    • getTemplateId

      public String getTemplateId()
    • setTemplateId

      public void setTemplateId(String templateId)
    • addPageComponent

      public void addPageComponent(Component component)
    • getPageComponent

      public Component getPageComponent(String id)
      获取页面组件
      参数:
      id - 组件编号
      返回:
      Component
    • isDataLogEnable

      public boolean isDataLogEnable()
    • setDataLogEnable

      public void setDataLogEnable(boolean dataLogEnable)
    • getTemplate

      public TemplateData getTemplate()
      获取模板,使用的是一个独立的context上下文,主要是用于加载模块的时候获取使用 注意:这个会加载当前线程变量里的值,如果是页面加载的时候,或者存在共享的情况下,需要注意先初始化ModuleContext到线程变量中
      返回:
    • getTemplate

      public TemplateData getTemplate(ModuleContext context)
      获取当前模型,参数默认:配置参数>_tid参数>皮肤在cookie中的skinId>默认模板
      参数:
      context -
      返回:
    • getPageVarValue

      public String getPageVarValue(String varName, String defaultValue)
    • getPageVarValue

      public String getPageVarValue(ModuleContext context, String varName, String defaultValue)
    • getPageVarIntValue

      public int getPageVarIntValue(String varName, int defaultValue)
    • getPageVarIntValue

      public int getPageVarIntValue(ModuleContext context, String varName, int defaultValue)
    • getPageVarDoubleValue

      public double getPageVarDoubleValue(String varName, double defaultValue)
    • getPageVarDoubleValue

      public double getPageVarDoubleValue(ModuleContext context, String varName, double defaultValue)
    • getPageVarBooleanValue

      public boolean getPageVarBooleanValue(ModuleContext context, String varName, boolean defaultValue)
    • getJavaAttr

      public JavaAttr getJavaAttr()
    • getScriptCssAttr

      public ScriptCssAttr getScriptCssAttr()
    • addParserFirst

      public void addParserFirst(Component component)
    • toHtmlParserFirst

      public void toHtmlParserFirst(ModuleContext context, StringBuilder html)
    • hasPaserComponent

      public boolean hasPaserComponent(ModuleContext context, Component component)
      判断是否解析该组件,因为有些组件设置的优先解析
      参数:
      context - ModuleContext
      component - Component
      返回:
      boolean
    • isLoginIgnore

      public boolean isLoginIgnore()
    • getCreateUserId

      public String getCreateUserId()
    • addRelaQueryComponent

      public void addRelaQueryComponent(Component component)
    • getRelaQueryComponentList

      public List<Component> getRelaQueryComponentList()
    • getPkgName

      public String getPkgName()
    • setPkgName

      public void setPkgName(String pkgName)
    • getPkgId

      public String getPkgId()
    • setPkgId

      public void setPkgId(String pkgId)
    • getSfp

      public String getSfp()
    • setSfp

      public void setSfp(String sfp)
    • setId

      public void setId(String id)
    • getPageStartFlag

      public String getPageStartFlag()
    • setPageStartFlag

      public void setPageStartFlag(String pageStartFlag)
    • addFixEndScript

      public void addFixEndScript(String script)
    • getFixEndScript

      public String getFixEndScript()
    • addChartTheme

      public void addChartTheme(String chartTheme)
    • getChartThremeList

      public void getChartThremeList(ModuleContext context, StringBuilder html)
    • useBodyStyle

      public void useBodyStyle(ModuleContext context, StringBuilder html)
      设置body的样式
      参数:
      context - ModuleContext
      html - StringBuilder
    • setBodyStyle

      public void setBodyStyle(org.jdom2.Element root)
    • getCall

      public ModuleCall getCall()
    • getDyncBg

      public String getDyncBg()
    • setDyncBg

      public void setDyncBg(String dyncBg)
    • isShowComponentFlag

      public boolean isShowComponentFlag(String cid)
      获取组件是否被标记为指定位置显示
      参数:
      cid -
      返回:
    • getLanguageAttr

      public LanguageAttr getLanguageAttr()
    • isFilePage

      public boolean isFilePage()