Class AbstractACLPageElementCachePolicy

java.lang.Object
org.ametys.web.cache.pageelement.AbstractSimplePageElementCachePolicy
org.ametys.web.cache.pageelement.AbstractACLPageElementCachePolicy
All Implemented Interfaces:
PageElementCachePolicy
Direct Known Subclasses:
FilteredContentsInputDataCachePolicy, FilteredPagesInputDataCachePolicy, SitemapServiceCachePolicy

Base class for PageElementCachePolicy based on event ids and site aware ACL context.
When ACL is updated, the returned value will be REMOVE only if reading access has updated. Implementations should provide a list of event ids for which the cache should be removed. Be aware that for all other events, the returned value will be KEEP.