Interface ConversationQuery
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<ConversationQuery,Conversation>
- All Known Implementing Classes:
ConversationQueryImpl
public interface ConversationQuery extends org.flowable.common.engine.api.query.Query<ConversationQuery,Conversation>
Allows for programmatic querying of conversations.
- Author:
- Filip Hrisafov, Joram Barrez
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description default ConversationQuery
accessibleByParticipant(java.lang.String userId)
ConversationQuery
accessibleByParticipantOrGroups(java.lang.String participantId, java.util.Collection<java.lang.String> groups)
ConversationQuery
conversationDefinitionId(java.lang.String conversationDefinitionId)
ConversationQuery
createdAfter(java.util.Date createdAfter)
ConversationQuery
createdBefore(java.util.Date createdBefore)
ConversationQuery
externalId(java.lang.String externalId)
Select conversation with the given external id.ConversationQuery
id(java.lang.String id)
Select a conversation with the given id.ConversationQuery
includeIdentityLinks()
ConversationQuery
includeVariables()
ConversationQuery
lastMessageAfter(java.util.Date lastMessageAfter)
ConversationQuery
lastMessageBefore(java.util.Date lastMessageBefore)
ConversationQuery
name(java.lang.String name)
ConversationQuery
orderByLastMessageTime()
ConversationQuery
ownerId(java.lang.String ownerId)
ConversationQuery
participantsOrOwner(java.util.Collection<java.lang.String> participants)
ConversationQuery
referenceDefinitionId(java.lang.String referenceDefinitionId)
ConversationQuery
referenceId(java.lang.String referenceId)
ConversationQuery
referenceType(java.lang.String referenceType)
ConversationQuery
state(java.lang.String state)
ConversationQuery
subType(java.lang.String subType)
ConversationQuery
tags(java.lang.String tag)
ConversationQuery
tags(java.lang.String tag, java.lang.String... tags)
ConversationQuery
tags(java.util.Collection<java.lang.String> tags)
ConversationQuery
tagsNotIn(java.lang.String tag)
ConversationQuery
tagsNotIn(java.lang.String tag, java.lang.String... tags)
ConversationQuery
tagsNotIn(java.util.Collection<java.lang.String> tagsNotIn)
ConversationQuery
tenantId(java.lang.String tenantId)
ConversationQuery
type(java.lang.String type)
ConversationQuery
updateTimeAfter(java.util.Date updateTimeAfter)
ConversationQuery
updateTimeBefore(java.util.Date updateTimeBefore)
ConversationQuery
userAccountId(java.lang.String userAccountId)
ConversationQuery
userAccountSubType(java.lang.String userAccountSubType)
ConversationQuery
variableValueEquals(java.lang.String name, java.lang.Object value)
Checks for a conversation with the given variable name and value.ConversationQuery
variableValueEqualsIgnoreCase(java.lang.String name, java.lang.String value)
Checks for a conversation with the given variable name and value ignoring the case of the value.ConversationQuery
variableValueLike(java.lang.String name, java.lang.String valueLike)
Checks for a conversation with the given variable name and value like.ConversationQuery
variableValueLikeIgnoreCase(java.lang.String name, java.lang.String valueLike)
Checks for a conversation with the given variable name and value like ignoring the case of the value.ConversationQuery
withAllParticipants(java.util.Collection<java.lang.String> withAllParticipants)
Conversations that contain exactly the givenwithAllParticipants
collection and nothing elseConversationQuery
withAnyParticipants(java.util.Collection<java.lang.String> withAnyParticipants)
Conversations that have at least one of the givenwithAnyParticipants
collection as participantConversationQuery
withoutMessages()
ConversationQuery
withoutParent()
ConversationQuery
withoutTenantId()
-
Method Details
-
id
Select a conversation with the given id. -
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
ConversationQuery accessibleByParticipantOrGroups(java.lang.String participantId, java.util.Collection<java.lang.String> groups) -
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() -
includeIdentityLinks
ConversationQuery includeIdentityLinks() -
includeVariables
ConversationQuery includeVariables() -
orderByLastMessageTime
ConversationQuery orderByLastMessageTime()
-