Class InternalVariableInstanceQueryImpl
java.lang.Object
org.flowable.variable.service.impl.InternalVariableInstanceQueryImpl
- All Implemented Interfaces:
SingleCachedEntityMatcher<VariableInstanceEntity>,CachedEntityMatcher<VariableInstanceEntity>,InternalVariableInstanceQuery
public class InternalVariableInstanceQueryImpl
extends Object
implements InternalVariableInstanceQuery, CachedEntityMatcher<VariableInstanceEntity>, SingleCachedEntityMatcher<VariableInstanceEntity>
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final VariableInstanceDataManagerprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Collection<String>protected Stringprotected Collection<String>protected Stringprotected Collection<String>protected Stringprotected Collection<String>protected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecutionId(String executionId) Query variables with the given execution idexecutionIds(Collection<String> executionIds) Query variables with the given execution idsgetId()getName()getNames()Query variables with the given id.booleanisRetained(Collection<VariableInstanceEntity> databaseEntities, Collection<CachedEntity> cachedEntities, VariableInstanceEntity entity, Object param) Returns true if an entity from the cache should be retained (i.e.booleanisRetained(VariableInstanceEntity entity, Object param) booleanisRetained(VariableInstanceEntity entity, InternalVariableInstanceQueryImpl param) booleanbooleanlist()Query variables with the given namenames(Collection<String> names) Query variables with the given nameprocessInstanceId(String processInstanceId) Query variables with the given process instance idQuery variables with the given scope id.scopeIds(Collection<String> scopeIds) Query variables with the given scope ids.Query variables with the given scope typescopeTypes(Collection<String> scopeTypes) Query variables with the given scope typessubScopeId(String subScopeId) Query variables with the given sub scope id.subScopeIds(Collection<String> subScopeIds) Query variables with the given sub scope ids.Query variables with the given task idtaskIds(Collection<String> taskIds) Query variables with the given task idsQuery variables without a sub scope id.Query variables without a task id.
-
Field Details
-
dataManager
-
id
-
taskId
-
taskIds
-
processInstanceId
-
executionId
-
executionIds
-
withoutTaskId
protected boolean withoutTaskId -
scopeId
-
scopeIds
-
subScopeId
-
subScopeIds
-
withoutSubScopeId
protected boolean withoutSubScopeId -
scopeType
-
scopeTypes
-
name
-
names
-
-
Constructor Details
-
InternalVariableInstanceQueryImpl
-
-
Method Details
-
id
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given id.- Specified by:
idin interfaceInternalVariableInstanceQuery
-
taskId
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given task id- Specified by:
taskIdin interfaceInternalVariableInstanceQuery
-
taskIds
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given task ids- Specified by:
taskIdsin interfaceInternalVariableInstanceQuery
-
processInstanceId
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given process instance id- Specified by:
processInstanceIdin interfaceInternalVariableInstanceQuery
-
executionId
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given execution id- Specified by:
executionIdin interfaceInternalVariableInstanceQuery
-
executionIds
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given execution ids- Specified by:
executionIdsin interfaceInternalVariableInstanceQuery
-
withoutTaskId
Description copied from interface:InternalVariableInstanceQueryQuery variables without a task id. Cannot be used together withInternalVariableInstanceQuery.taskId(String)orInternalVariableInstanceQuery.taskIds(Collection).- Specified by:
withoutTaskIdin interfaceInternalVariableInstanceQuery
-
scopeId
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given scope id.- Specified by:
scopeIdin interfaceInternalVariableInstanceQuery
-
scopeIds
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given scope ids.- Specified by:
scopeIdsin interfaceInternalVariableInstanceQuery
-
subScopeId
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given sub scope id. Cannot be used together withInternalVariableInstanceQuery.withoutSubScopeId()- Specified by:
subScopeIdin interfaceInternalVariableInstanceQuery
-
subScopeIds
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given sub scope ids. Cannot be used together withInternalVariableInstanceQuery.withoutSubScopeId()- Specified by:
subScopeIdsin interfaceInternalVariableInstanceQuery
-
withoutSubScopeId
Description copied from interface:InternalVariableInstanceQueryQuery variables without a sub scope id. Cannot be used together withInternalVariableInstanceQuery.subScopeId(String)- Specified by:
withoutSubScopeIdin interfaceInternalVariableInstanceQuery
-
scopeType
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given scope type- Specified by:
scopeTypein interfaceInternalVariableInstanceQuery
-
scopeTypes
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given scope types- Specified by:
scopeTypesin interfaceInternalVariableInstanceQuery
-
name
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given name- Specified by:
namein interfaceInternalVariableInstanceQuery
-
names
Description copied from interface:InternalVariableInstanceQueryQuery variables with the given name- Specified by:
namesin interfaceInternalVariableInstanceQuery
-
list
- Specified by:
listin interfaceInternalVariableInstanceQuery
-
singleResult
- Specified by:
singleResultin interfaceInternalVariableInstanceQuery
-
getId
-
getTaskId
-
getTaskIds
-
getProcessInstanceId
-
getExecutionId
-
getExecutionIds
-
isWithoutTaskId
public boolean isWithoutTaskId() -
getScopeId
-
getScopeIds
-
getSubScopeId
-
getSubScopeIds
-
isWithoutSubScopeId
public boolean isWithoutSubScopeId() -
getScopeType
-
getScopeTypes
-
getName
-
getNames
-
getParameter
-
isRetained
public boolean isRetained(Collection<VariableInstanceEntity> databaseEntities, Collection<CachedEntity> cachedEntities, VariableInstanceEntity entity, Object param) Description copied from interface:CachedEntityMatcherReturns true if an entity from the cache should be retained (i.e. used as return result for a query). Most implementations of this interface probably don't need this method, and should extend the simplerCachedEntityMatcherAdapter, which hides this method. Note that the databaseEntities collection can be null, in case only the cache is checked.- Specified by:
isRetainedin interfaceCachedEntityMatcher<VariableInstanceEntity>
-
isRetained
- Specified by:
isRetainedin interfaceSingleCachedEntityMatcher<VariableInstanceEntity>
-
isRetained
-