Package com.flowable.action.api.runtime
Interface ActionInstanceQuery
- All Superinterfaces:
Query<ActionInstanceQuery,
ActionInstance>
- All Known Implementing Classes:
ActionInstanceQueryImpl
Allows programmatic querying of
ActionInstance
s.- Author:
- Tijs Rademakers
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptionactionDefinitionId
(String actionDefinitionId) Only select action instances with the given action definition id.actionDefinitionIdLike
(String actionDefinitionIdLike) Only select action instances with an action definition id like the given string.actionDefinitionKey
(String actionDefinitionKey) Only select action instances linked to the action definition for the given key.formInstanceId
(String formInstanceId) Only select action instances with the given form instance id.Only select action instances with the given form key.Only select action instances with the given icon.Only select action instances with the given id.Only select action instances with the given ids.maxPriority
(Integer maxPriority) Only select action instances with the given priority or lower.minPriority
(Integer minPriority) Only select action instances with the given priority or higher.Only select action instances with the given name.Only select action instances with an name like the given string.Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).participantGroup
(String groupId) Only select action instances with an identity link for the provided group.participantGroups
(List<String> groupIds) Only select action instances with an identity link for the provided groups.participantUser
(String userId) Only select action instances with an identity link for the provided user.participantUsers
(List<String> userIds) Only select action instances with an identity link for the provided users.Only select action instances with the given priority.Only select action instances with a given scope id and scope type or an action link with the given scope id and scope type This query option can only be used when a scope id is already set.Similar toqueryOnActionLinks()
, but only returns those instances which have anActionLink
instance.scopeDefinitionId
(String scopeDefinitionId) Only select action instances with the given scope definition id.Only select action instances with the given scope id.Only select action instances with the given scope type.Only select action instances started on the given timestartDateAfter
(Date afterTime) Only select action instances started after the given timestartDateBefore
(Date beforeTime) Only select action instances started before the given timesubScopeId
(String subScopeId) Only select action instances with the given scope id.supportsChannel
(String channel) Only select action instances with an action link for the action definition id and the provided channel.supportsChannels
(List<String> channels) Only select action instances with action definition links for the action definition id and the provided channels.Only select action instances that have the given tenant id.tenantIdLike
(String tenantIdLike) Only select action instances with a tenant id like the given one.Only select action instances that do not have a tenant id.
-
Method Details
-
id
Only select action instances with the given id. -
ids
Only select action instances with the given ids. -
actionDefinitionId
Only select action instances with the given action definition id. -
actionDefinitionIdLike
Only select action instances with an action definition id like the given string. -
actionDefinitionKey
Only select action instances linked to the action definition for the given key. -
name
Only select action instances with the given name. -
nameLike
Only select action instances with an name like the given string. -
scopeId
Only select action instances with the given scope id. -
subScopeId
Only select action instances with the given scope id. -
scopeType
Only select action instances with the given scope type. -
scopeDefinitionId
Only select action instances with the given scope definition id. -
startDate
Only select action instances started on the given time -
startDateBefore
Only select action instances started before the given time -
startDateAfter
Only select action instances started after the given time -
formInstanceId
Only select action instances with the given form instance id. -
formKey
Only select action instances with the given form key. -
priority
Only select action instances with the given priority. -
maxPriority
Only select action instances with the given priority or lower. -
minPriority
Only select action instances with the given priority or higher. -
supportsChannel
Only select action instances with an action link for the action definition id and the provided channel. -
supportsChannels
Only select action instances with action definition links for the action definition id and the provided channels. -
participantUser
Only select action instances with an identity link for the provided user. -
participantUsers
Only select action instances with an identity link for the provided users. -
participantGroup
Only select action instances with an identity link for the provided group. -
participantGroups
Only select action instances with an identity link for the provided groups. -
queryOnActionLinks
ActionInstanceQuery queryOnActionLinks()Only select action instances with a given scope id and scope type or an action link with the given scope id and scope type This query option can only be used when a scope id is already set. Note that this potentially can be a slow query due to the query having to add an or-clause which turns out to be inefficient on some databases. -
queryOnlyOnActionLinks
ActionInstanceQuery queryOnlyOnActionLinks()Similar toqueryOnActionLinks()
, but only returns those instances which have anActionLink
instance. This query option can only be used when a scope id is already set. -
tenantId
Only select action instances that have the given tenant id. -
tenantIdLike
Only select action instances with a tenant id like the given one. -
withoutTenantId
ActionInstanceQuery withoutTenantId()Only select action instances that do not have a tenant id. -
orderByStartDate
ActionInstanceQuery orderByStartDate()Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByPriority
ActionInstanceQuery orderByPriority()Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
ActionInstanceQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). -
icon
Only select action instances with the given icon.
-