@Service(value="blOverridePreCacheService") public class DefaultOverridePreCacheServiceImpl extends Object implements OverridePreCacheService
OverridePreCacheService. Simply contains no-ops methods.| Constructor and Description |
|---|
DefaultOverridePreCacheServiceImpl() |
| 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.
|
public List<StandardCacheItem> findElements(String... cacheKeys)
OverridePreCacheServicefindElements in interface OverridePreCacheServicecacheKeys - the keys to checkpublic boolean isActiveForType(String type)
OverridePreCacheServiceisActiveForType in interface OverridePreCacheServicetype - the entity type to checkpublic boolean isActiveIsolatedSiteForType(Long siteId, String entityType)
OverridePreCacheServiceisActiveIsolatedSiteForType in interface OverridePreCacheServicepublic void groomCacheBySiteOverride(String entityType, Long cloneId, boolean isRemove)
OverridePreCacheServicegroomCacheBySiteOverride in interface OverridePreCacheServicepublic void groomCacheByTargetEntity(String entityType, Serializable id)
OverridePreCacheServicegroomCacheByTargetEntity in interface OverridePreCacheServicepublic void refreshCache()
OverridePreCacheServicerefreshCache in interface OverridePreCacheServiceCopyright © 2019. All rights reserved.