Package org.broadleafcommerce.common.web
Class AbstractBroadleafTemplateResolverExtensionHandler
java.lang.Object
org.broadleafcommerce.common.extension.AbstractExtensionHandler
org.broadleafcommerce.common.web.AbstractBroadleafTemplateResolverExtensionHandler
- All Implemented Interfaces:
ExtensionHandler,BroadleafTemplateViewResolverExtensionHandler
public abstract class AbstractBroadleafTemplateResolverExtensionHandler
extends AbstractExtensionHandler
implements BroadleafTemplateViewResolverExtensionHandler
- Author:
- bpolster
-
Field Summary
Fields inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler
enabled, priority -
Constructor Summary
Constructors -
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 class org.broadleafcommerce.common.extension.AbstractExtensionHandler
getPriority, isEnabled, setEnabled, setPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Constructor Details
-
AbstractBroadleafTemplateResolverExtensionHandler
public AbstractBroadleafTemplateResolverExtensionHandler()
-
-
Method Details
-
overrideView
public ExtensionResultStatusType overrideView(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Description copied from interface:BroadleafTemplateViewResolverExtensionHandlerAllows an extension handler to override the view name.- Specified by:
overrideViewin interfaceBroadleafTemplateViewResolverExtensionHandler- Returns:
-
appendCacheKey
public ExtensionResultStatusType appendCacheKey(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Description copied from interface:BroadleafTemplateViewResolverExtensionHandlerAllows an extension handler to alter the cache key for the view.- Specified by:
appendCacheKeyin interfaceBroadleafTemplateViewResolverExtensionHandler- Returns:
-
provideTemplateWrapper
public ExtensionResultStatusType provideTemplateWrapper(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Description copied from interface:BroadleafTemplateViewResolverExtensionHandlerAllows an extension handler to provide a wrapper for the template.- Specified by:
provideTemplateWrapperin interfaceBroadleafTemplateViewResolverExtensionHandler- Returns:
-