@Component(value="cachedGenericStaticPageWrapper") public class CacheableGenericStaticPageWrapper extends GenericStaticPageWrapper implements CacheLookups
CONTENT_PUBLISH_CACHE_NAME, PRODUCT_LOOKUP_CACHE_NAME, PRODUCT_SEARCH_CACHE_NAME, TEMPLATEPAGE_MAPPING_CACHE_NAME
Constructor and Description |
---|
CacheableGenericStaticPageWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
processStaticPage(org.apache.wicket.MarkupContainer templateContainerOrPage,
String webRelativePath) |
getBasePagePath, getChildPageComponentName, processSpecialTags, processStaticRequests, setBasePagePath, setChildPageComponentName
@Cacheable(key="#webRelativePath", value="publishContent") public void processStaticPage(org.apache.wicket.MarkupContainer templateContainerOrPage, String webRelativePath)
processStaticPage
in class GenericStaticPageWrapper
templateContainerOrPage
- as WebPage
to the Template that represents all Static PageswebRelativePath
- as complete relative web path + fileName where the static pages will be found.Copyright © 2018. All rights reserved.