Interface ConversationSearchQuery

All Known Implementing Classes:
ConversationSearchQueryImpl

public interface ConversationSearchQuery
Author:
Filip Hrisafov
  • Method Details

    • userId

      default ConversationSearchQuery userId​(java.lang.String 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(String, Collection)
    • userIdOrGroups

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

      ConversationSearchQuery tenantId​(java.lang.String tenantId)
      Search all conversations for the given tenantId
    • filterId

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

      ConversationSearchQuery userDefinitionKey​(java.lang.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
    • searchQuery

      ConversationSearchQuery searchQuery​(java.lang.String query)
      The full text search query
      Parameters:
      query - the full text seach query
    • list

      com.flowable.platform.common.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