Interface ConversationSearchQuery
- All Known Implementing Classes:
ConversationSearchQueryImpl
public interface ConversationSearchQuery
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionThe key of the filter that should be used for doing the query.list
(int start, int size) Perform the query with the given paged parameterssearchQuery
(String query) The full text search querySearch all conversations for the given tenantIduserDefinitionKey
(String userDefinitionKey) The user definition key that should be used to lookup the filter.default ConversationSearchQuery
Search all conversations for the given user.userIdOrGroups
(String userId, Collection<String> userGroups) Search all conversations for the given user or user groups
-
Method Details
-
userId
Search all conversations for the given user. Searches only conversations where the user is a direct participant (not via a group).- Parameters:
userId
- the id of the user- See Also:
-
userIdOrGroups
Search all conversations for the given user or user groups- Parameters:
userId
- the id of the useruserGroups
- the user group ids
-
tenantId
Search all conversations for the given tenantId -
filterId
The key of the filter that should be used for doing the query.- Parameters:
filterId
- the filter key
-
userDefinitionKey
The user definition key that should be used to lookup the filter.- Parameters:
userDefinitionKey
- the user definition key where the filter is registered
-
searchQuery
The full text search query- Parameters:
query
- the full text seach query
-
list
Perform the query with the given paged parameters- Parameters:
start
- the start of the querysize
- the total number of records that should be returned
-