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,- java.io.Serializable,- org.flowable.common.engine.api.query.CacheAwareQuery<ActionInstanceEntity>,- org.flowable.common.engine.api.query.Query<ActionInstanceQuery,ActionInstance>,- org.flowable.common.engine.impl.interceptor.Command<java.lang.Object>
public class ActionInstanceQueryImpl extends org.flowable.common.engine.impl.query.AbstractQuery<ActionInstanceQuery,ActionInstance> implements ActionInstanceQuery, org.flowable.common.engine.api.query.CacheAwareQuery<ActionInstanceEntity>, java.io.Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
- Serialized Form
- 
Nested Class Summary
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringactionDefinitionIdprotected java.lang.StringactionDefinitionIdLikeprotected java.lang.Stringchannelprotected java.util.List<java.lang.String>channelsprotected java.lang.StringformInstanceIdprotected java.lang.StringformKeyprotected java.lang.Stringidprotected java.util.Set<java.lang.String>idsprotected java.lang.IntegermaxPriorityprotected java.lang.IntegerminPriorityprotected java.lang.Stringnameprotected java.lang.StringnameLikeprotected java.util.List<java.lang.String>participantGroupsprotected java.util.List<java.lang.String>participantUsersprotected java.lang.Integerpriorityprotected booleanqueryOnActionLinksprotected booleanqueryOnlyOnActionLinksprotected java.lang.StringscopeDefinitionIdprotected java.lang.StringscopeIdprotected java.lang.StringscopeTypeprotected java.util.DatestartDateprotected java.util.DatestartDateAfterprotected java.util.DatestartDateBeforeprotected java.lang.StringsubScopeIdprotected java.lang.StringtenantIdprotected java.lang.StringtenantIdLikeprotected booleanwithoutTenantId
- 
Constructor SummaryConstructors Constructor Description ActionInstanceQueryImpl()ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
- 
Method SummaryModifier and Type Method Description ActionInstanceQueryImplactionDefinitionId(java.lang.String actionDefinitionId)Only select action instances with the given action definition id.ActionInstanceQueryImplactionDefinitionIdLike(java.lang.String actionDefinitionIdLike)Only select action instances with an action definition id like the given string.longexecuteCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)java.util.List<ActionInstance>executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)ActionInstanceQueryImplformInstanceId(java.lang.String formInstanceId)Only select action instances with the given form instance id.ActionInstanceQueryformKey(java.lang.String formKey)Only select action instances with the given form key.java.lang.StringgetActionDefinitionId()java.lang.StringgetActionDefinitionIdLike()java.lang.StringgetChannel()java.util.List<java.lang.String>getChannels()java.lang.StringgetFormInstanceId()java.lang.StringgetFormKey()java.lang.StringgetId()java.util.Set<java.lang.String>getIds()java.lang.IntegergetMaxPriority()java.lang.IntegergetMinPriority()java.lang.StringgetName()java.lang.StringgetNameLike()java.util.List<java.lang.String>getParticipantGroups()java.util.List<java.lang.String>getParticipantUsers()java.lang.IntegergetPriority()java.lang.StringgetScopeDefinitionId()java.lang.StringgetScopeId()java.lang.StringgetScopeType()java.util.DategetStartDate()java.util.DategetStartDateAfter()java.util.DategetStartDateBefore()java.lang.StringgetSubScopeId()java.lang.StringgetTenantId()java.lang.StringgetTenantIdLike()ActionInstanceQueryImplid(java.lang.String id)Only select action instances with the given id.ActionInstanceQueryImplids(java.util.Set<java.lang.String> ids)Only select action instances with the given ids.booleanisQueryOnActionLinks()booleanisWithoutTenantId()ActionInstanceQuerymaxPriority(java.lang.Integer maxPriority)Only select action instances with the given priority or lower.ActionInstanceQueryminPriority(java.lang.Integer minPriority)Only select action instances with the given priority or higher.ActionInstanceQueryname(java.lang.String name)Only select action instances with the given name.ActionInstanceQuerynameLike(java.lang.String nameLike)Only select action instances with an name like the given string.ActionInstanceQueryorderByPriority()Order by priority (needs to be followed byQuery.asc()orQuery.desc()).ActionInstanceQueryorderByStartDate()Order by start date (needs to be followed byQuery.asc()orQuery.desc()).ActionInstanceQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).ActionInstanceQueryparticipantGroup(java.lang.String groupId)Only select action instances with an identity link for the provided group.ActionInstanceQueryparticipantGroups(java.util.List<java.lang.String> groupIds)Only select action instances with an identity link for the provided groups.ActionInstanceQueryparticipantUser(java.lang.String userId)Only select action instances with an identity link for the provided user.ActionInstanceQueryparticipantUsers(java.util.List<java.lang.String> userIds)Only select action instances with an identity link for the provided users.ActionInstanceQuerypriority(java.lang.Integer priority)Only select action instances with the given priority.ActionInstanceQueryqueryOnActionLinks()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.ActionInstanceQueryqueryOnlyOnActionLinks()Similar toActionInstanceQuery.queryOnActionLinks(), but only returns those instances which have anActionLinkinstance.ActionInstanceQueryImplscopeDefinitionId(java.lang.String scopeDefinitionId)Only select action instances with the given scope definition id.ActionInstanceQueryImplscopeId(java.lang.String scopeId)Only select action instances with the given scope id.ActionInstanceQueryImplscopeType(java.lang.String scopeType)Only select action instances with the given scope type.ActionInstanceQueryImplstartDate(java.util.Date startDate)Only select action instances started on the given timeActionInstanceQueryImplstartDateAfter(java.util.Date startDateAfter)Only select action instances started after the given timeActionInstanceQueryImplstartDateBefore(java.util.Date startDateBefore)Only select action instances started before the given timeActionInstanceQuerysubScopeId(java.lang.String subScopeId)Only select action instances with the given scope id.ActionInstanceQueryImplsupportsChannel(java.lang.String channel)Only select action instances with an action link for the action definition id and the provided channel.ActionInstanceQueryImplsupportsChannels(java.util.List<java.lang.String> channels)Only select action instances with action definition links for the action definition id and the provided channels.ActionInstanceQueryImpltenantId(java.lang.String tenantId)Only select action instances that have the given tenant id.ActionInstanceQueryImpltenantIdLike(java.lang.String tenantIdLike)Only select action instances with a tenant id like the given one.ActionInstanceQueryImplwithoutTenantId()Only select action instances that do not have a tenant id.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQueryasc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObjectaddOrder, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameterMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
idprotected java.lang.String id
- 
idsprotected java.util.Set<java.lang.String> ids
- 
actionDefinitionIdprotected java.lang.String actionDefinitionId
- 
actionDefinitionIdLikeprotected java.lang.String actionDefinitionIdLike
- 
nameprotected java.lang.String name
- 
nameLikeprotected java.lang.String nameLike
- 
scopeIdprotected java.lang.String scopeId
- 
subScopeIdprotected java.lang.String subScopeId
- 
scopeTypeprotected java.lang.String scopeType
- 
scopeDefinitionIdprotected java.lang.String scopeDefinitionId
- 
startDateprotected java.util.Date startDate
- 
startDateBeforeprotected java.util.Date startDateBefore
- 
startDateAfterprotected java.util.Date startDateAfter
- 
formInstanceIdprotected java.lang.String formInstanceId
- 
formKeyprotected java.lang.String formKey
- 
priorityprotected java.lang.Integer priority
- 
maxPriorityprotected java.lang.Integer maxPriority
- 
minPriorityprotected java.lang.Integer minPriority
- 
participantUsersprotected java.util.List<java.lang.String> participantUsers
- 
participantGroupsprotected java.util.List<java.lang.String> participantGroups
- 
channelprotected java.lang.String channel
- 
channelsprotected java.util.List<java.lang.String> channels
- 
queryOnActionLinksprotected boolean queryOnActionLinks
- 
queryOnlyOnActionLinksprotected boolean queryOnlyOnActionLinks
- 
tenantIdprotected java.lang.String tenantId
- 
tenantIdLikeprotected java.lang.String tenantIdLike
- 
withoutTenantIdprotected boolean withoutTenantId
 
- 
- 
Constructor Details- 
ActionInstanceQueryImplpublic ActionInstanceQueryImpl()
- 
ActionInstanceQueryImplpublic ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- 
ActionInstanceQueryImplpublic ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
 
- 
- 
Method Details- 
idDescription copied from interface:ActionInstanceQueryOnly select action instances with the given id.- Specified by:
- idin interface- ActionInstanceQuery
 
- 
idsDescription copied from interface:ActionInstanceQueryOnly select action instances with the given ids.- Specified by:
- idsin interface- ActionInstanceQuery
 
- 
actionDefinitionIdDescription copied from interface:ActionInstanceQueryOnly select action instances with the given action definition id.- Specified by:
- actionDefinitionIdin interface- ActionInstanceQuery
 
- 
actionDefinitionIdLikeDescription copied from interface:ActionInstanceQueryOnly select action instances with an action definition id like the given string.- Specified by:
- actionDefinitionIdLikein interface- ActionInstanceQuery
 
- 
nameDescription copied from interface:ActionInstanceQueryOnly select action instances with the given name.- Specified by:
- namein interface- ActionInstanceQuery
 
- 
nameLikeDescription copied from interface:ActionInstanceQueryOnly select action instances with an name like the given string.- Specified by:
- nameLikein interface- ActionInstanceQuery
 
- 
scopeIdDescription copied from interface:ActionInstanceQueryOnly select action instances with the given scope id.- Specified by:
- scopeIdin interface- ActionInstanceQuery
 
- 
subScopeIdDescription copied from interface:ActionInstanceQueryOnly select action instances with the given scope id.- Specified by:
- subScopeIdin interface- ActionInstanceQuery
 
- 
scopeTypeDescription copied from interface:ActionInstanceQueryOnly select action instances with the given scope type.- Specified by:
- scopeTypein interface- ActionInstanceQuery
 
- 
scopeDefinitionIdDescription copied from interface:ActionInstanceQueryOnly select action instances with the given scope definition id.- Specified by:
- scopeDefinitionIdin interface- ActionInstanceQuery
 
- 
startDateDescription copied from interface:ActionInstanceQueryOnly select action instances started on the given time- Specified by:
- startDatein interface- ActionInstanceQuery
 
- 
startDateBeforeDescription copied from interface:ActionInstanceQueryOnly select action instances started before the given time- Specified by:
- startDateBeforein interface- ActionInstanceQuery
 
- 
startDateAfterDescription copied from interface:ActionInstanceQueryOnly select action instances started after the given time- Specified by:
- startDateAfterin interface- ActionInstanceQuery
 
- 
formInstanceIdDescription copied from interface:ActionInstanceQueryOnly select action instances with the given form instance id.- Specified by:
- formInstanceIdin interface- ActionInstanceQuery
 
- 
formKeyDescription copied from interface:ActionInstanceQueryOnly select action instances with the given form key.- Specified by:
- formKeyin interface- ActionInstanceQuery
 
- 
priorityDescription copied from interface:ActionInstanceQueryOnly select action instances with the given priority.- Specified by:
- priorityin interface- ActionInstanceQuery
 
- 
maxPriorityDescription copied from interface:ActionInstanceQueryOnly select action instances with the given priority or lower.- Specified by:
- maxPriorityin interface- ActionInstanceQuery
 
- 
minPriorityDescription copied from interface:ActionInstanceQueryOnly select action instances with the given priority or higher.- Specified by:
- minPriorityin interface- ActionInstanceQuery
 
- 
participantUserDescription copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided user.- Specified by:
- participantUserin interface- ActionInstanceQuery
 
- 
participantUsersDescription copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided users.- Specified by:
- participantUsersin interface- ActionInstanceQuery
 
- 
participantGroupDescription copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided group.- Specified by:
- participantGroupin interface- ActionInstanceQuery
 
- 
participantGroupsDescription copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided groups.- Specified by:
- participantGroupsin interface- ActionInstanceQuery
 
- 
supportsChannelDescription copied from interface:ActionInstanceQueryOnly select action instances with an action link for the action definition id and the provided channel.- Specified by:
- supportsChannelin interface- ActionInstanceQuery
 
- 
supportsChannelsDescription copied from interface:ActionInstanceQueryOnly select action instances with action definition links for the action definition id and the provided channels.- Specified by:
- supportsChannelsin interface- ActionInstanceQuery
 
- 
queryOnActionLinksDescription 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 interface- ActionInstanceQuery
 
- 
queryOnlyOnActionLinksDescription 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 interface- ActionInstanceQuery
 
- 
tenantIdDescription copied from interface:ActionInstanceQueryOnly select action instances that have the given tenant id.- Specified by:
- tenantIdin interface- ActionInstanceQuery
 
- 
tenantIdLikeDescription copied from interface:ActionInstanceQueryOnly select action instances with a tenant id like the given one.- Specified by:
- tenantIdLikein interface- ActionInstanceQuery
 
- 
withoutTenantIdDescription copied from interface:ActionInstanceQueryOnly select action instances that do not have a tenant id.- Specified by:
- withoutTenantIdin interface- ActionInstanceQuery
 
- 
orderByStartDateDescription copied from interface:ActionInstanceQueryOrder by start date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByStartDatein interface- ActionInstanceQuery
 
- 
orderByPriorityDescription copied from interface:ActionInstanceQueryOrder by priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByPriorityin interface- ActionInstanceQuery
 
- 
orderByTenantIdDescription copied from interface:ActionInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByTenantIdin interface- ActionInstanceQuery
 
- 
executeCountpublic long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
- executeCountin class- org.flowable.common.engine.impl.query.AbstractQuery<ActionInstanceQuery,ActionInstance>
 
- 
executeListpublic java.util.List<ActionInstance> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
- executeListin class- org.flowable.common.engine.impl.query.AbstractQuery<ActionInstanceQuery,ActionInstance>
 
- 
getIdpublic java.lang.String getId()- Specified by:
- getIdin interface- org.flowable.common.engine.api.query.CacheAwareQuery<ActionInstanceEntity>
 
- 
getIdspublic java.util.Set<java.lang.String> getIds()
- 
getActionDefinitionIdpublic java.lang.String getActionDefinitionId()
- 
getActionDefinitionIdLikepublic java.lang.String getActionDefinitionIdLike()
- 
getNamepublic java.lang.String getName()
- 
getNameLikepublic java.lang.String getNameLike()
- 
getScopeIdpublic java.lang.String getScopeId()
- 
getSubScopeIdpublic java.lang.String getSubScopeId()
- 
getScopeTypepublic java.lang.String getScopeType()
- 
getScopeDefinitionIdpublic java.lang.String getScopeDefinitionId()
- 
getStartDatepublic java.util.Date getStartDate()
- 
getStartDateBeforepublic java.util.Date getStartDateBefore()
- 
getStartDateAfterpublic java.util.Date getStartDateAfter()
- 
getFormInstanceIdpublic java.lang.String getFormInstanceId()
- 
getFormKeypublic java.lang.String getFormKey()
- 
getPrioritypublic java.lang.Integer getPriority()
- 
getMaxPrioritypublic java.lang.Integer getMaxPriority()
- 
getMinPrioritypublic java.lang.Integer getMinPriority()
- 
getParticipantUserspublic java.util.List<java.lang.String> getParticipantUsers()
- 
getParticipantGroupspublic java.util.List<java.lang.String> getParticipantGroups()
- 
getChannelpublic java.lang.String getChannel()
- 
getChannelspublic java.util.List<java.lang.String> getChannels()
- 
isQueryOnActionLinkspublic boolean isQueryOnActionLinks()
- 
getTenantIdpublic java.lang.String getTenantId()
- 
getTenantIdLikepublic java.lang.String getTenantIdLike()
- 
isWithoutTenantIdpublic boolean isWithoutTenantId()
 
-