类 ActionBase

java.lang.Object
com.gdxsoft.easyweb.script.display.action.ActionBase
直接已知子类:
ActionCombine, ActionComplex, ActionFrame, ActionListFrame, ActionMultiGrid, ActionTree

public class ActionBase extends Object
  • 字段详细资料

  • 构造器详细资料

    • ActionBase

      public ActionBase()
  • 方法详细资料

    • retActionSqlSetItem

      protected ActionSqlSetItem retActionSqlSetItem(String name) throws Exception
      获取执行Sqls
      参数:
      name -
      返回:
      抛出:
      Exception
    • executeXml

      public void executeXml(String name) throws Exception
      抛出:
      Exception
    • executeCallJSon

      public void executeCallJSon(String name) throws Exception
      执行JSON调用
      参数:
      name -
      抛出:
      Exception
    • executeCallClass

      public void executeCallClass(String name) throws Exception
      抛出:
      Exception
    • executeCallClassCreateObjects

      public Object[] executeCallClassCreateObjects(String strData)
    • executeCallScript

      public String executeCallScript(String name) throws Exception
      抛出:
      Exception
    • executeSql

      public boolean executeSql(String sql, String sqlType, String name)
      执行sql语句
      参数:
      sql -
      sqlType -
      name -
      返回:
      false = 检查执行提交时返回的错误判断
    • executeCallSql

      public void executeCallSql(String name) throws Exception
      执行SQL语句
      参数:
      name - SqlSet名称
      抛出:
      Exception
    • createSql

      public String createSql(String sql) throws Exception
      需要的话,替换此方法
      参数:
      sql -
      返回:
      抛出:
      Exception
    • exceuteCallUrl

      public String exceuteCallUrl(String name) throws Exception
      抛出:
      Exception
    • executeSessionsCookies

      public void executeSessionsCookies(UserXItemValue userXItemValue) throws Exception
      抛出:
      Exception
    • executeSessionCookie

      public void executeSessionCookie(UserXItemValue uxv) throws Exception
      抛出:
      Exception
    • addCookie

      public void addCookie(javax.servlet.http.Cookie cookie)
      已过时。
      参数:
      cookie -
    • getPageItemValue

      public String getPageItemValue(String itemName, String tagName)
    • getSql

      public String getSql(String sql)
      去除SQL表达式的备注 /××/
      参数:
      sql -
      返回:
    • executeSqlProcdure

      public void executeSqlProcdure(String sql)
      执行存储过程,并将返回参数放到RequestValue中
      参数:
      sql -
    • executeSqlUpdate

      public void executeSqlUpdate(String sql)
      执行更新
      参数:
      sql -
    • executeSqlQuery

      public DTTable executeSqlQuery(String sql)
      执行查询
      参数:
      sql -
    • executeExtHorTable

      public void executeExtHorTable(ExtOpt opt, DTTable fromTable)
      执行纵向表转为横向表
      {"TYPE":"HOR", "RUN_TYPE": "U", "FROM_TABLE": "WEB_USER", "UNID":"XX", "WHERE":"A=@AA"}
      参数:
      opt -
      fromTable -
    • getUserConfig

      public UserConfig getUserConfig()
    • getItemValues

      public ItemValues getItemValues()
    • getDTTables

      public com.gdxsoft.easyweb.utils.msnet.MList getDTTables()
    • getJSONObjects

      public com.gdxsoft.easyweb.utils.msnet.MList getJSONObjects()
    • getRequestValue

      public RequestValue getRequestValue()
    • getDebugFrames

      public DebugFrames getDebugFrames()
    • getResponse

      public javax.servlet.http.HttpServletResponse getResponse()
    • setResponse

      public void setResponse(javax.servlet.http.HttpServletResponse response)
    • getHtmlClass

      public HtmlClass getHtmlClass()
      返回:
      the _HtmlClass
    • setHtmlClass

      public void setHtmlClass(HtmlClass htmlClass)
      参数:
      htmlClass - the _HtmlClass to set
    • executeMailSend

      public ActionResult executeMailSend(String fromName, String fromMail, String toName, String toEmail, String subject, String cnt, String[] atts)
      邮件发送
      参数:
      fromName - 发件人名称
      fromMail - 发件人地址
      toName - 收件人名称
      toEmail - 收件人地址
      subject - 主题
      cnt - 内容
      atts - 附件列表
      返回:
    • executeMailSend

      public ActionResult executeMailSend(String fromMail, String toEmail, String subject, String cnt, String[] atts)
      邮件发送
      参数:
      fromMail - 发件人地址
      toEmail - 发件人地址
      subject - 主题
      cnt - 内容
      atts - 附件列表
      返回:
    • executeSmsSend

      public ActionResult executeSmsSend(String cnt, String mobiles)
      发送短消息
      参数:
      cnt - 内容
      mobiles - 地址
      返回:
      结果
    • getChkErrorMsg

      public String getChkErrorMsg()
      执行前检测错误
      返回:
      the chkErrorMsg
    • setChkErrorMsg

      public void setChkErrorMsg(String chkErrorMsg)
      执行前检测错误
      参数:
      chkErrorMsg - the chkErrorMsg to set
    • checkActionErrorOutInTable

      public boolean checkActionErrorOutInTable(DTTable dt)
      在返回的表中 判断Action执行的表中是否包含错误
      参数:
      dt -
      返回:
    • checkActionErrorOutInProcdure

      public boolean checkActionErrorOutInProcdure()
      在存储过程中,检查执行提交时返回的错误判断
    • getLstChanges

      public List<UpdateChanges> getLstChanges()
      获取update完的所有变化列表
      返回:
    • getOutCookes

      public Map<String,javax.servlet.http.Cookie> getOutCookes()
      获取执行过程中输出的所有Cookie
      返回:
      the _OutCookes
    • getOutSessions

      public Map<String,Object> getOutSessions()
      获取所有输出的Session
      返回:
      the _OutSessions