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 Summary
Fields Modifier and Type Field Description protected java.lang.String
actionDefinitionId
protected java.lang.String
actionDefinitionIdLike
protected java.lang.String
channel
protected java.util.List<java.lang.String>
channels
protected java.lang.String
formInstanceId
protected java.lang.String
formKey
protected java.lang.String
id
protected java.util.Set<java.lang.String>
ids
protected java.lang.Integer
maxPriority
protected java.lang.Integer
minPriority
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.util.List<java.lang.String>
participantGroups
protected java.util.List<java.lang.String>
participantUsers
protected java.lang.Integer
priority
protected boolean
queryOnActionLinks
protected boolean
queryOnlyOnActionLinks
protected java.lang.String
scopeDefinitionId
protected java.lang.String
scopeId
protected java.lang.String
scopeType
protected java.util.Date
startDate
protected java.util.Date
startDateAfter
protected java.util.Date
startDateBefore
protected java.lang.String
subScopeId
protected java.lang.String
tenantId
protected java.lang.String
tenantIdLike
protected boolean
withoutTenantId
-
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
Modifier and Type Method Description ActionInstanceQueryImpl
actionDefinitionId(java.lang.String actionDefinitionId)
Only select action instances with the given action definition id.ActionInstanceQueryImpl
actionDefinitionIdLike(java.lang.String actionDefinitionIdLike)
Only select action instances with an action definition id like the given string.long
executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.util.List<ActionInstance>
executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
ActionInstanceQueryImpl
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.java.lang.String
getActionDefinitionId()
java.lang.String
getActionDefinitionIdLike()
java.lang.String
getChannel()
java.util.List<java.lang.String>
getChannels()
java.lang.String
getFormInstanceId()
java.lang.String
getFormKey()
java.lang.String
getId()
java.util.Set<java.lang.String>
getIds()
java.lang.Integer
getMaxPriority()
java.lang.Integer
getMinPriority()
java.lang.String
getName()
java.lang.String
getNameLike()
java.util.List<java.lang.String>
getParticipantGroups()
java.util.List<java.lang.String>
getParticipantUsers()
java.lang.Integer
getPriority()
java.lang.String
getScopeDefinitionId()
java.lang.String
getScopeId()
java.lang.String
getScopeType()
java.util.Date
getStartDate()
java.util.Date
getStartDateAfter()
java.util.Date
getStartDateBefore()
java.lang.String
getSubScopeId()
java.lang.String
getTenantId()
java.lang.String
getTenantIdLike()
ActionInstanceQueryImpl
id(java.lang.String id)
Only select action instances with the given id.ActionInstanceQueryImpl
ids(java.util.Set<java.lang.String> ids)
Only select action instances with the given ids.boolean
isQueryOnActionLinks()
boolean
isWithoutTenantId()
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 toActionInstanceQuery.queryOnActionLinks()
, but only returns those instances which have anActionLink
instance.ActionInstanceQueryImpl
scopeDefinitionId(java.lang.String scopeDefinitionId)
Only select action instances with the given scope definition id.ActionInstanceQueryImpl
scopeId(java.lang.String scopeId)
Only select action instances with the given scope id.ActionInstanceQueryImpl
scopeType(java.lang.String scopeType)
Only select action instances with the given scope type.ActionInstanceQueryImpl
startDate(java.util.Date startDate)
Only select action instances started on the given timeActionInstanceQueryImpl
startDateAfter(java.util.Date startDateAfter)
Only select action instances started after the given timeActionInstanceQueryImpl
startDateBefore(java.util.Date startDateBefore)
Only select action instances started before the given timeActionInstanceQuery
subScopeId(java.lang.String subScopeId)
Only select action instances with the given scope id.ActionInstanceQueryImpl
supportsChannel(java.lang.String channel)
Only select action instances with an action link for the action definition id and the provided channel.ActionInstanceQueryImpl
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.ActionInstanceQueryImpl
tenantId(java.lang.String tenantId)
Only select action instances that have the given tenant id.ActionInstanceQueryImpl
tenantIdLike(java.lang.String tenantIdLike)
Only select action instances with a tenant id like the given one.ActionInstanceQueryImpl
withoutTenantId()
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 Details
-
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 Details
-
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 Details
-
id
Description copied from interface:ActionInstanceQuery
Only select action instances with the given id.- Specified by:
id
in interfaceActionInstanceQuery
-
ids
Description copied from interface:ActionInstanceQuery
Only select action instances with the given ids.- Specified by:
ids
in interfaceActionInstanceQuery
-
actionDefinitionId
Description copied from interface:ActionInstanceQuery
Only select action instances with the given action definition id.- Specified by:
actionDefinitionId
in interfaceActionInstanceQuery
-
actionDefinitionIdLike
Description copied from interface:ActionInstanceQuery
Only select action instances with an action definition id like the given string.- Specified by:
actionDefinitionIdLike
in interfaceActionInstanceQuery
-
name
Description copied from interface:ActionInstanceQuery
Only select action instances with the given name.- Specified by:
name
in interfaceActionInstanceQuery
-
nameLike
Description copied from interface:ActionInstanceQuery
Only select action instances with an name like the given string.- Specified by:
nameLike
in interfaceActionInstanceQuery
-
scopeId
Description copied from interface:ActionInstanceQuery
Only select action instances with the given scope id.- Specified by:
scopeId
in interfaceActionInstanceQuery
-
subScopeId
Description copied from interface:ActionInstanceQuery
Only select action instances with the given scope id.- Specified by:
subScopeId
in interfaceActionInstanceQuery
-
scopeType
Description copied from interface:ActionInstanceQuery
Only select action instances with the given scope type.- Specified by:
scopeType
in interfaceActionInstanceQuery
-
scopeDefinitionId
Description copied from interface:ActionInstanceQuery
Only select action instances with the given scope definition id.- Specified by:
scopeDefinitionId
in interfaceActionInstanceQuery
-
startDate
Description copied from interface:ActionInstanceQuery
Only select action instances started on the given time- Specified by:
startDate
in interfaceActionInstanceQuery
-
startDateBefore
Description copied from interface:ActionInstanceQuery
Only select action instances started before the given time- Specified by:
startDateBefore
in interfaceActionInstanceQuery
-
startDateAfter
Description copied from interface:ActionInstanceQuery
Only select action instances started after the given time- Specified by:
startDateAfter
in interfaceActionInstanceQuery
-
formInstanceId
Description copied from interface:ActionInstanceQuery
Only select action instances with the given form instance id.- Specified by:
formInstanceId
in interfaceActionInstanceQuery
-
formKey
Description copied from interface:ActionInstanceQuery
Only select action instances with the given form key.- Specified by:
formKey
in interfaceActionInstanceQuery
-
priority
Description copied from interface:ActionInstanceQuery
Only select action instances with the given priority.- Specified by:
priority
in interfaceActionInstanceQuery
-
maxPriority
Description copied from interface:ActionInstanceQuery
Only select action instances with the given priority or lower.- Specified by:
maxPriority
in interfaceActionInstanceQuery
-
minPriority
Description copied from interface:ActionInstanceQuery
Only select action instances with the given priority or higher.- Specified by:
minPriority
in interfaceActionInstanceQuery
-
participantUser
Description copied from interface:ActionInstanceQuery
Only select action instances with an identity link for the provided user.- Specified by:
participantUser
in interfaceActionInstanceQuery
-
participantUsers
Description copied from interface:ActionInstanceQuery
Only select action instances with an identity link for the provided users.- Specified by:
participantUsers
in interfaceActionInstanceQuery
-
participantGroup
Description copied from interface:ActionInstanceQuery
Only select action instances with an identity link for the provided group.- Specified by:
participantGroup
in interfaceActionInstanceQuery
-
participantGroups
Description copied from interface:ActionInstanceQuery
Only select action instances with an identity link for the provided groups.- Specified by:
participantGroups
in interfaceActionInstanceQuery
-
supportsChannel
Description copied from interface:ActionInstanceQuery
Only select action instances with an action link for the action definition id and the provided channel.- Specified by:
supportsChannel
in interfaceActionInstanceQuery
-
supportsChannels
Description copied from interface:ActionInstanceQuery
Only select action instances with action definition links for the action definition id and the provided channels.- Specified by:
supportsChannels
in interfaceActionInstanceQuery
-
queryOnActionLinks
Description copied from interface:ActionInstanceQuery
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.- Specified by:
queryOnActionLinks
in interfaceActionInstanceQuery
-
queryOnlyOnActionLinks
Description copied from interface:ActionInstanceQuery
Similar toActionInstanceQuery.queryOnActionLinks()
, but only returns those instances which have anActionLink
instance. This query option can only be used when a scope id is already set.- Specified by:
queryOnlyOnActionLinks
in interfaceActionInstanceQuery
-
tenantId
Description copied from interface:ActionInstanceQuery
Only select action instances that have the given tenant id.- Specified by:
tenantId
in interfaceActionInstanceQuery
-
tenantIdLike
Description copied from interface:ActionInstanceQuery
Only select action instances with a tenant id like the given one.- Specified by:
tenantIdLike
in interfaceActionInstanceQuery
-
withoutTenantId
Description copied from interface:ActionInstanceQuery
Only select action instances that do not have a tenant id.- Specified by:
withoutTenantId
in interfaceActionInstanceQuery
-
orderByStartDate
Description copied from interface:ActionInstanceQuery
Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByStartDate
in interfaceActionInstanceQuery
-
orderByPriority
Description copied from interface:ActionInstanceQuery
Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByPriority
in interfaceActionInstanceQuery
-
orderByTenantId
Description copied from interface:ActionInstanceQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceActionInstanceQuery
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeCount
in 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:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<ActionInstanceQuery,ActionInstance>
-
getId
public java.lang.String getId()- Specified by:
getId
in 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()
-