Class NamedOrderProcessor
java.lang.Object
org.broadleafcommerce.core.web.processor.NamedOrderProcessor
- Record Components:
orderVar- the value that the order will be assigned toorderName- the name of the order,Order.getName()
- All Implemented Interfaces:
BroadleafVariableExpression,NamedOrderExpression
@Deprecated
@Component("blNamedOrderProcessor")
@ConditionalOnTemplating
public class NamedOrderProcessor
extends Object
implements NamedOrderExpression
Deprecated.
A Thymeleaf processor that will add the desired named order to the model
Example:
<blc:named_order orderVar="wishlist" orderName="wishlist" />
<span th:text="${wishlist.customer.name}" />
- Author:
- elbertbautista
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
orderService
Deprecated.
-
-
Constructor Details
-
NamedOrderProcessor
public NamedOrderProcessor()Deprecated.
-
-
Method Details
-
getName
Deprecated.- Specified by:
getNamein interfaceBroadleafVariableExpression- Specified by:
getNamein interfaceNamedOrderExpression
-
getPrecedence
public int getPrecedence()Deprecated.- Specified by:
getPrecedencein interfaceNamedOrderExpression
-
getWishlist
Deprecated.- Specified by:
getWishlistin interfaceNamedOrderExpression
-
OrderVariableExpression.getNamedOrderForCurrentCustomer(String)instead