public interface ContentUpdateHandler
Modifier and Type | Method and Description |
---|---|
boolean |
updateCacheEntry(ConfigEntry configEntry,
java.lang.Long lastUpdated,
java.lang.String configCacheRoot,
Session admin,
Session session)
This method should update the content sync cache for
the given
ConfigEntry . |
boolean updateCacheEntry(ConfigEntry configEntry, java.lang.Long lastUpdated, java.lang.String configCacheRoot, Session admin, Session session)
ConfigEntry
. If the cache entry
is missing or the content has changed relative to the
given date, the handler should create/update the cache
entry and indicate the update by returning true
.configEntry
- The config entrylastUpdated
- The last update cache timestampconfigCacheRoot
- The path to cache rootadmin
- The admin session for cache updatessession
- The user session for personalized contenttrue
if cache was updated, false
otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved