站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

TableDisplayHandler (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.server.util
Class TableDisplayHandler

java.lang.Object
  extended by org.drools.brms.server.util.TableDisplayHandler

public class TableDisplayHandler
extends Object

This utility class handles loading of tables. This is to give some flexibility in what fields are displayed. This will likely be dynamic in the future (driven of user config stored in the repository).

Author:
michael neale

Constructor Summary
TableDisplayHandler()
           
 
Method Summary
 String formatDate(Calendar cal)
           
 TableDataResult loadRuleListTable(Iterator list, int numRows)
          Produce a table dataset for a given iterator.
 TableConfig loadTableConfig(String listName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDisplayHandler

public TableDisplayHandler()
Method Detail

loadRuleListTable

public TableDataResult loadRuleListTable(Iterator list,
                                         int numRows)
                                  throws com.google.gwt.user.client.rpc.SerializableException
Produce a table dataset for a given iterator.

Parameters:
list - The iterator.
numRows - The number of rows to go to. -1 means don't stop.
Throws:
com.google.gwt.user.client.rpc.SerializableException

formatDate

public String formatDate(Calendar cal)

loadTableConfig

public TableConfig loadTableConfig(String listName)


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.