public class DfGenericQueryListener extends java.lang.Object implements IDfQueryListener
Constructor and Description |
---|
DfGenericQueryListener() |
Modifier and Type | Method and Description |
---|---|
void |
onQueryCompleted(IDfQueryProcessor processor)
This method is called when the query execution finished (whether sucessfully or with errors).
|
void |
onResultChange(IDfQueryProcessor processor,
int from,
int to)
This method is called when new results has been received from the sources.
|
void |
onStatusChange(IDfQueryProcessor processor,
IDfQueryEvent event)
This method is called when an event occurs (error or information).
|
public void onQueryCompleted(IDfQueryProcessor processor)
IDfQueryListener
onQueryCompleted
in interface IDfQueryListener
processor
- The IDfQueryProcessor instance executing the query.public void onStatusChange(IDfQueryProcessor processor, IDfQueryEvent event)
IDfQueryListener
onStatusChange
in interface IDfQueryListener
processor
- The IDfQueryProcessor instance executing the query.event
- An event occurring while executing the query.public void onResultChange(IDfQueryProcessor processor, int from, int to)
IDfQueryListener
onResultChange
in interface IDfQueryListener
processor
- The IDfQueryProcessor instance executing the query.from
- The start index of the new results in the list of IDfResultEntry hold by the query processor.to
- The end index of the new results in the list of IDfResultEntry hold by the query processor.Copyright 1994-2023 OpenText Corporation. All rights reserved.