Class IQMuclumbusSearchHandler
java.lang.Object
org.jivesoftware.openfire.muc.spi.IQMuclumbusSearchHandler
Deprecated, for removal: This API element is subject to removal in a future version.
This class adds support for the search functionality for MUC rooms as identified by
the 'https://xmlns.zombofant.net/muclumbus/search/1.0' namespace.
- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.static SystemProperty<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionIQMuclumbusSearchHandler
(MultiUserChatService mucService) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new instance of the search provider. -
Method Summary
Modifier and TypeMethodDescriptionorg.xmpp.packet.IQ
handleIQ
(org.xmpp.packet.IQ iq) Deprecated, for removal: This API element is subject to removal in a future version.Constructs an answer on a IQ stanza that contains a search request.protected List<MUCRoomSearchInfo>
searchForChatrooms
(org.jivesoftware.openfire.muc.spi.IQMuclumbusSearchHandler.SearchParameters params) Deprecated, for removal: This API element is subject to removal in a future version.static List<MUCRoomSearchInfo>
sortByAddress
(List<MUCRoomSearchInfo> mucs) Deprecated, for removal: This API element is subject to removal in a future version.Order the provided list by JID of the MUCstatic List<MUCRoomSearchInfo>
Deprecated, for removal: This API element is subject to removal in a future version.Sorts the provided list in such a way that the MUC with the most users will be the first one in the list.
-
Field Details
-
VAR_SINNAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
VAR_Q
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
VAR_SINDESCRIPTION
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
VAR_SINDADDR
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
VAR_MIN_USERS
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
VAR_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
PROPERTY_ENABLED
Deprecated, for removal: This API element is subject to removal in a future version. -
REQUEST_ELEMENT_NAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
RESPONSE_ELEMENT_NAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
NAMESPACE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
IQMuclumbusSearchHandler
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new instance of the search provider.- Parameters:
mucService
- The server for which to return search results.
-
-
Method Details
-
handleIQ
public org.xmpp.packet.IQ handleIQ(org.xmpp.packet.IQ iq) Deprecated, for removal: This API element is subject to removal in a future version.Constructs an answer on a IQ stanza that contains a search request. The answer will be an IQ stanza of type 'result' or 'error'.- Parameters:
iq
- The IQ stanza that is the search request.- Returns:
- An answer to the provided request.
-
searchForChatrooms
protected List<MUCRoomSearchInfo> searchForChatrooms(org.jivesoftware.openfire.muc.spi.IQMuclumbusSearchHandler.SearchParameters params) Deprecated, for removal: This API element is subject to removal in a future version. -
sortByAddress
Deprecated, for removal: This API element is subject to removal in a future version.Order the provided list by JID of the MUC- Parameters:
mucs
- The unordered list that will be sorted.- Returns:
- The order list of MUC rooms.
-
sortByUserAmount
Deprecated, for removal: This API element is subject to removal in a future version.Sorts the provided list in such a way that the MUC with the most users will be the first one in the list.- Parameters:
mucs
- The unordered list that will be sorted.- Returns:
- The sorted list of MUC rooms.
-
IQExtendedChannelSearchHandler