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
-
-
Field Summary
Fields 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 Summary
Constructors Constructor Description ActionInstanceQueryImpl()ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier 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.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
ids
protected java.util.Set<java.lang.String> ids
-
actionDefinitionId
protected java.lang.String actionDefinitionId
-
actionDefinitionIdLike
protected java.lang.String actionDefinitionIdLike
-
name
protected java.lang.String name
-
nameLike
protected java.lang.String nameLike
-
scopeId
protected java.lang.String scopeId
-
subScopeId
protected java.lang.String subScopeId
-
scopeType
protected java.lang.String scopeType
-
scopeDefinitionId
protected java.lang.String scopeDefinitionId
-
startDate
protected java.util.Date startDate
-
startDateBefore
protected java.util.Date startDateBefore
-
startDateAfter
protected java.util.Date startDateAfter
-
formInstanceId
protected java.lang.String formInstanceId
-
formKey
protected java.lang.String formKey
-
priority
protected java.lang.Integer priority
-
maxPriority
protected java.lang.Integer maxPriority
-
minPriority
protected java.lang.Integer minPriority
-
participantUsers
protected java.util.List<java.lang.String> participantUsers
-
participantGroups
protected java.util.List<java.lang.String> participantGroups
-
channel
protected java.lang.String channel
-
channels
protected java.util.List<java.lang.String> channels
-
queryOnActionLinks
protected boolean queryOnActionLinks
-
queryOnlyOnActionLinks
protected boolean queryOnlyOnActionLinks
-
tenantId
protected java.lang.String tenantId
-
tenantIdLike
protected java.lang.String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Detail
-
ActionInstanceQueryImpl
public ActionInstanceQueryImpl()
-
ActionInstanceQueryImpl
public ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
ActionInstanceQueryImpl
public ActionInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public ActionInstanceQueryImpl id(java.lang.String id)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given id.- Specified by:
idin interfaceActionInstanceQuery
-
ids
public ActionInstanceQueryImpl ids(java.util.Set<java.lang.String> ids)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given ids.- Specified by:
idsin interfaceActionInstanceQuery
-
actionDefinitionId
public ActionInstanceQueryImpl actionDefinitionId(java.lang.String actionDefinitionId)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given action definition id.- Specified by:
actionDefinitionIdin interfaceActionInstanceQuery
-
actionDefinitionIdLike
public ActionInstanceQueryImpl actionDefinitionIdLike(java.lang.String actionDefinitionIdLike)
Description copied from interface:ActionInstanceQueryOnly select action instances with an action definition id like the given string.- Specified by:
actionDefinitionIdLikein interfaceActionInstanceQuery
-
name
public ActionInstanceQuery name(java.lang.String name)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given name.- Specified by:
namein interfaceActionInstanceQuery
-
nameLike
public ActionInstanceQuery nameLike(java.lang.String nameLike)
Description copied from interface:ActionInstanceQueryOnly select action instances with an name like the given string.- Specified by:
nameLikein interfaceActionInstanceQuery
-
scopeId
public ActionInstanceQueryImpl scopeId(java.lang.String scopeId)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope id.- Specified by:
scopeIdin interfaceActionInstanceQuery
-
subScopeId
public ActionInstanceQuery subScopeId(java.lang.String subScopeId)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope id.- Specified by:
subScopeIdin interfaceActionInstanceQuery
-
scopeType
public ActionInstanceQueryImpl scopeType(java.lang.String scopeType)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope type.- Specified by:
scopeTypein interfaceActionInstanceQuery
-
scopeDefinitionId
public ActionInstanceQueryImpl scopeDefinitionId(java.lang.String scopeDefinitionId)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given scope definition id.- Specified by:
scopeDefinitionIdin interfaceActionInstanceQuery
-
startDate
public ActionInstanceQueryImpl startDate(java.util.Date startDate)
Description copied from interface:ActionInstanceQueryOnly select action instances started on the given time- Specified by:
startDatein interfaceActionInstanceQuery
-
startDateBefore
public ActionInstanceQueryImpl startDateBefore(java.util.Date startDateBefore)
Description copied from interface:ActionInstanceQueryOnly select action instances started before the given time- Specified by:
startDateBeforein interfaceActionInstanceQuery
-
startDateAfter
public ActionInstanceQueryImpl startDateAfter(java.util.Date startDateAfter)
Description copied from interface:ActionInstanceQueryOnly select action instances started after the given time- Specified by:
startDateAfterin interfaceActionInstanceQuery
-
formInstanceId
public ActionInstanceQueryImpl formInstanceId(java.lang.String formInstanceId)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given form instance id.- Specified by:
formInstanceIdin interfaceActionInstanceQuery
-
formKey
public ActionInstanceQuery formKey(java.lang.String formKey)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given form key.- Specified by:
formKeyin interfaceActionInstanceQuery
-
priority
public ActionInstanceQuery priority(java.lang.Integer priority)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given priority.- Specified by:
priorityin interfaceActionInstanceQuery
-
maxPriority
public ActionInstanceQuery maxPriority(java.lang.Integer maxPriority)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given priority or lower.- Specified by:
maxPriorityin interfaceActionInstanceQuery
-
minPriority
public ActionInstanceQuery minPriority(java.lang.Integer minPriority)
Description copied from interface:ActionInstanceQueryOnly select action instances with the given priority or higher.- Specified by:
minPriorityin interfaceActionInstanceQuery
-
participantUser
public ActionInstanceQuery participantUser(java.lang.String userId)
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided user.- Specified by:
participantUserin interfaceActionInstanceQuery
-
participantUsers
public ActionInstanceQuery participantUsers(java.util.List<java.lang.String> userIds)
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided users.- Specified by:
participantUsersin interfaceActionInstanceQuery
-
participantGroup
public ActionInstanceQuery participantGroup(java.lang.String groupId)
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided group.- Specified by:
participantGroupin interfaceActionInstanceQuery
-
participantGroups
public ActionInstanceQuery participantGroups(java.util.List<java.lang.String> groupIds)
Description copied from interface:ActionInstanceQueryOnly select action instances with an identity link for the provided groups.- Specified by:
participantGroupsin interfaceActionInstanceQuery
-
supportsChannel
public ActionInstanceQueryImpl supportsChannel(java.lang.String channel)
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
public ActionInstanceQueryImpl supportsChannels(java.util.List<java.lang.String> channels)
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
public ActionInstanceQuery 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
public ActionInstanceQuery 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
public ActionInstanceQueryImpl tenantId(java.lang.String tenantId)
Description copied from interface:ActionInstanceQueryOnly select action instances that have the given tenant id.- Specified by:
tenantIdin interfaceActionInstanceQuery
-
tenantIdLike
public ActionInstanceQueryImpl tenantIdLike(java.lang.String tenantIdLike)
Description copied from interface:ActionInstanceQueryOnly select action instances with a tenant id like the given one.- Specified by:
tenantIdLikein interfaceActionInstanceQuery
-
withoutTenantId
public ActionInstanceQueryImpl withoutTenantId()
Description copied from interface:ActionInstanceQueryOnly select action instances that do not have a tenant id.- Specified by:
withoutTenantIdin interfaceActionInstanceQuery
-
orderByStartDate
public ActionInstanceQuery orderByStartDate()
Description copied from interface:ActionInstanceQueryOrder by start date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByStartDatein interfaceActionInstanceQuery
-
orderByPriority
public ActionInstanceQuery orderByPriority()
Description copied from interface:ActionInstanceQueryOrder by priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByPriorityin interfaceActionInstanceQuery
-
orderByTenantId
public ActionInstanceQuery orderByTenantId()
Description copied from interface:ActionInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceActionInstanceQuery
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Specified by:
executeCountin classorg.flowable.common.engine.impl.query.AbstractQuery<ActionInstanceQuery,ActionInstance>
-
executeList
public java.util.List<ActionInstance> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Specified by:
executeListin classorg.flowable.common.engine.impl.query.AbstractQuery<ActionInstanceQuery,ActionInstance>
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<ActionInstanceEntity>
-
getIds
public java.util.Set<java.lang.String> getIds()
-
getActionDefinitionId
public java.lang.String getActionDefinitionId()
-
getActionDefinitionIdLike
public java.lang.String getActionDefinitionIdLike()
-
getName
public java.lang.String getName()
-
getNameLike
public java.lang.String getNameLike()
-
getScopeId
public java.lang.String getScopeId()
-
getSubScopeId
public java.lang.String getSubScopeId()
-
getScopeType
public java.lang.String getScopeType()
-
getScopeDefinitionId
public java.lang.String getScopeDefinitionId()
-
getStartDate
public java.util.Date getStartDate()
-
getStartDateBefore
public java.util.Date getStartDateBefore()
-
getStartDateAfter
public java.util.Date getStartDateAfter()
-
getFormInstanceId
public java.lang.String getFormInstanceId()
-
getFormKey
public java.lang.String getFormKey()
-
getPriority
public java.lang.Integer getPriority()
-
getMaxPriority
public java.lang.Integer getMaxPriority()
-
getMinPriority
public java.lang.Integer getMinPriority()
-
getParticipantUsers
public java.util.List<java.lang.String> getParticipantUsers()
-
getParticipantGroups
public java.util.List<java.lang.String> getParticipantGroups()
-
getChannel
public java.lang.String getChannel()
-
getChannels
public java.util.List<java.lang.String> getChannels()
-
isQueryOnActionLinks
public boolean isQueryOnActionLinks()
-
getTenantId
public java.lang.String getTenantId()
-
getTenantIdLike
public java.lang.String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
-