Query fired after a query has run.
Fields inherited from class | Fields |
---|---|
class AbstractQueryEvent |
query |
Constructor and description |
---|
PostQueryEvent
(Query query, java.util.List results) |
PostQueryEvent
(java.lang.Object source, Query query, java.util.List results) |
Type Params | Return Type | Name and description |
---|---|---|
|
QueryEventType |
getEventType() @return The type of event. |
|
java.util.List |
getResults()
|
|
void |
setResults(java.util.List results) Reset the list of results to a new list. |
Methods inherited from class | Name |
---|---|
class AbstractQueryEvent |
getEventType, getQuery |
class org.springframework.context.ApplicationEvent |
org.springframework.context.ApplicationEvent#getTimestamp(), org.springframework.context.ApplicationEvent#getSource(), org.springframework.context.ApplicationEvent#toString(), org.springframework.context.ApplicationEvent#wait(long, int), org.springframework.context.ApplicationEvent#wait(long), org.springframework.context.ApplicationEvent#wait(), org.springframework.context.ApplicationEvent#equals(java.lang.Object), org.springframework.context.ApplicationEvent#hashCode(), org.springframework.context.ApplicationEvent#getClass(), org.springframework.context.ApplicationEvent#notify(), org.springframework.context.ApplicationEvent#notifyAll() |
Reset the list of results to a new list. This allows an event handler to modify the results of a query.
results
- The replacement results.