Class AgentInstanceQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<AgentInstanceQuery, AgentInstance>
com.flowable.agent.engine.impl.runtime.AgentInstanceQueryImpl
- All Implemented Interfaces:
AgentInstanceQuery, Serializable, org.flowable.common.engine.api.query.Query<AgentInstanceQuery, AgentInstance>, org.flowable.common.engine.impl.interceptor.Command<Object>
public class AgentInstanceQueryImpl
extends org.flowable.common.engine.impl.query.AbstractQuery<AgentInstanceQuery, AgentInstance>
implements AgentInstanceQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.db.ListQueryParameterObject.OrderBy, org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String> protected Booleanprotected AgentInstanceQueryImplprotected booleanprotected Stringprotected Collection<String> protected booleanprotected List<AgentInstanceQueryImpl> protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected 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, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionAgentInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionagentDefinitionId(String agentDefinitionId) Query by the ID of the agent definitionagentDefinitionKey(String agentDefinitionKey) Query by the key of the agent definitioncallbackId(String callbackId) Query by the agent instance callback idcallbackScopeId(String callbackScopeId) Query by the agent instance callback scope idcallbackType(String callbackType) Query by the agent instance callback typecallbackTypes(Collection<String> callbackTypes) Query by the agent instance callback typesQuery only agent instances which are chat disabled.Query only agent instances which are chat enabled.endOr()End an OR statement.longexecuteCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) getId()getIds()Query by the id of the instanceids(Collection<String> ids) Query by multiple ids of instancesbooleanbooleanbooleanor()Begin an OR statement.referenceId(String referenceId) Query by the agent instance reference idreferenceType(String referenceType) Query by the agent instance reference typestartUserId(String startUserId) Query by the id of the user that started the instanceQuery by the tenant id of the instancetenantIdLike(String tenantIdLike) Query by a tenant id like the given oneMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Field Details
-
id
-
ids
-
tenantId
-
tenantIdSet
protected boolean tenantIdSet -
tenantIdLike
-
agentDefinitionId
-
agentDefinitionKey
-
startUserId
-
referenceType
-
referenceId
-
callbackType
-
callbackTypes
-
callbackId
-
callbackScopeId
-
finished
protected boolean finished -
unfinished
protected boolean unfinished -
chatEnabled
-
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement
-
-
Constructor Details
-
AgentInstanceQueryImpl
public AgentInstanceQueryImpl() -
AgentInstanceQueryImpl
public AgentInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
id
Description copied from interface:AgentInstanceQueryQuery by the id of the instance- Specified by:
idin interfaceAgentInstanceQuery
-
ids
Description copied from interface:AgentInstanceQueryQuery by multiple ids of instances- Specified by:
idsin interfaceAgentInstanceQuery
-
tenantId
Description copied from interface:AgentInstanceQueryQuery by the tenant id of the instance- Specified by:
tenantIdin interfaceAgentInstanceQuery
-
tenantIdLike
Description copied from interface:AgentInstanceQueryQuery by a tenant id like the given one- Specified by:
tenantIdLikein interfaceAgentInstanceQuery
-
agentDefinitionId
Description copied from interface:AgentInstanceQueryQuery by the ID of the agent definition- Specified by:
agentDefinitionIdin interfaceAgentInstanceQuery
-
agentDefinitionKey
Description copied from interface:AgentInstanceQueryQuery by the key of the agent definition- Specified by:
agentDefinitionKeyin interfaceAgentInstanceQuery
-
startUserId
Description copied from interface:AgentInstanceQueryQuery by the id of the user that started the instance- Specified by:
startUserIdin interfaceAgentInstanceQuery
-
referenceType
Description copied from interface:AgentInstanceQueryQuery by the agent instance reference type- Specified by:
referenceTypein interfaceAgentInstanceQuery
-
referenceId
Description copied from interface:AgentInstanceQueryQuery by the agent instance reference id- Specified by:
referenceIdin interfaceAgentInstanceQuery
-
callbackType
Description copied from interface:AgentInstanceQueryQuery by the agent instance callback type- Specified by:
callbackTypein interfaceAgentInstanceQuery
-
callbackTypes
Description copied from interface:AgentInstanceQueryQuery by the agent instance callback types- Specified by:
callbackTypesin interfaceAgentInstanceQuery
-
callbackId
Description copied from interface:AgentInstanceQueryQuery by the agent instance callback id- Specified by:
callbackIdin interfaceAgentInstanceQuery
-
callbackScopeId
Description copied from interface:AgentInstanceQueryQuery by the agent instance callback scope id- Specified by:
callbackScopeIdin interfaceAgentInstanceQuery
-
chatEnabled
Description copied from interface:AgentInstanceQueryQuery only agent instances which are chat enabled.- Specified by:
chatEnabledin interfaceAgentInstanceQuery
-
chatDisabled
Description copied from interface:AgentInstanceQueryQuery only agent instances which are chat disabled.- Specified by:
chatDisabledin interfaceAgentInstanceQuery
-
or
Description copied from interface:AgentInstanceQueryBegin an OR statement. Make sure to end the OR statement withAgentInstanceQuery.endOr().- Specified by:
orin interfaceAgentInstanceQuery
-
endOr
Description copied from interface:AgentInstanceQueryEnd an OR statement.- Specified by:
endOrin interfaceAgentInstanceQuery
-
orderByStartTime
- Specified by:
orderByStartTimein interfaceAgentInstanceQuery
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeCountin classorg.flowable.common.engine.impl.query.AbstractQuery<AgentInstanceQuery, AgentInstance>
-
executeList
public List<AgentInstance> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeListin classorg.flowable.common.engine.impl.query.AbstractQuery<AgentInstanceQuery, AgentInstance>
-
getId
-
getIds
-
getTenantId
-
isTenantIdSet
public boolean isTenantIdSet() -
getTenantIdLike
-
getAgentDefinitionId
-
getAgentDefinitionKey
-
getStartUserId
-
getReferenceType
-
getReferenceId
-
getCallbackType
-
getCallbackTypes
-
getCallbackId
-
getCallbackScopeId
-
isFinished
public boolean isFinished() -
isUnfinished
public boolean isUnfinished() -
getChatEnabled
-
getOrQueryObjects
-