Interface ContentUpdateHandler

    • Method Detail

      • updateCacheEntry

        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. 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 entry
        lastUpdated - The last update cache timestamp
        configCacheRoot - The path to cache root
        admin - The admin session for cache updates
        session - The user session for personalized content
        true if cache was updated, false otherwise