apollo.dataadapter.ensj.controller
Class ShowGeneCountsByTypeHandler

java.lang.Object
  extended by apollo.dataadapter.ensj.controller.EventHandler
      extended by apollo.dataadapter.ensj.controller.ShowGeneCountsByTypeHandler

public class ShowGeneCountsByTypeHandler
extends EventHandler

Check to see if our gene counts have already been initialised. If not, run sql to get them. Populate the table of gene types, gene counts (by type) and set the 'gene counts by type initialised' flag to true. Tell the gui to display the gene types list.


Field Summary
 
Fields inherited from class apollo.dataadapter.ensj.controller.EventHandler
NULL_VERSION
 
Constructor Summary
ShowGeneCountsByTypeHandler(Controller controller, java.lang.String key)
           
 
Method Summary
 void doAction(Model model)
           
 java.util.HashMap getGeneCountsByType(Model model)
           
 
Methods inherited from class apollo.dataadapter.ensj.controller.EventHandler
closeConnection, doRead, doUpdate, findCoordinateSystems, findCoordSystemForNamedSeqRegion, findSeqRegions, getConnectionForModel, getController, getCountForQuery, getKey, getRowCountForTable, isNull, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowGeneCountsByTypeHandler

public ShowGeneCountsByTypeHandler(Controller controller,
                                   java.lang.String key)
Method Detail

doAction

public void doAction(Model model)
Specified by:
doAction in class EventHandler

getGeneCountsByType

public java.util.HashMap getGeneCountsByType(Model model)