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, shouldClearCache
public static final String SERVICE_SITEMAP_ID
public SitemapServiceCachePolicy()
public Set<String> getPageElementTypes()
PageElementCachePolicy
protected boolean _supports(Event event, String workspace)
AbstractSimplePageElementCachePolicy
_supports
in class AbstractACLPageElementCachePolicy
event
- The eventworkspace
- The JCR workspace.protected List<String> _getRemovingCacheEventIds(String workspace)
AbstractSimplePageElementCachePolicy
_getRemovingCacheEventIds
in class AbstractSimplePageElementCachePolicy
workspace
- the current JCR workspace.