public class GlossaryContentsCachePolicy extends AbstractSimplePageElementCachePolicy
PageElementCachePolicy which clears the content cache when a glossary definition is created, modified or deleted.PageElementCachePolicy.PolicyResult| Constructor and Description |
|---|
GlossaryContentsCachePolicy() |
| 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, shouldClearCachepublic GlossaryContentsCachePolicy()
public Set<String> getPageElementTypes()
PageElementCachePolicyprotected List<String> _getRemovingCacheEventIds(String workspace)
AbstractSimplePageElementCachePolicy_getRemovingCacheEventIds in class AbstractSimplePageElementCachePolicyworkspace - the current JCR workspace.