Interface ConversationQuery
- All Superinterfaces:
Query<ConversationQuery,
Conversation>
- All Known Implementing Classes:
ConversationQueryImpl
Allows for programmatic querying of conversations.
- Author:
- Filip Hrisafov, Joram Barrez
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConversationQuery
accessibleByParticipant
(String userId) accessibleByParticipantOrGroups
(String participantId, Collection<String> groups) conversationDefinitionId
(String conversationDefinitionId) createdAfter
(Date createdAfter) createdBefore
(Date createdBefore) externalId
(String externalId) Select conversation with the given external id.Select a conversation with the given id.ids
(Collection<String> ids) Select all conversations with the given ids.lastMessageAfter
(Date lastMessageAfter) lastMessageBefore
(Date lastMessageBefore) mutedByUser
(String userId) Select conversations that have been muted by the given user.participantsOrOwner
(Collection<String> participants) referenceDefinitionId
(String referenceDefinitionId) referenceId
(String referenceId) referenceType
(String referenceType) starredByUser
(String userId) Select conversations that have been starred by the given user.tags
(Collection<String> tags) tagsNotIn
(Collection<String> tagsNotIn) updateTimeAfter
(Date updateTimeAfter) updateTimeBefore
(Date updateTimeBefore) userAccountId
(String userAccountId) userAccountSubType
(String userAccountSubType) variableValueEquals
(String name, Object value) Checks for a conversation with the given variable name and value.variableValueEqualsIgnoreCase
(String name, String value) Checks for a conversation with the given variable name and value ignoring the case of the value.variableValueLike
(String name, String valueLike) Checks for a conversation with the given variable name and value like.variableValueLikeIgnoreCase
(String name, String valueLike) Checks for a conversation with the given variable name and value like ignoring the case of the value.withAllParticipants
(Collection<String> withAllParticipants) Conversations that contain exactly the givenwithAllParticipants
collection and nothing elsewithAnyParticipants
(Collection<String> withAnyParticipants) Conversations that have at least one of the givenwithAnyParticipants
collection as participant
-
Method Details
-
id
Select a conversation with the given id. -
ids
Select all conversations with the given ids. -
externalId
Select conversation with the given external id. -
type
-
subType
-
name
-
conversationDefinitionId
-
referenceId
-
referenceType
-
referenceDefinitionId
-
ownerId
-
withAllParticipants
Conversations that contain exactly the givenwithAllParticipants
collection and nothing else -
withAnyParticipants
Conversations that have at least one of the givenwithAnyParticipants
collection as participant -
participantsOrOwner
-
accessibleByParticipant
-
accessibleByParticipantOrGroups
-
withoutParent
ConversationQuery withoutParent() -
createdAfter
-
createdBefore
-
lastMessageAfter
-
lastMessageBefore
-
userAccountId
-
userAccountSubType
-
updateTimeAfter
-
updateTimeBefore
-
tags
-
tags
-
tags
-
tagsNotIn
-
tagsNotIn
-
tagsNotIn
-
state
-
variableValueEquals
Checks for a conversation with the given variable name and value.- Parameters:
name
- the name of the variablevalue
- the value that the variable should have
-
variableValueEqualsIgnoreCase
Checks for a conversation with the given variable name and value ignoring the case of the value.- Parameters:
name
- the name of the variablevalue
- the value that the variable should have
-
variableValueLike
Checks for a conversation with the given variable name and value like.- Parameters:
name
- the name of the variablevalueLike
- the value like the variable should have ('%' has to be added by the caller itself)
-
variableValueLikeIgnoreCase
Checks for a conversation with the given variable name and value like ignoring the case of the value.- Parameters:
name
- the name of the variablevalueLike
- the value like the variable should have ('%' has to be added by the caller itself)
-
tenantId
-
withoutTenantId
ConversationQuery withoutTenantId() -
withoutMessages
ConversationQuery withoutMessages() -
starredByUser
Select conversations that have been starred by the given user. -
mutedByUser
Select conversations that have been muted by the given user. -
includeIdentityLinks
ConversationQuery includeIdentityLinks() -
includeVariables
ConversationQuery includeVariables() -
orderByLastMessageTime
ConversationQuery orderByLastMessageTime()
-