接口 PopListEvt


public interface PopListEvt

Description: 弹出事件

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Feb 21, 2013
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    生成排序方式,如:order.setColumn("user_id") ;
    生成查询数据SQL,可以通过ss.getRequest()获取自定义的查询参数
    void
    表头信息,如:list.add(new CellInfo().setLabel("用户编号").setTableCol("user_id")) ;
    void
    prepareValueCell(CellInfo idCell, CellInfo descCell)
    准备选择的ID列和描述列, 如:idCell.setTableCol("user_id") ; descCell.setTableCol("user_name") ;
    查询条件,如:return "关键字:<input type='text' name='keyWord' />";
  • 方法详细资料

    • getSql

      String getSql(PopList pl)
      生成查询数据SQL,可以通过ss.getRequest()获取自定义的查询参数
      参数:
      pl - PopList
      返回:
      String
    • getOrderBy

      void getOrderBy(PopList pl, OrderByInfo order)
      生成排序方式,如:order.setColumn("user_id") ;
      参数:
      pl - PopList
      order - OrderByInfo
    • queryHtml

      String queryHtml(PopList pl)
      查询条件,如:return "关键字:<input type='text' name='keyWord' />";
      参数:
      pl - PageList对象
      返回:
      String 注意:当返回null或空的时候,会默认带关键字查询条件
    • prepareTableCell

      void prepareTableCell(PopList pl, List<CellInfo> list)
      表头信息,如:list.add(new CellInfo().setLabel("用户编号").setTableCol("user_id")) ;
      参数:
      pl - PopList
      list - List
    • prepareValueCell

      void prepareValueCell(CellInfo idCell, CellInfo descCell)
      准备选择的ID列和描述列, 如:idCell.setTableCol("user_id") ; descCell.setTableCol("user_name") ;
      参数:
      idCell - 单元格对象
      descCell - 单元格对象