Class NamedOrderProcessor

java.lang.Object
org.broadleafcommerce.core.web.processor.NamedOrderProcessor
Record Components:
orderVar - the value that the order will be assigned to
orderName - the name of the order, Order.getName()
All Implemented Interfaces:
org.broadleafcommerce.common.web.expression.BroadleafVariableExpression, NamedOrderExpression

@Deprecated @Component("blNamedOrderProcessor") @ConditionalOnTemplating public class NamedOrderProcessor extends Object implements NamedOrderExpression

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 Details

    • orderService

      protected org.broadleafcommerce.core.order.service.OrderService orderService
      Deprecated.
  • Constructor Details

    • NamedOrderProcessor

      public NamedOrderProcessor()
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Specified by:
      getName in interface org.broadleafcommerce.common.web.expression.BroadleafVariableExpression
      Specified by:
      getName in interface NamedOrderExpression
    • getPrecedence

      public int getPrecedence()
      Deprecated.
      Specified by:
      getPrecedence in interface NamedOrderExpression
    • getWishlist

      public org.broadleafcommerce.core.order.domain.Order getWishlist()
      Deprecated.
      Specified by:
      getWishlist in interface NamedOrderExpression