to.etc.webapp.query
Interface IQueryListener


public interface IQueryListener

Listener for queries. The methods herein are called before the queries are executed, and can change the query if needed.

Author:
Frits Jalvingh Created on Jul 15, 2009

Method Summary
 void onBeforeQuery(QDataContext dc, QCriteriaQueryBase<?> criteria)
          Called before a QDataContext.query(QCriteria) or QDataContext.query(QSelection) is executed; it can alter the query if needed.
 

Method Detail

onBeforeQuery

void onBeforeQuery(QDataContext dc,
                   QCriteriaQueryBase<?> criteria)
                   throws java.lang.Exception
Called before a QDataContext.query(QCriteria) or QDataContext.query(QSelection) is executed; it can alter the query if needed.

Parameters:
criteria -
Throws:
java.lang.Exception