Interface ConversationQuery
-
- All Superinterfaces:
Query<ConversationQuery,Conversation>
- All Known Implementing Classes:
ConversationQueryImpl
public interface ConversationQuery extends Query<ConversationQuery,Conversation>
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
-
-
-
Method Detail
-
id
ConversationQuery id(String id)
Select a conversation with the given id.
-
externalId
ConversationQuery externalId(String externalId)
Select conversation with the given external id.
-
type
ConversationQuery type(String type)
-
subType
ConversationQuery subType(String subType)
-
name
ConversationQuery name(String name)
-
conversationDefinitionId
ConversationQuery conversationDefinitionId(String conversationDefinitionId)
-
referenceId
ConversationQuery referenceId(String referenceId)
-
referenceType
ConversationQuery referenceType(String referenceType)
-
referenceDefinitionId
ConversationQuery referenceDefinitionId(String referenceDefinitionId)
-
ownerId
ConversationQuery ownerId(String ownerId)
-
withAllParticipants
ConversationQuery withAllParticipants(Collection<String> withAllParticipants)
Conversations that contain exactly the givenwithAllParticipants
collection and nothing else
-
withAnyParticipants
ConversationQuery withAnyParticipants(Collection<String> withAnyParticipants)
Conversations that have at least one of the givenwithAnyParticipants
collection as participant
-
participantsOrOwner
ConversationQuery participantsOrOwner(Collection<String> participants)
-
accessibleByParticipant
default ConversationQuery accessibleByParticipant(String userId)
-
accessibleByParticipantOrGroups
ConversationQuery accessibleByParticipantOrGroups(String participantId, Collection<String> groups)
-
withoutParent
ConversationQuery withoutParent()
-
createdAfter
ConversationQuery createdAfter(Date createdAfter)
-
createdBefore
ConversationQuery createdBefore(Date createdBefore)
-
lastMessageAfter
ConversationQuery lastMessageAfter(Date lastMessageAfter)
-
lastMessageBefore
ConversationQuery lastMessageBefore(Date lastMessageBefore)
-
userAccountId
ConversationQuery userAccountId(String userAccountId)
-
userAccountSubType
ConversationQuery userAccountSubType(String userAccountSubType)
-
updateTimeAfter
ConversationQuery updateTimeAfter(Date updateTimeAfter)
-
updateTimeBefore
ConversationQuery updateTimeBefore(Date updateTimeBefore)
-
tags
ConversationQuery tags(Collection<String> tags)
-
tags
ConversationQuery tags(String tag)
-
tags
ConversationQuery tags(String tag, String... tags)
-
tagsNotIn
ConversationQuery tagsNotIn(Collection<String> tagsNotIn)
-
tagsNotIn
ConversationQuery tagsNotIn(String tag)
-
tagsNotIn
ConversationQuery tagsNotIn(String tag, String... tags)
-
state
ConversationQuery state(String state)
-
variableValueEquals
ConversationQuery variableValueEquals(String name, Object value)
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
ConversationQuery variableValueEqualsIgnoreCase(String name, String value)
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
ConversationQuery variableValueLike(String name, String valueLike)
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
ConversationQuery variableValueLikeIgnoreCase(String name, String valueLike)
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
ConversationQuery tenantId(String tenantId)
-
withoutTenantId
ConversationQuery withoutTenantId()
-
withoutMessages
ConversationQuery withoutMessages()
-
includeIdentityLinks
ConversationQuery includeIdentityLinks()
-
includeVariables
ConversationQuery includeVariables()
-
orderByLastMessageTime
ConversationQuery orderByLastMessageTime()
-
-