@Component(value="cuba_OrmCacheSupport")
public class OrmCacheSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
OrmCacheSupport() |
Modifier and Type | Method and Description |
---|---|
void |
evictMasterEntity(BaseGenericIdEntity entity,
EntityAttributeChanges changes)
Evicts an entity from cache if it has the given entity as an element of collection.
|
public static final java.lang.String NAME
public void evictMasterEntity(BaseGenericIdEntity entity, @Nullable EntityAttributeChanges changes)
entity
- which is being updated and can potentially be an element of a collectionchanges
- changes in the entity. Null when creating and removing the entity.