Interface ConversationSearchQuery

    • Method Detail

      • userIdOrGroups

        ConversationSearchQuery userIdOrGroups​(String userId,
                                               Collection<String> userGroups)
        Search all conversations for the given user or user groups
        Parameters:
        userId - the id of the user
        userGroups - the user group ids
      • filterId

        ConversationSearchQuery filterId​(String filterId)
        The key of the filter that should be used for doing the query.
        Parameters:
        filterId - the filter key
      • userDefinitionKey

        ConversationSearchQuery userDefinitionKey​(String userDefinitionKey)
        The user definition key that should be used to lookup the filter.
        Parameters:
        userDefinitionKey - the user definition key where the filter is registered
      • list

        Page<ConversationSearchResponse> list​(int start,
                                              int size)
        Perform the query with the given paged parameters
        Parameters:
        start - the start of the query
        size - the total number of records that should be returned