|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.webapp.query.QEventListenerSet
public class QEventListenerSet
Used to separate event registration from the data source. An instance of this can be shared by multiple QDataContext factories so that they all share the same registered event handlers.
Field Summary | |
---|---|
static QEventListenerSet |
EMPTY_SET
|
Constructor Summary | |
---|---|
QEventListenerSet()
|
Method Summary | |
---|---|
void |
addQueryListener(IQueryListener l)
Add a new listener for queries for this source. |
void |
callOnBeforeQuery(QDataContext dc,
QCriteriaQueryBase<?> qc)
Calls all listeners in order. |
java.lang.Iterable<IQueryListener> |
getListenerIterator()
Return an iterator over all registered event listeners. |
void |
removeQueryListener(IQueryListener l)
Remove an earlier-registered query listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final QEventListenerSet EMPTY_SET
Constructor Detail |
---|
public QEventListenerSet()
Method Detail |
---|
public void addQueryListener(IQueryListener l)
l
- public void removeQueryListener(IQueryListener l)
l
- public java.lang.Iterable<IQueryListener> getListenerIterator()
public void callOnBeforeQuery(QDataContext dc, QCriteriaQueryBase<?> qc) throws java.lang.Exception
qc
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |