Class ConversationSearchQueryImpl
java.lang.Object
com.flowable.engage.engine.impl.indexing.ConversationSearchQueryImpl
- All Implemented Interfaces:
ConversationSearchQuery
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CommandExecutorprotected final ConversationFilterServiceImplprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected String -
Constructor Summary
ConstructorsConstructorDescriptionConversationSearchQueryImpl(ConversationFilterServiceImpl conversationFilterService, CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionThe key of the filter that should be used for doing the query.getQuery()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.userIdOrGroups(String userId, Collection<String> userGroups) Search all conversations for the given user or user groupsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.flowable.engage.engine.impl.indexing.ConversationSearchQuery
userId
-
Field Details
-
conversationFilterService
-
commandExecutor
-
userId
-
userGroups
-
filterId
-
userDefinitionKey
-
query
-
tenantId
-
-
Constructor Details
-
ConversationSearchQueryImpl
public ConversationSearchQueryImpl(ConversationFilterServiceImpl conversationFilterService, CommandExecutor commandExecutor)
-
-
Method Details
-
userIdOrGroups
Description copied from interface:ConversationSearchQuerySearch all conversations for the given user or user groups- Specified by:
userIdOrGroupsin interfaceConversationSearchQuery- Parameters:
userId- the id of the useruserGroups- the user group ids
-
tenantId
Description copied from interface:ConversationSearchQuerySearch all conversations for the given tenantId- Specified by:
tenantIdin interfaceConversationSearchQuery
-
filterId
Description copied from interface:ConversationSearchQueryThe key of the filter that should be used for doing the query.- Specified by:
filterIdin interfaceConversationSearchQuery- Parameters:
filterId- the filter key
-
userDefinitionKey
Description copied from interface:ConversationSearchQueryThe user definition key that should be used to lookup the filter.- Specified by:
userDefinitionKeyin interfaceConversationSearchQuery- Parameters:
userDefinitionKey- the user definition key where the filter is registered
-
searchQuery
Description copied from interface:ConversationSearchQueryThe full text search query- Specified by:
searchQueryin interfaceConversationSearchQuery- Parameters:
query- the full text seach query
-
list
Description copied from interface:ConversationSearchQueryPerform the query with the given paged parameters- Specified by:
listin interfaceConversationSearchQuery- Parameters:
start- the start of the querysize- the total number of records that should be returned
-
getUserId
-
getUserGroups
-
getTenantId
-
getFilterId
-
getUserDefinitionKey
-
getQuery
-