public abstract class AbstractContentProcessorExtensionHandler extends org.broadleafcommerce.common.extension.AbstractExtensionHandler implements ContentProcessorExtensionHandler
ContentProcessorExtensionHandler| Constructor and Description |
|---|
AbstractContentProcessorExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
addAdditionalFieldsToModel(String tagName,
Map<String,String> tagAttributes,
Map<String,Object> newModelVars,
org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
This method will add any additional attributes to the model that the extension needs
|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
addExtensionFieldDeepLink(List<org.broadleafcommerce.common.web.deeplink.DeepLink> links,
String tagName,
Map<String,String> tagAttributes,
org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
Provides a hook point for an extension of content processor to optionally add in deep links
for a content item based on its extension fields
|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
postProcessDeepLinks(List<org.broadleafcommerce.common.web.deeplink.DeepLink> links)
Provides a hook point to allow extension handlers to modify the generated deep links.
|
getPriority, isEnabled, setEnabled, setPrioritypublic AbstractContentProcessorExtensionHandler()
public org.broadleafcommerce.common.extension.ExtensionResultStatusType addAdditionalFieldsToModel(String tagName, Map<String,String> tagAttributes, Map<String,Object> newModelVars, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
ContentProcessorExtensionHandleraddAdditionalFieldsToModel in interface ContentProcessorExtensionHandlerpublic org.broadleafcommerce.common.extension.ExtensionResultStatusType addExtensionFieldDeepLink(List<org.broadleafcommerce.common.web.deeplink.DeepLink> links, String tagName, Map<String,String> tagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
ContentProcessorExtensionHandleraddExtensionFieldDeepLink in interface ContentProcessorExtensionHandlerpublic org.broadleafcommerce.common.extension.ExtensionResultStatusType postProcessDeepLinks(List<org.broadleafcommerce.common.web.deeplink.DeepLink> links)
ContentProcessorExtensionHandlerpostProcessDeepLinks in interface ContentProcessorExtensionHandlerCopyright © 2022. All rights reserved.