Class ActionInstanceQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<ActionInstanceQuery,ActionInstance>
com.flowable.action.engine.impl.runtime.ActionInstanceQueryImpl
- All Implemented Interfaces:
ActionInstanceQuery,Serializable,CacheAwareQuery<ActionInstanceEntity>,Query<ActionInstanceQuery,,ActionInstance> Command<Object>
public class ActionInstanceQueryImpl
extends AbstractQuery<ActionInstanceQuery,ActionInstance>
implements ActionInstanceQuery, CacheAwareQuery<ActionInstanceEntity>, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Stringprotected Stringprotected Integerprotected booleanprotected booleanprotected Collection<? extends Collection<String>>protected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected booleanFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionActionInstanceQueryImpl(CommandContext commandContext) ActionInstanceQueryImpl(CommandExecutor commandExecutor) -
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.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) formInstanceId(String formInstanceId) Only select action instances with the given form instance id.Only select action instances with the given form key.getIcon()getId()getIds()getName()Collection<? extends Collection<String>>Only select action instances with the given icon.Only select action instances with the given id.Only select action instances with the given ids.booleanbooleanmaxPriority(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 toActionInstanceQuery.queryOnActionLinks(), but only returns those instances which have anActionLinkinstance.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.voidsetSafeParticipantGroups(Collection<? extends Collection<String>> safeParticipantGroups) Only select action instances started on the given timestartDateAfter(Date startDateAfter) Only select action instances started after the given timestartDateBefore(Date startDateBefore) 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.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
Field Details
-
id
-
ids
-
actionDefinitionId
-
actionDefinitionIdLike
-
actionDefinitionKey
-
name
-
nameLike
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
startDate
-
startDateBefore
-
startDateAfter
-
formInstanceId
-
formKey
-
priority
-
maxPriority
-
minPriority
-
participantUsers
-
participantGroups
-
safeParticipantGroups
-
channel
-
channels
-
queryOnActionLinks
protected boolean queryOnActionLinks -
queryOnlyOnActionLinks
protected boolean queryOnlyOnActionLinks -
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
icon
-
-
Constructor Details
-
ActionInstanceQueryImpl
public ActionInstanceQueryImpl() -
ActionInstanceQueryImpl
-
ActionInstanceQueryImpl
-
-
Method Details
-
id
Description copied from interface:ActionInstanceQueryOnly select action instances with the given id.- Specified by:
idin interfaceActionInstanceQuery
-
ids
Description copied from interface:ActionInstanceQueryOnly select action instances with the given ids.- Specified by:
idsin interfaceActionInstanceQuery
-
actionDefinitionId
Description copied from interface:ActionInstanceQueryOnly select action instances with the given action definition id.- Specified by:
actionDefinitionIdin interfaceActionInstanceQuery
-
actionDefinitionIdLike
Description copied from interface:ActionInstanceQueryOnly select action instances with an action definition id like the given string.- Specified by:
actionDefinitionIdLikein interfaceActionInstanceQuery
-
actionDefinitionKey
Description copied from interface:ActionInstanceQueryOnly select action instances linked to the action definition for the given key.- Specified by:
actionDefinitionKeyin interfaceActionInstanceQuery
-
name
Description copied from interface:ActionInstanceQueryOnly select action instances with the given name.- Specified by:
namein interfaceActionInstanceQuery
-
nameLike
Description copied from interface:ActionInstanceQueryOnly select action instances with an name like the given string.- Specified by:
nameLikein interfaceActionInstanceQuery
-
scopeId
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope id.- Specified by:
scopeIdin interfaceActionInstanceQuery
-
subScopeId
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope id.- Specified by:
subScopeIdin interfaceActionInstanceQuery
-
scopeType
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope type.- Specified by:
scopeTypein interfaceActionInstanceQuery
-
scopeDefinitionId
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope definition id.- Specified by:
scopeDefinitionIdin interfaceActionInstanceQuery
-
startDate
Description copied from interface:ActionInstanceQueryOnly select action instances started on the given time- Specified by:
startDatein interfaceActionInstanceQuery
-
startDateBefore
Description copied from interface:ActionInstanceQueryOnly select action instances started before the given time- Specified by:
startDateBeforein interfaceActionInstanceQuery
-
startDateAfter
Description copied from interface:ActionInstanceQueryOnly select action instances started after the given time- Specified by:
startDateAfterin interfaceActionInstanceQuery
-
formInstanceId
Description copied from interface:ActionInstanceQueryOnly select action instances with the given form instance id.- Specified by:
formInstanceIdin interfaceActionInstanceQuery
-
formKey
Description copied from interface:ActionInstanceQueryOnly select action instances with the given form key.- Specified by:
formKeyin interfaceActionInstanceQuery
-
priority
Description copied from interface:ActionInstanceQueryOnly select action instances with the given priority.- Specified by:
priorityin interfaceActionInstanceQuery
-
maxPriority
Description copied from interface:ActionInstanceQueryOnly select action instances with the given priority or lower.- Specified by:
maxPriorityin interfaceActionInstanceQuery
-
minPriority
Description copied from interface:ActionInstanceQueryOnly select action instances with the given priority or higher.- Specified by:
minPriorityin interfaceActionInstanceQuery
-
participantUser
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided user.- Specified by:
participantUserin interfaceActionInstanceQuery
-
participantUsers
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided users.- Specified by:
participantUsersin interfaceActionInstanceQuery
-
participantGroup
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided group.- Specified by:
participantGroupin interfaceActionInstanceQuery
-
participantGroups
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided groups.- Specified by:
participantGroupsin interfaceActionInstanceQuery
-
supportsChannel
Description copied from interface:ActionInstanceQueryOnly select action instances with an action link for the action definition id and the provided channel.- Specified by:
supportsChannelin interfaceActionInstanceQuery
-
supportsChannels
Description copied from interface:ActionInstanceQueryOnly select action instances with action definition links for the action definition id and the provided channels.- Specified by:
supportsChannelsin interfaceActionInstanceQuery
-
queryOnActionLinks
Description copied from interface:ActionInstanceQueryOnly 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.- Specified by:
queryOnActionLinksin interfaceActionInstanceQuery
-
queryOnlyOnActionLinks
Description copied from interface:ActionInstanceQuerySimilar toActionInstanceQuery.queryOnActionLinks(), but only returns those instances which have anActionLinkinstance. This query option can only be used when a scope id is already set.- Specified by:
queryOnlyOnActionLinksin interfaceActionInstanceQuery
-
tenantId
Description copied from interface:ActionInstanceQueryOnly select action instances that have the given tenant id.- Specified by:
tenantIdin interfaceActionInstanceQuery
-
tenantIdLike
Description copied from interface:ActionInstanceQueryOnly select action instances with a tenant id like the given one.- Specified by:
tenantIdLikein interfaceActionInstanceQuery
-
withoutTenantId
Description copied from interface:ActionInstanceQueryOnly select action instances that do not have a tenant id.- Specified by:
withoutTenantIdin interfaceActionInstanceQuery
-
icon
Description copied from interface:ActionInstanceQueryOnly select action instances with the given icon.- Specified by:
iconin interfaceActionInstanceQuery
-
orderByStartDate
Description copied from interface:ActionInstanceQueryOrder by start date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByStartDatein interfaceActionInstanceQuery
-
orderByPriority
Description copied from interface:ActionInstanceQueryOrder by priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByPriorityin interfaceActionInstanceQuery
-
orderByTenantId
Description copied from interface:ActionInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceActionInstanceQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<ActionInstanceQuery,ActionInstance>
-
executeList
- Specified by:
executeListin classAbstractQuery<ActionInstanceQuery,ActionInstance>
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<ActionInstanceEntity>
-
getIds
-
getActionDefinitionId
-
getActionDefinitionIdLike
-
getActionDefinitionKey
-
getName
-
getNameLike
-
getScopeId
-
getSubScopeId
-
getScopeType
-
getScopeDefinitionId
-
getStartDate
-
getStartDateBefore
-
getStartDateAfter
-
getFormInstanceId
-
getFormKey
-
getPriority
-
getMaxPriority
-
getMinPriority
-
getParticipantUsers
-
getParticipantGroups
-
getSafeParticipantGroups
-
setSafeParticipantGroups
public void setSafeParticipantGroups(Collection<? extends Collection<String>> safeParticipantGroups) -
getChannel
-
getChannels
-
isQueryOnActionLinks
public boolean isQueryOnActionLinks() -
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getIcon
-