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 CommandExecutor
protected final ConversationFilterServiceImpl
protected String
protected String
protected String
protected String
protected 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, wait
Methods 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:ConversationSearchQuery
Search all conversations for the given user or user groups- Specified by:
userIdOrGroups
in interfaceConversationSearchQuery
- Parameters:
userId
- the id of the useruserGroups
- the user group ids
-
tenantId
Description copied from interface:ConversationSearchQuery
Search all conversations for the given tenantId- Specified by:
tenantId
in interfaceConversationSearchQuery
-
filterId
Description copied from interface:ConversationSearchQuery
The key of the filter that should be used for doing the query.- Specified by:
filterId
in interfaceConversationSearchQuery
- Parameters:
filterId
- the filter key
-
userDefinitionKey
Description copied from interface:ConversationSearchQuery
The user definition key that should be used to lookup the filter.- Specified by:
userDefinitionKey
in interfaceConversationSearchQuery
- Parameters:
userDefinitionKey
- the user definition key where the filter is registered
-
searchQuery
Description copied from interface:ConversationSearchQuery
The full text search query- Specified by:
searchQuery
in interfaceConversationSearchQuery
- Parameters:
query
- the full text seach query
-
list
Description copied from interface:ConversationSearchQuery
Perform the query with the given paged parameters- Specified by:
list
in interfaceConversationSearchQuery
- Parameters:
start
- the start of the querysize
- the total number of records that should be returned
-
getUserId
-
getUserGroups
-
getTenantId
-
getFilterId
-
getUserDefinitionKey
-
getQuery
-