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.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.Stringnameprotected java.lang.StringnameLikeprotected java.util.List<java.lang.String>participantGroupsprotected java.util.List<java.lang.String>participantUsersprotected booleanqueryOnActionLinksprotected 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
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.StringgetName()java.lang.StringgetNameLike()java.util.List<java.lang.String>getParticipantGroups()java.util.List<java.lang.String>getParticipantUsers()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()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.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.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.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, singleResultMethods 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, setParameterMethods 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 -
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 -
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: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
-
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
-
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.- Specified by:
queryOnActionLinksin 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
-
orderByStartDate
Description copied from interface:ActionInstanceQueryOrder by start date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByStartDatein interfaceActionInstanceQuery
-
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() -
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()
-