|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.contactlist.FilterQuery
public class FilterQuery
The FilterQuery gives information about a current filtering.
| Field Summary | |
|---|---|
static int |
MAX_EXTERNAL_RESULT_COUNT
The maximum result count for each contact source. |
| Constructor Summary | |
|---|---|
FilterQuery()
|
|
| Method Summary | |
|---|---|
void |
addContactQuery(Object contactQuery)
Adds the given contactQuery to the list of filterQueries. |
void |
cancel()
Cancels this filter query. |
void |
close()
Closes this query to indicate that no more contact sub-queries would be added to it. |
void |
contactReceived(ContactReceivedEvent event)
Indicates that a contact has been received as a result of a query. |
boolean |
containsQuery(Object query)
Verifies if the given query is contained in this filter query. |
boolean |
isCanceled()
Indicates if this query is canceled. |
boolean |
isSucceeded()
Indicates if this query has succeeded. |
void |
metaContactQueryStatusChanged(MetaContactQueryStatusEvent event)
Indicates that a query has changed its status. |
void |
metaContactReceived(MetaContactQueryEvent event)
Indicates that a MetaContact has been received for a search in the MetaContactListService. |
void |
metaGroupReceived(MetaGroupQueryEvent event)
Indicates that a MetaGroup has been received from a search in the MetaContactListService. |
void |
queryStatusChanged(ContactQueryStatusEvent event)
Indicates that a query has changed its status. |
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 |
setQueryListener(FilterQueryListener l)
Sets the given FilterQueryListener. |
void |
setSucceeded(boolean isSucceeded)
Sets the isSucceeded property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_EXTERNAL_RESULT_COUNT
| Constructor Detail |
|---|
public FilterQuery()
| Method Detail |
|---|
public void addContactQuery(Object contactQuery)
contactQuery - the ContactQuery to addpublic void setSucceeded(boolean isSucceeded)
isSucceeded - indicates if this query has succeededpublic boolean isSucceeded()
public boolean isCanceled()
public void cancel()
public void close()
public void setQueryListener(FilterQueryListener l)
l - the FilterQueryListener to setpublic void queryStatusChanged(ContactQueryStatusEvent event)
queryStatusChanged in interface ContactQueryListenerevent - the ContactQueryStatusEvent that notified uspublic void removeQuery(ContactQuery query)
query - the ContactQuery to remove.public void metaContactQueryStatusChanged(MetaContactQueryStatusEvent event)
metaContactQueryStatusChanged in interface MetaContactQueryListenerevent - the ContactQueryStatusEvent that notified uspublic boolean containsQuery(Object query)
query - the query we're looking for
public void contactReceived(ContactReceivedEvent event)
contactReceived in interface ContactQueryListenerevent - the ContactReceivedEvent that notified uspublic void metaContactReceived(MetaContactQueryEvent event)
MetaContactQueryListener
metaContactReceived in interface MetaContactQueryListenerevent - the received MetaContactQueryEventpublic void metaGroupReceived(MetaGroupQueryEvent event)
MetaContactQueryListener
metaGroupReceived in interface MetaContactQueryListenerevent - the MetaGroupQueryEvent that has been received
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||