@Service(value="blOrderServiceExtensionManager") public class OrderServiceExtensionManager extends ExtensionManager<OrderServiceExtensionHandler> implements OrderServiceExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
static ExtensionManagerOperation |
attachAdditionalDataToNewNamedCart |
static ExtensionManagerOperation |
attachAdditionalDataToOrder |
static ExtensionManagerOperation |
findStaleCacheAwareCartForCustomer |
static ExtensionManagerOperation |
findStaleCacheAwareCartForCustomer2 |
static ExtensionManagerOperation |
preValidateCartOperation |
static ExtensionManagerOperation |
preValidateUpdateQuantityOperation |
extensionHandler, handlers, handlersSorted, LOCK_OBJECT| Constructor and Description |
|---|
OrderServiceExtensionManager() |
execute, getHandlers, getPriority, getProxy, invoke, registerHandler, setHandlers, shouldContinue, sortHandlersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic static final ExtensionManagerOperation attachAdditionalDataToNewNamedCart
public static final ExtensionManagerOperation preValidateCartOperation
public static final ExtensionManagerOperation preValidateUpdateQuantityOperation
public static final ExtensionManagerOperation attachAdditionalDataToOrder
public static final ExtensionManagerOperation findStaleCacheAwareCartForCustomer
public static final ExtensionManagerOperation findStaleCacheAwareCartForCustomer2
public boolean continueOnHandled()
continueOnHandled in class ExtensionManager<OrderServiceExtensionHandler>public ExtensionResultStatusType attachAdditionalDataToNewNamedCart(Customer customer, Order cart)
attachAdditionalDataToNewNamedCart in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType preValidateCartOperation(Order cart, ExtensionResultHolder erh)
preValidateCartOperation in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh)
preValidateUpdateQuantityOperation in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType attachAdditionalDataToOrder(Order order, boolean priceOrder)
OrderServiceExtensionHandlerattachAdditionalDataToOrder in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType findCartForCustomerWithEnhancements(Customer customer, ExtensionResultHolder erh)
OrderServiceExtensionHandlerOrderServiceExtensionHandler
can provide one or more interesting enhancements.findCartForCustomerWithEnhancements in interface OrderServiceExtensionHandlercustomer - the user for whom the cart is retrievederh - the holder for the enhanced cart to be set by the handlerpublic ExtensionResultStatusType findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh)
OrderServiceExtensionHandlerOrderServiceExtensionHandler can provide one or more interesting enhancements.findCartForCustomerWithEnhancements in interface OrderServiceExtensionHandlercustomer - the user for whom the cart is enhancedcandidateCart - the source cart to enhanceerh - the holder for the enhanced cart to be set by the handlerpublic boolean isEnabled()
isEnabled in interface ExtensionHandlerCopyright © 2017. All rights reserved.