Class BlogVirtualPagesWithCommentsCachePolicy
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.blog.cachepolicy.BlogVirtualPagesCachePolicy
org.ametys.plugins.blog.cachepolicy.BlogVirtualPagesWithCommentsCachePolicy
- All Implemented Interfaces:
PageElementCachePolicy
,LogEnabled
,Serviceable
Cache policy for the sitemap, handling blog virtual pages linked with contents.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.web.cache.pageelement.PageElementCachePolicy
PageElementCachePolicy.PolicyResult
-
Field Summary
Fields inherited from class org.ametys.plugins.blog.cachepolicy.BlogVirtualPagesCachePolicy
_blogPageHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_getRemovingCacheEventIds
(String workspace) Returns all event ids for which the cache should be removed.Returns the types of the associated page elements.Methods inherited from class org.ametys.plugins.blog.cachepolicy.BlogVirtualPagesCachePolicy
service, shouldClearCache, shouldClearCache
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
BlogVirtualPagesWithCommentsCachePolicy
-
-
Method Details
-
getPageElementTypes
Description copied from interface:PageElementCachePolicy
Returns the types of the associated page elements.- Specified by:
getPageElementTypes
in interfacePageElementCachePolicy
- Overrides:
getPageElementTypes
in classBlogVirtualPagesCachePolicy
- Returns:
- the types of the associated page elements.
-
_getRemovingCacheEventIds
Description copied from class:BlogVirtualPagesCachePolicy
Returns all event ids for which the cache should be removed.- Overrides:
_getRemovingCacheEventIds
in classBlogVirtualPagesCachePolicy
- Parameters:
workspace
- the current JCR workspace.- Returns:
- all event ids for which the cache should be removed.
-