Package com.flowable.action.api.runtime
Interface ActionInstanceQuery
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<ActionInstanceQuery,ActionInstance>
- All Known Implementing Classes:
ActionInstanceQueryImpl
public interface ActionInstanceQuery extends org.flowable.common.engine.api.query.Query<ActionInstanceQuery,ActionInstance>
Allows programmatic querying of
ActionInstance
s.- Author:
- Tijs Rademakers
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description ActionInstanceQuery
actionDefinitionId(java.lang.String actionDefinitionId)
Only select action instances with the given action definition id.ActionInstanceQuery
actionDefinitionIdLike(java.lang.String actionDefinitionIdLike)
Only select action instances with an action definition id like the given string.ActionInstanceQuery
formInstanceId(java.lang.String formInstanceId)
Only select action instances with the given form instance id.ActionInstanceQuery
formKey(java.lang.String formKey)
Only select action instances with the given form key.ActionInstanceQuery
id(java.lang.String id)
Only select action instances with the given id.ActionInstanceQuery
ids(java.util.Set<java.lang.String> ids)
Only select action instances with the given ids.ActionInstanceQuery
maxPriority(java.lang.Integer maxPriority)
Only select action instances with the given priority or lower.ActionInstanceQuery
minPriority(java.lang.Integer minPriority)
Only select action instances with the given priority or higher.ActionInstanceQuery
name(java.lang.String name)
Only select action instances with the given name.ActionInstanceQuery
nameLike(java.lang.String nameLike)
Only select action instances with an name like the given string.ActionInstanceQuery
orderByPriority()
Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).ActionInstanceQuery
orderByStartDate()
Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).ActionInstanceQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).ActionInstanceQuery
participantGroup(java.lang.String groupId)
Only select action instances with an identity link for the provided group.ActionInstanceQuery
participantGroups(java.util.List<java.lang.String> groupIds)
Only select action instances with an identity link for the provided groups.ActionInstanceQuery
participantUser(java.lang.String userId)
Only select action instances with an identity link for the provided user.ActionInstanceQuery
participantUsers(java.util.List<java.lang.String> userIds)
Only select action instances with an identity link for the provided users.ActionInstanceQuery
priority(java.lang.Integer priority)
Only select action instances with the given priority.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.ActionInstanceQuery
queryOnlyOnActionLinks()
Similar toqueryOnActionLinks()
, but only returns those instances which have anActionLink
instance.ActionInstanceQuery
scopeDefinitionId(java.lang.String scopeDefinitionId)
Only select action instances with the given scope definition id.ActionInstanceQuery
scopeId(java.lang.String scopeId)
Only select action instances with the given scope id.ActionInstanceQuery
scopeType(java.lang.String scopeType)
Only select action instances with the given scope type.ActionInstanceQuery
startDate(java.util.Date startDate)
Only select action instances started on the given timeActionInstanceQuery
startDateAfter(java.util.Date afterTime)
Only select action instances started after the given timeActionInstanceQuery
startDateBefore(java.util.Date beforeTime)
Only select action instances started before the given timeActionInstanceQuery
subScopeId(java.lang.String subScopeId)
Only select action instances with the given scope id.ActionInstanceQuery
supportsChannel(java.lang.String channel)
Only select action instances with an action link for the action definition id and the provided channel.ActionInstanceQuery
supportsChannels(java.util.List<java.lang.String> channels)
Only select action instances with action definition links for the action definition id and the provided channels.ActionInstanceQuery
tenantId(java.lang.String tenantId)
Only select action instances that have the given tenant id.ActionInstanceQuery
tenantIdLike(java.lang.String tenantIdLike)
Only select action instances with a tenant id like the given one.ActionInstanceQuery
withoutTenantId()
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. -
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()
).
-