com.townleyenterprises.persistence
Class QueryAdapter

java.lang.Object
  extended bycom.townleyenterprises.persistence.QueryAdapter
All Implemented Interfaces:
QueryListener

public class QueryAdapter
extends java.lang.Object
implements QueryListener

This class implements empty methods for the QueryListener interface.

Version:
$Id: QueryAdapter.java,v 1.3 2004/07/28 10:33:59 atownley Exp $
Author:
Andrew S. Townley

Constructor Summary
QueryAdapter()
           
 
Method Summary
 void nextRow(QueryEvent event)
          This method is called by the QueryHandler for each row processed in the result set.
 void queryCompleted(QueryEvent event)
          This method is called by the QueryHandler after executing a query.
 void queryExecuted(QueryEvent event)
          This method is called by the QueryHandler before executing a query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryAdapter

public QueryAdapter()
Method Detail

queryCompleted

public void queryCompleted(QueryEvent event)
This method is called by the QueryHandler after executing a query.

Specified by:
queryCompleted in interface QueryListener
Parameters:
event - the QueryEvent containing the data

queryExecuted

public void queryExecuted(QueryEvent event)
This method is called by the QueryHandler before executing a query.

Specified by:
queryExecuted in interface QueryListener
Parameters:
event - the QueryEvent containing the data

nextRow

public void nextRow(QueryEvent event)
             throws java.sql.SQLException
This method is called by the QueryHandler for each row processed in the result set.

Specified by:
nextRow in interface QueryListener
Parameters:
event - the QueryEvent containing the data
Throws:
java.sql.SQLException - if something happens processing the result row


Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.