public class FilteredContentsServiceCachePolicy extends AbstractSimplePageElementCachePolicy
PageElementCachePolicy
for the filtered contents service.PageElementCachePolicy.PolicyResult
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_FILTERED_CONTENTS_ID
The sitemap service ID.
|
Constructor and Description |
---|
FilteredContentsServiceCachePolicy() |
Modifier and Type | Method and 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.
|
_supports, shouldClearCache, shouldClearCache
public static final String SERVICE_FILTERED_CONTENTS_ID
public FilteredContentsServiceCachePolicy()
public Set<String> getPageElementTypes()
PageElementCachePolicy
protected List<String> _getRemovingCacheEventIds(String workspace)
AbstractSimplePageElementCachePolicy
_getRemovingCacheEventIds
in class AbstractSimplePageElementCachePolicy
workspace
- the current JCR workspace.