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 VariableInstanceDataManager
protected String
protected Collection
<String> protected String
protected String
protected Collection
<String> protected String
protected String
protected Collection
<String> protected String
protected Collection
<String> protected String
protected Collection
<String> protected String
protected Collection
<String> protected boolean
protected 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.boolean
isRetained
(Collection<VariableInstanceEntity> databaseEntities, Collection<CachedEntity> cachedEntities, VariableInstanceEntity entity, Object param) Returns true if an entity from the cache should be retained (i.e. used as return result for a query).boolean
isRetained
(VariableInstanceEntity entity, Object param) boolean
isRetained
(VariableInstanceEntity entity, InternalVariableInstanceQueryImpl param) boolean
boolean
list()
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:InternalVariableInstanceQuery
Query variables with the given id.- Specified by:
id
in interfaceInternalVariableInstanceQuery
-
taskId
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given task id- Specified by:
taskId
in interfaceInternalVariableInstanceQuery
-
taskIds
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given task ids- Specified by:
taskIds
in interfaceInternalVariableInstanceQuery
-
processInstanceId
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given process instance id- Specified by:
processInstanceId
in interfaceInternalVariableInstanceQuery
-
executionId
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given execution id- Specified by:
executionId
in interfaceInternalVariableInstanceQuery
-
executionIds
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given execution ids- Specified by:
executionIds
in interfaceInternalVariableInstanceQuery
-
withoutTaskId
Description copied from interface:InternalVariableInstanceQuery
Query variables without a task id. Cannot be used together withInternalVariableInstanceQuery.taskId(String)
orInternalVariableInstanceQuery.taskIds(Collection)
.- Specified by:
withoutTaskId
in interfaceInternalVariableInstanceQuery
-
scopeId
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given scope id.- Specified by:
scopeId
in interfaceInternalVariableInstanceQuery
-
scopeIds
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given scope ids.- Specified by:
scopeIds
in interfaceInternalVariableInstanceQuery
-
subScopeId
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given sub scope id. Cannot be used together withInternalVariableInstanceQuery.withoutSubScopeId()
- Specified by:
subScopeId
in interfaceInternalVariableInstanceQuery
-
subScopeIds
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given sub scope ids. Cannot be used together withInternalVariableInstanceQuery.withoutSubScopeId()
- Specified by:
subScopeIds
in interfaceInternalVariableInstanceQuery
-
withoutSubScopeId
Description copied from interface:InternalVariableInstanceQuery
Query variables without a sub scope id. Cannot be used together withInternalVariableInstanceQuery.subScopeId(String)
- Specified by:
withoutSubScopeId
in interfaceInternalVariableInstanceQuery
-
scopeType
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given scope type- Specified by:
scopeType
in interfaceInternalVariableInstanceQuery
-
scopeTypes
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given scope types- Specified by:
scopeTypes
in interfaceInternalVariableInstanceQuery
-
name
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given name- Specified by:
name
in interfaceInternalVariableInstanceQuery
-
names
Description copied from interface:InternalVariableInstanceQuery
Query variables with the given name- Specified by:
names
in interfaceInternalVariableInstanceQuery
-
list
- Specified by:
list
in interfaceInternalVariableInstanceQuery
-
singleResult
- Specified by:
singleResult
in 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:CachedEntityMatcher
Returns 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:
isRetained
in interfaceCachedEntityMatcher<VariableInstanceEntity>
-
isRetained
- Specified by:
isRetained
in interfaceSingleCachedEntityMatcher<VariableInstanceEntity>
-
isRetained
-