Class CalendarServiceCachePolicy
- java.lang.Object
 - 
- org.ametys.web.cache.pageelement.AbstractSimplePageElementCachePolicy
 - 
- org.ametys.plugins.calendar.events.CalendarServiceCachePolicy
 
 
 
- 
- All Implemented Interfaces:
 PageElementCachePolicy
public class CalendarServiceCachePolicy extends AbstractSimplePageElementCachePolicy
PageElementCachePolicyfor the calendar services. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.ametys.web.cache.pageelement.PageElementCachePolicy
PageElementCachePolicy.PolicyResult 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CalendarServiceCachePolicy() 
- 
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.web.cache.pageelement.AbstractSimplePageElementCachePolicy
_supports, shouldClearCache, shouldClearCache 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
CalendarServiceCachePolicy
public CalendarServiceCachePolicy()
 
 - 
 
- 
Method Detail
- 
getPageElementTypes
public Set<String> getPageElementTypes()
Description copied from interface:PageElementCachePolicyReturns the types of the associated page elements.- Returns:
 - the types of the associated page elements.
 
 
- 
_getRemovingCacheEventIds
protected List<String> _getRemovingCacheEventIds(String workspace)
Description copied from class:AbstractSimplePageElementCachePolicyReturns all event ids for which the cache should be removed.- Specified by:
 _getRemovingCacheEventIdsin classAbstractSimplePageElementCachePolicy- Parameters:
 workspace- the current JCR workspace.- Returns:
 - all event ids for which the cache should be removed.
 
 
 - 
 
 -