@Service(value="blCartMessageOrderItemServiceExtensionHandler") public class CartMessageOrderItemServiceExtensionHandler extends AbstractOrderServiceExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
protected OrderServiceExtensionManager |
extensionManager |
protected List<PromotionMessageGenerator> |
generators |
protected OrderItemService |
orderItemService |
enabled, priority| Constructor and Description |
|---|
CartMessageOrderItemServiceExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPromotionMessagesForType(List<PromotionMessageDTO> messageDTOs,
List<PromotionMessageDTO> messages) |
ExtensionResultStatusType |
attachAdditionalDataToOrder(Order order,
boolean priceOrder)
Can be used to attach or update fields must prior to saving an order.
|
protected List<String> |
gatherOrderItemCartMessages(OrderItem orderItem) |
protected List<String> |
gatherProductCartMessages(OrderItem orderItem) |
int |
getPriority() |
void |
init() |
protected void |
updateOrderItemCartMessages(OrderItem orderItem) |
addOfferCodes, attachAdditionalDataToNewNamedCart, findCartForCustomerWithEnhancements, findCartForCustomerWithEnhancements, preValidateCartOperation, preValidateUpdateQuantityOperationisEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEnabledprotected OrderItemService orderItemService
protected List<PromotionMessageGenerator> generators
protected OrderServiceExtensionManager extensionManager
public CartMessageOrderItemServiceExtensionHandler()
@PostConstruct public void init()
public ExtensionResultStatusType attachAdditionalDataToOrder(Order order, boolean priceOrder)
OrderServiceExtensionHandlerattachAdditionalDataToOrder in interface OrderServiceExtensionHandlerattachAdditionalDataToOrder in class AbstractOrderServiceExtensionHandlerprotected void updateOrderItemCartMessages(OrderItem orderItem)
protected void addPromotionMessagesForType(List<PromotionMessageDTO> messageDTOs, List<PromotionMessageDTO> messages)
public int getPriority()
getPriority in interface ExtensionHandlergetPriority in class AbstractExtensionHandlerCopyright © 2020. All rights reserved.