public class SitemapServiceCachePolicy extends AbstractACLPageElementCachePolicy
PageElementCachePolicy for the Sitemap service.PageElementCachePolicy.PolicyResult| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_SITEMAP_ID
The sitemap service ID.
|
| Constructor and Description |
|---|
SitemapServiceCachePolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
_getRemovingCacheEventIds(String workspace)
Returns all event ids for which the cache should be removed.
|
protected boolean |
_supports(Event event,
String workspace)
Checks if the event is supported.
|
Set<String> |
getPageElementTypes()
Returns the types of the associated page elements.
|
shouldClearCache, shouldClearCachepublic static final String SERVICE_SITEMAP_ID
public SitemapServiceCachePolicy()
public Set<String> getPageElementTypes()
PageElementCachePolicyprotected boolean _supports(Event event, String workspace)
AbstractSimplePageElementCachePolicy_supports in class AbstractACLPageElementCachePolicyevent - The eventworkspace - The JCR workspace.protected List<String> _getRemovingCacheEventIds(String workspace)
AbstractSimplePageElementCachePolicy_getRemovingCacheEventIds in class AbstractSimplePageElementCachePolicyworkspace - the current JCR workspace.