@Component(value="blBLCVariableExpression") @ConditionalOnTemplating public class BLCVariableExpression extends Object implements BroadleafVariableExpression
| Modifier and Type | Field and Description |
|---|---|
protected CatalogURLService |
catalogURLService |
| Constructor and Description |
|---|
BLCVariableExpression() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCurrentUrl() |
String |
getName() |
String |
getPrice(String amount)
Returns the price at the correct scale and rounding for the default currency
|
String |
relativeURL(Category category) |
String |
relativeURL(Product product) |
String |
relativeURL(String baseUrl,
Category category) |
String |
relativeURL(String baseUrl,
Product product) |
protected CatalogURLService catalogURLService
public String getName()
getName in interface BroadleafVariableExpressionprotected String getCurrentUrl()
public String getPrice(String amount)
amount - Money.defaultCurrency()Copyright © 2019. All rights reserved.