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
public class BlogVirtualPagesWithCommentsCachePolicy extends BlogVirtualPagesCachePolicy
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 Modifier and Type Field Description private static Set<String>_TYPES- 
Fields inherited from class org.ametys.plugins.blog.cachepolicy.BlogVirtualPagesCachePolicy
_blogPageHandler 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BlogVirtualPagesWithCommentsCachePolicy() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>_getRemovingCacheEventIds(String workspace)Returns all event ids for which the cache should be removed.Set<String>getPageElementTypes()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 Detail
- 
BlogVirtualPagesWithCommentsCachePolicy
public BlogVirtualPagesWithCommentsCachePolicy()
 
 - 
 
- 
Method Detail
- 
getPageElementTypes
public Set<String> getPageElementTypes()
Description copied from interface:PageElementCachePolicyReturns the types of the associated page elements.- Specified by:
 getPageElementTypesin interfacePageElementCachePolicy- Overrides:
 getPageElementTypesin classBlogVirtualPagesCachePolicy- Returns:
 - the types of the associated page elements.
 
 
- 
_getRemovingCacheEventIds
protected List<String> _getRemovingCacheEventIds(String workspace)
Description copied from class:BlogVirtualPagesCachePolicyReturns all event ids for which the cache should be removed.- Overrides:
 _getRemovingCacheEventIdsin classBlogVirtualPagesCachePolicy- Parameters:
 workspace- the current JCR workspace.- Returns:
 - all event ids for which the cache should be removed.
 
 
 - 
 
 -