public abstract class AbstractBreadcrumbServiceExtensionHandler extends Object implements org.broadleafcommerce.common.extension.ExtensionHandler, org.broadleafcommerce.common.breadcrumbs.service.BreadcrumbServiceExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
protected Integer |
priority |
| Constructor and Description |
|---|
AbstractBreadcrumbServiceExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildLink(String url,
Map<String,String[]> params) |
abstract int |
getDefaultPriority()
Implementations must provide a priority for this extension handler as the
order determines the breadcrumb order.
|
int |
getPriority() |
boolean |
isEnabled() |
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
modifyBreadcrumbList(String url,
Map<String,String[]> params,
org.broadleafcommerce.common.extension.ExtensionResultHolder<List<org.broadleafcommerce.common.breadcrumbs.dto.BreadcrumbDTO>> holder) |
void |
setEnabled(boolean enabled) |
void |
setPriority(Integer priority) |
protected Integer priority
protected boolean enabled
public AbstractBreadcrumbServiceExtensionHandler()
public org.broadleafcommerce.common.extension.ExtensionResultStatusType modifyBreadcrumbList(String url, Map<String,String[]> params, org.broadleafcommerce.common.extension.ExtensionResultHolder<List<org.broadleafcommerce.common.breadcrumbs.dto.BreadcrumbDTO>> holder)
modifyBreadcrumbList in interface org.broadleafcommerce.common.breadcrumbs.service.BreadcrumbServiceExtensionHandlerpublic int getPriority()
getPriority in interface org.broadleafcommerce.common.extension.ExtensionHandlerpublic void setPriority(Integer priority)
public boolean isEnabled()
isEnabled in interface org.broadleafcommerce.common.extension.ExtensionHandlerpublic void setEnabled(boolean enabled)
public abstract int getDefaultPriority()
Copyright © 2015. All rights reserved.