Class CachedEntityMatcherAdapter<EntityImpl extends Entity>
java.lang.Object
org.flowable.common.engine.impl.persistence.cache.CachedEntityMatcherAdapter<EntityImpl>
- All Implemented Interfaces:
CachedEntityMatcher<EntityImpl>
- Direct Known Subclasses:
ActivityInstanceMatcher,CaseInstanceByCaseDefinitionIdMatcher,DeadLetterJobsByExecutionIdMatcher,EntityLinksByRootScopeIdAndTypeMatcher,EntityLinksByScopeIdAndTypeMatcher,EventSubscriptionsByExecutionAndTypeMatcher,EventSubscriptionsByExecutionIdMatcher,EventSubscriptionsByNameMatcher,EventSubscriptionsByProcessDefinitionIdAndProcessStartEventMatcher,EventSubscriptionsByProcessInstanceAndTypeMatcher,EventSubscriptionsByProcInstTypeAndActivityMatcher,EventSubscriptionsByScopeDefinitionIdAndScopeStartEventMatcher,EventSubscriptionsByScopeDefinitionIdAndTypeAndNullScopeIdMatcher,EventSubscriptionsByScopeDefinitionIdAndTypeMatcher,EventSubscriptionsByScopeIdAndTypeMatcher,EventSubscriptionsBySubScopeIdMatcher,ExecutionByProcessInstanceMatcher,ExecutionsByParentExecutionIdAndActivityIdEntityMatcher,ExecutionsByParentExecutionIdEntityMatcher,ExecutionsByProcessInstanceIdEntityMatcher,ExecutionsByRootProcessInstanceMatcher,ExternalWorkerJobsByExecutionIdMatcher,ExternalWorkerJobsByScopeIdAndSubScopeIdMatcher,HistoricActivityInstanceMatcher,HistoricCaseInstanceByCaseDefinitionIdMatcher,HistoricDetailsByProcessInstanceIdEntityMatcher,HistoricDetailsByTaskInstanceIdEntityMatcher,HistoricIdentityLinksByProcInstMatcher,HistoricIdentityLinksByScopeIdAndTypeMatcher,HistoricIdentityLinksBySubScopeIdAndTypeMatcher,HistoricVariableInstanceByProcInstMatcher,HistoricVariableInstanceByScopeIdAndScopeTypeMatcher,HistoricVariableInstanceBySubScopeIdAndScopeTypeMatcher,HistoricVariableInstanceByTaskIdMatcher,IdentityLinksByProcessInstanceMatcher,IdentityLinksByProcessInstanceUserGroupAndTypeMatcher,IdentityLinksByScopeIdAndTypeMatcher,IdentityLinksByScopeIdScopeTypeUserGroupAndTypeMatcher,IdentityLinksBySubScopeIdAndTypeMatcher,IdentityLinksByTaskIdMatcher,InactiveExecutionsByProcInstMatcher,InactiveExecutionsInActivityAndProcInstMatcher,InactiveExecutionsInActivityMatcher,JobsByExecutionIdMatcher,MessageEventSubscriptionsByProcInstAndEventNameMatcher,MybatisMilestoneInstanceDataManager.MilestoneInstanceByCaseInstanceIdCachedEntityMatcher,MybatisPlanItemInstanceDataManagerImpl.PlanItemInstanceByCaseInstanceIdAndPlanItemIdCachedEntityMatcher,MybatisPlanItemInstanceDataManagerImpl.PlanItemInstanceByCaseInstanceIdCachedEntityMatcher,MybatisPlanItemInstanceDataManagerImpl.PlanItemInstanceByStageInstanceIdAndPlanItemIdCachedEntityMatcher,MybatisPlanItemInstanceDataManagerImpl.PlanItemInstanceByStagePlanItemInstanceIdCachedEntityMatcher,MybatisSentryPartInstanceDataManagerImpl.SentryPartByCaseInstanceIdEntityMatcher,MybatisSentryPartInstanceDataManagerImpl.SentryPartByPlanItemInstanceIdEntityMatcher,ProcessInstancesByProcessDefinitionMatcher,SignalEventSubscriptionByEventNameMatcher,SignalEventSubscriptionByNameAndExecutionMatcher,SignalEventSubscriptionByProcInstAndEventNameMatcher,SignalEventSubscriptionByScopeAndEventNameMatcher,SignalEventSubscriptionByScopeIdAndTypeMatcher,SuspendedJobsByExecutionIdMatcher,TasksByExecutionIdMatcher,TasksByProcessInstanceIdMatcher,TasksByScopeIdAndScopeTypeMatcher,TasksBySubScopeIdAndScopeTypeMatcher,TimerJobsByExecutionIdMatcher,TimerJobsByScopeIdAndSubScopeIdMatcher,UnfinishedActivityInstanceMatcher,UnfinishedHistoricActivityInstanceByProcessInstanceIdMatcher,UnfinishedHistoricActivityInstanceMatcher,VariableInstanceByExecutionIdMatcher,VariableInstanceByScopeIdAndScopeTypeMatcher,VariableInstanceByScopeIdAndScopeTypesMatcher,VariableInstanceBySubScopeIdAndScopeTypesMatcher,VariableInstanceByTaskIdMatcher
public abstract class CachedEntityMatcherAdapter<EntityImpl extends Entity>
extends Object
implements CachedEntityMatcher<EntityImpl>
- Author:
- Joram Barrez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanisRetained(EntityImpl entity, Object param) booleanisRetained(Collection<EntityImpl> databaseEntities, Collection<CachedEntity> cachedEntities, EntityImpl entity, Object param) Returns true if an entity from the cache should be retained (i.e.
-
Constructor Details
-
CachedEntityMatcherAdapter
public CachedEntityMatcherAdapter()
-
-
Method Details
-
isRetained
public boolean isRetained(Collection<EntityImpl> databaseEntities, Collection<CachedEntity> cachedEntities, EntityImpl 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<EntityImpl extends Entity>
-
isRetained
-