Package org.broadleafcommerce.common.web
Interface BroadleafTemplateViewResolverExtensionHandler
- All Superinterfaces:
ExtensionHandler
- All Known Implementing Classes:
AbstractBroadleafTemplateResolverExtensionHandler
- Author:
- Andre Azzolini (apazzolini), bpolster
-
Method Summary
Modifier and TypeMethodDescriptionappendCacheKey(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to alter the cache key for the view.overrideView(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to override the view name.provideTemplateWrapper(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to provide a wrapper for the template.Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Method Details
-
overrideView
ExtensionResultStatusType overrideView(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to override the view name.- Parameters:
erh-- Returns:
-
appendCacheKey
ExtensionResultStatusType appendCacheKey(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to alter the cache key for the view.- Parameters:
erh-- Returns:
-
provideTemplateWrapper
ExtensionResultStatusType provideTemplateWrapper(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to provide a wrapper for the template.- Parameters:
erh-- Returns:
-