public interface OverridePreCacheService
| Modifier and Type | Method and Description |
|---|---|
List<StandardCacheItem> |
findElements(String... cacheKeys)
Find any cached items matching the passed keys
|
void |
groomCacheBySiteOverride(String entityType,
Long cloneId,
boolean isRemove)
Add or remove from the cache based on an override declaration.
|
void |
groomCacheByTargetEntity(String entityType,
Serializable id)
Update an overridden entity value in the cache
|
boolean |
isActiveForType(String type)
Whether or not the cache is active for the specified type
|
boolean |
isActiveIsolatedSiteForType(Long siteId,
String entityType)
Assuming the passed in site is a standard site, determine whether or not the standard site has any
isolated values (i.e.
|
void |
refreshCache()
Refresh the entire cache structure.
|
List<StandardCacheItem> findElements(String... cacheKeys)
cacheKeys - the keys to checkboolean isActiveIsolatedSiteForType(Long siteId, String entityType)
siteId - entityType - boolean isActiveForType(String type)
type - the entity type to checkvoid groomCacheBySiteOverride(String entityType, Long cloneId, boolean isRemove)
entityType - cloneId - isRemove - void groomCacheByTargetEntity(String entityType, Serializable id)
entityType - id - void refreshCache()
Copyright © 2022. All rights reserved.