public abstract class FilterQuery
extends java.lang.Object
Constructor and Description |
---|
FilterQuery() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addContactQuery(java.lang.Object contactQuery)
Adds the given contactQuery to the list of filterQueries.
|
abstract void |
cancel()
Cancels this filter query.
|
abstract void |
close()
Closes this query to indicate that no more contact sub-queries would be
added to it.
|
abstract boolean |
containsQuery(java.lang.Object query)
Verifies if the given query is contained in this filter query.
|
int |
getMaxResultShown()
Gets the maximum result count shown.
|
abstract boolean |
isCanceled()
Indicates if this query is canceled.
|
abstract boolean |
isRunning()
Indicates if this query is canceled.
|
abstract boolean |
isSucceeded()
Indicates if this query has succeeded.
|
abstract void |
removeQuery(ContactQuery query)
Removes the given query from this filter query, updates the related data
and notifies interested parties if this was the last query to process.
|
void |
setMaxResultShown(int resultCount)
Sets the maximum result count shown.
|
void |
setQueryListener(FilterQueryListener l)
Sets the given FilterQueryListener.
|
abstract void |
setSucceeded(boolean isSucceeded)
Sets the isSucceeded property.
|
public abstract void addContactQuery(java.lang.Object contactQuery)
contactQuery
- the ContactQuery to addpublic abstract void setSucceeded(boolean isSucceeded)
isSucceeded
- indicates if this query has succeededpublic abstract boolean isSucceeded()
public abstract boolean isCanceled()
public abstract boolean isRunning()
public abstract void cancel()
public abstract void close()
public void setQueryListener(FilterQueryListener l)
l
- the FilterQueryListener to setpublic abstract void removeQuery(ContactQuery query)
query
- the ContactQuery to remove.public abstract boolean containsQuery(java.lang.Object query)
query
- the query we're looking forpublic void setMaxResultShown(int resultCount)
resultCount
- the maximum result count shownpublic int getMaxResultShown()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.