org.drools.guvnor.server.util
Class TableDisplayHandler

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

Deprecated. in favour of AbstractPagedTable

public class TableDisplayHandler
extends Object

This utility class handles loading of tables.

This is to give some flexibility in what fields are displayed. rulelist.properties and archivedrulelist.properties are the files used.


Constructor Summary
TableDisplayHandler(String tableconfig)
          Deprecated. Produce a table dataset for a given iterator.
 
Method Summary
 String formatDate(Calendar cal)
          Deprecated.  
 TableDataResult loadRuleListTable(AssetItemIterator it, int skip, int numRows)
          Deprecated.  
 TableDataResult loadRuleListTable(AssetItemPageResult list)
          Deprecated.  
 TableDataResult loadRuleListTable(List<AssetItem> assetList, int skip, int numRows)
          Deprecated.  
 TableConfig loadTableConfig()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDisplayHandler

public TableDisplayHandler(String tableconfig)
Deprecated. 
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.SerializationException
Method Detail

loadRuleListTable

public TableDataResult loadRuleListTable(AssetItemPageResult list)
                                  throws com.google.gwt.user.client.rpc.SerializationException
Deprecated. 
Throws:
com.google.gwt.user.client.rpc.SerializationException

loadRuleListTable

public TableDataResult loadRuleListTable(List<AssetItem> assetList,
                                         int skip,
                                         int numRows)
                                  throws com.google.gwt.user.client.rpc.SerializationException
Deprecated. 
Throws:
com.google.gwt.user.client.rpc.SerializationException

loadRuleListTable

public TableDataResult loadRuleListTable(AssetItemIterator it,
                                         int skip,
                                         int numRows)
Deprecated. 

formatDate

public String formatDate(Calendar cal)
Deprecated. 

loadTableConfig

public TableConfig loadTableConfig()
Deprecated. 


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.