类 JavaBase

java.lang.Object
com.sh.wf.module.java.JavaBase
所有已实现的接口:
Serializable, Cloneable
直接已知子类:
AiFunctionCallJavaBase, ButtonJavaBase, ButtonLogicExpJavaBase, CallJavaBase, ChartDataFilterJavaBase, ChartSettingJavaBase, DictJavaBase, DsJavaBase, EventClickJavaBase, FileUploadJavaBase, FlowJavaBase, HtmlJavaBase, JasperreportJavaBase, ModuleJavaBase, SelfChartSettingJavaBase, ServiceJavaBase, TdJavaBase, TdRuleAttrJavaBase, TimerJavaBase

public abstract class JavaBase extends Object implements Serializable, Cloneable

Description: 按钮Java逻辑基类

Title:首亨软件 - TSS/CRM等

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

    • log4j

      protected org.apache.logging.log4j.Logger log4j
    • javaAttr

      protected JavaAttr javaAttr
    • request

      protected jakarta.servlet.http.HttpServletRequest request
    • session

      protected jakarta.servlet.http.HttpSession session
    • dc

      protected DataCenter dc
    • userInfo

      protected UserInfo userInfo
    • userId

      protected String userId
    • context

      protected ModuleContext context
    • moduleData

      protected ModuleData moduleData
    • errorMsg

      protected String errorMsg
    • lastErrorMsg

      protected String lastErrorMsg
    • paramMap

      protected Map<String,String> paramMap
    • jsMap

      protected Map<String,String> jsMap
  • 构造器详细资料

    • JavaBase

      public JavaBase()
  • 方法详细资料

    • setModuleContext

      public void setModuleContext(ModuleContext context)
    • setModuleContext

      public void setModuleContext(ModuleContext context, JavaAttr javaAttr, List<JavaAttrParam> paramList)
    • setDataCenterInit

      public void setDataCenterInit(DataCenter dc)
    • setParamList

      public void setParamList(List<JavaAttrParam> paramList)
      设置传入参数
      参数:
      paramList - 参数集
    • getErrorMsg

      public String getErrorMsg()
    • setErrorMsg

      public void setErrorMsg(String errorMsg)
    • getDsInfo

      public DsInfo getDsInfo(String dsName)
      获取数据集信息
      参数:
      dsName - 数据集名称
      返回:
      DsInfo
    • getRowNo

      public int getRowNo(String dsName)
      获取数据集的行号
      参数:
      dsName - 数据集名称
      返回:
      int
    • getDatastore

      public Datastore getDatastore(String dsName)
      获取数据集
      参数:
      dsName - 数据集名称
      返回:
      Datastore
    • getDatastoreString

      public String getDatastoreString(String dsName, String colName)
      获取数据集当前行的列值
      参数:
      dsName - 数据源名称
      colName - 列名
      返回:
      String
    • getDatastoreString

      public String getDatastoreString(String dsName, String colName, String defaultValue)
      获取数据集当前行的列值
      参数:
      dsName - 数据源名称
      colName - 列名
      defaultValue - 默认值
      返回:
      String
    • getDatastoreTimestamp

      public String getDatastoreTimestamp(String dsName, String colName, String format)
      获取数据集当前行的列值
      参数:
      dsName - 数据源名称
      colName - 列名
      format - 格式化表达式
      返回:
      String
    • getDatastoreDouble

      public double getDatastoreDouble(String dsName, String colName)
      获取数据集当前行的列值
      参数:
      dsName - 数据源名称
      colName - 列名
      返回:
      double
    • getDatastoreInt

      public int getDatastoreInt(String dsName, String colName)
      获取数据集当前行的列值
      参数:
      dsName - 数据源名称
      colName - 列名
      返回:
      int
    • getDatastoreObject

      public Object getDatastoreObject(String dsName, String colName)
      获取数据集当前行的列值
      参数:
      dsName - 数据源名称
      colName - 列名
      返回:
      Object
    • getParam

      public String getParam(String paramName)
      获取传入参数值
      参数:
      paramName - 参数名称
      返回:
      String
    • getParam

      public String getParam(String paramName, String defaultValue)
      获取传入参数值
      参数:
      paramName - 参数名称
      defaultValue - 默认值
      返回:
      String
    • getComponentValue

      public Object getComponentValue(String id)
      获取组件值
      参数:
      id - 组件编号
      返回:
      Object对象
    • getComponentValueString

      public String getComponentValueString(String id)
      获取组件值
      参数:
      id - 组件编号
      返回:
      String对象
    • getRequestParameterValue

      public String getRequestParameterValue(String name)
      获取request中的值
      参数:
      name - 名称
      返回:
      String
    • putJsValue

      public void putJsValue(String key, String value)
      设置值保存到js作用域中
      参数:
      key - String
      value - String
    • getJsValue

      public String getJsValue()
      获取Java逻辑中设置的js参数值
      返回:
      String
    • getJsMap

      public Map<String,String> getJsMap()
    • getContextValue

      public String getContextValue(String key)