Class CachedEntityMatcherAdapter<EntityImpl extends Entity>
- java.lang.Object
-
- org.activiti.engine.impl.persistence.CachedEntityMatcherAdapter<EntityImpl>
-
- All Implemented Interfaces:
CachedEntityMatcher<EntityImpl>
- Direct Known Subclasses:
DeadLetterJobsByExecutionIdMatcher,EventSubscriptionsByExecutionAndTypeMatcher,EventSubscriptionsByExecutionIdMatcher,EventSubscriptionsByNameMatcher,EventSubscriptionsByProcInstTypeAndActivityMatcher,ExecutionByProcessInstanceMatcher,ExecutionsByParentExecutionIdAndActivityIdEntityMatcher,ExecutionsByParentExecutionIdEntityMatcher,ExecutionsByProcessInstanceIdEntityMatcher,ExecutionsByRootProcessInstanceMatcher,HistoricIdentityLinksByProcInstMatcher,HistoricVariableInstanceByProcInstMatcher,HistoricVariableInstanceByTaskIdMatcher,IdentityLinksByProcInstMatcher,InactiveExecutionsByProcInstMatcher,InactiveExecutionsInActivityAndProcInstMatcher,InactiveExecutionsInActivityMatcher,JobsByExecutionIdMatcher,MessageEventSubscriptionsByProcInstAndEventNameMatcher,ProcessInstancesByProcessDefinitionMatcher,SignalEventSubscriptionByEventNameMatcher,SignalEventSubscriptionByNameAndExecutionMatcher,SignalEventSubscriptionByProcInstAndEventNameMatcher,SuspendedJobsByExecutionIdMatcher,TasksByExecutionIdMatcher,TimerJobsByExecutionIdMatcher,UnfinishedHistoricActivityInstanceMatcher,VariableByExecutionIdMatcher
public abstract class CachedEntityMatcherAdapter<EntityImpl extends Entity> extends java.lang.Object implements CachedEntityMatcher<EntityImpl>
-
-
Constructor Summary
Constructors Constructor Description CachedEntityMatcherAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanisRetained(EntityImpl entity, java.lang.Object param)booleanisRetained(java.util.Collection<EntityImpl> databaseEntities, java.util.Collection<CachedEntity> cachedEntities, EntityImpl entity, java.lang.Object param)Returns true if an entity from the cache should be retained (i.e.
-
-
-
Method Detail
-
isRetained
public boolean isRetained(java.util.Collection<EntityImpl> databaseEntities, java.util.Collection<CachedEntity> cachedEntities, EntityImpl entity, java.lang.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
public abstract boolean isRetained(EntityImpl entity, java.lang.Object param)
-
-