Class InsertProgramServiceCachePolicy
java.lang.Object
org.ametys.web.cache.pageelement.AbstractSimplePageElementCachePolicy
org.ametys.plugins.odfweb.cachepolicy.InsertProgramServiceCachePolicy
- All Implemented Interfaces:
PageElementCachePolicy
PageElementCachePolicy
for the insert program service.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.web.cache.pageelement.PageElementCachePolicy
PageElementCachePolicy.PolicyResult
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_getRemovingCacheEventIds
(String workspace) Returns all event ids for which the cache should be removed.Returns the types of the associated page elements.Methods inherited from class org.ametys.web.cache.pageelement.AbstractSimplePageElementCachePolicy
_supports, shouldClearCache, shouldClearCache
-
Field Details
-
SERVICE_INSERT_PROGRAM_ID
The insert program service ID.- See Also:
-
-
Constructor Details
-
InsertProgramServiceCachePolicy
public InsertProgramServiceCachePolicy()
-
-
Method Details
-
getPageElementTypes
Description copied from interface:PageElementCachePolicy
Returns the types of the associated page elements.- Returns:
- the types of the associated page elements.
-
_getRemovingCacheEventIds
Description copied from class:AbstractSimplePageElementCachePolicy
Returns all event ids for which the cache should be removed.- Specified by:
_getRemovingCacheEventIds
in classAbstractSimplePageElementCachePolicy
- Parameters:
workspace
- the current JCR workspace.- Returns:
- all event ids for which the cache should be removed.
-