@Service(value="blCsrOrderServiceExtensionHandler")
public class CsrOrderServiceExtensionHandler
extends org.broadleafcommerce.core.order.service.AbstractOrderServiceExtensionHandler
implements org.broadleafcommerce.core.order.service.OrderServiceExtensionHandler
OrderService for CSR functionality.| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.common.crossapp.service.CrossAppAuthService |
authService |
protected org.broadleafcommerce.core.order.service.OrderServiceExtensionManager |
extensionManager |
protected org.broadleafcommerce.core.order.service.OrderItemService |
orderItemService |
| Constructor and Description |
|---|
CsrOrderServiceExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
preValidateCartOperation(org.broadleafcommerce.core.order.domain.Order cart,
org.broadleafcommerce.common.extension.ExtensionResultHolder erh)
Prevent CSRs from interacting with customer carts unless they lock it first.
|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
preValidateUpdateQuantityOperation(org.broadleafcommerce.core.order.domain.Order cart,
org.broadleafcommerce.core.order.service.call.OrderItemRequestDTO dto,
org.broadleafcommerce.common.extension.ExtensionResultHolder erh)
Prevent normal users from updating the quantity of an item that has had a price override set by a CSR
|
addOfferCodes, attachAdditionalDataToNewNamedCart, attachAdditionalDataToOrder, findCartForCustomerWithEnhancements, findCartForCustomerWithEnhancementsgetPriority, isEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected org.broadleafcommerce.core.order.service.OrderServiceExtensionManager extensionManager
protected org.broadleafcommerce.common.crossapp.service.CrossAppAuthService authService
protected org.broadleafcommerce.core.order.service.OrderItemService orderItemService
@PostConstruct public void init()
public org.broadleafcommerce.common.extension.ExtensionResultStatusType preValidateCartOperation(org.broadleafcommerce.core.order.domain.Order cart,
org.broadleafcommerce.common.extension.ExtensionResultHolder erh)
preValidateCartOperation in interface org.broadleafcommerce.core.order.service.OrderServiceExtensionHandlerpreValidateCartOperation in class org.broadleafcommerce.core.order.service.AbstractOrderServiceExtensionHandlerpublic org.broadleafcommerce.common.extension.ExtensionResultStatusType preValidateUpdateQuantityOperation(org.broadleafcommerce.core.order.domain.Order cart,
org.broadleafcommerce.core.order.service.call.OrderItemRequestDTO dto,
org.broadleafcommerce.common.extension.ExtensionResultHolder erh)
preValidateUpdateQuantityOperation in interface org.broadleafcommerce.core.order.service.OrderServiceExtensionHandlerpreValidateUpdateQuantityOperation in class org.broadleafcommerce.core.order.service.AbstractOrderServiceExtensionHandlerCopyright © 2021. All rights reserved.