Uses of Class
com.broadleafcommerce.orderoperation.domain.FulfillmentStatusChangeRequest
Package
Description
-
Uses of FulfillmentStatusChangeRequest in com.broadleafcommerce.orderoperation.service
Modifier and TypeMethodDescriptioncom.broadleafcommerce.order.client.domain.OrderFulfillment
DefaultFulfillmentOperationService.changeFulfillmentStatus
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) com.broadleafcommerce.order.client.domain.OrderFulfillment
FulfillmentOperationService.changeFulfillmentStatus
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform the requested status change for theOrderFulfillment
.protected void
DefaultFulfillmentOperationService.processStatusChangeForOfferTargetItems
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment orderFulfillment, com.broadleafcommerce.order.client.domain.Order order) Makes sure that whenever an offer qualifier item's status is being changed, the offer target item is being changed as well based on its qualifier details. -
Uses of FulfillmentStatusChangeRequest in com.broadleafcommerce.orderoperation.service.handler
Modifier and TypeMethodDescriptionboolean
AbstractFulfillmentStatusChangeHandler.canHandle
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment) boolean
FulfillmentStatusChangeHandler.canHandle
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment) Determine if this handler can process the givenFulfillmentStatusChangeRequest
.protected com.broadleafcommerce.order.client.domain.OrderFulfillment
AbstractFulfillmentStatusChangeHandler.getFulfillmentWithChangedStatus
(FulfillmentStatusChangeRequest request, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) Retrieve the fulfillment which changed status.protected com.broadleafcommerce.order.client.domain.OrderFulfillment
AbstractFulfillmentStatusChangeHandler.postProcessStatusChange
(FulfillmentStatusChangeRequest request, String originalStatus, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments, com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform any additional handling after the fulfillment has changed status.protected com.broadleafcommerce.order.client.domain.OrderFulfillment
CancelStatusChangeHandler.postProcessStatusChange
(FulfillmentStatusChangeRequest request, String originalStatus, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> splitFulfillments, com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.order.client.domain.OrderFulfillment
CapturingPaymentStatusChangeHandler.postProcessStatusChange
(FulfillmentStatusChangeRequest request, String originalStatus, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> splitFulfillments, com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.order.client.domain.OrderFulfillment
FulfilledStatusChangeHandler.postProcessStatusChange
(FulfillmentStatusChangeRequest request, String originalStatus, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> splitFulfillments, com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.order.client.domain.OrderFulfillment
FulfillFailedStatusChangeHandler.postProcessStatusChange
(FulfillmentStatusChangeRequest request, String originalStatus, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> splitFulfillments, com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.order.client.domain.OrderFulfillment
FulfillingStatusChangeHandler.postProcessStatusChange
(FulfillmentStatusChangeRequest request, String originalStatus, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> splitFulfillments, com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) com.broadleafcommerce.order.client.domain.OrderFulfillment
AbstractFulfillmentStatusChangeHandler.process
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) com.broadleafcommerce.order.client.domain.OrderFulfillment
FulfillmentStatusChangeHandler.process
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform the status change requested by theFulfillmentStatusChangeRequest
.protected com.broadleafcommerce.order.client.domain.OrderFulfillment
AbstractFulfillmentStatusChangeHandler.processSingleFulfillment
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Process the status change for an entire single fulfillment without splitting.protected List<com.broadleafcommerce.order.client.domain.OrderFulfillment>
AbstractFulfillmentStatusChangeHandler.processSplitFulfillments
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment leftoverFulfillment, com.broadleafcommerce.order.client.domain.OrderFulfillment newFulfillment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Process the status change for fulfillments which were split.protected boolean
AbstractFulfillmentStatusChangeHandler.requestingCompleteFulfillment
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment) Check if therequest
is requesting all of the items in the fulfillment.protected void
AbstractFulfillmentStatusChangeHandler.sendFulfillmentStatusChangeEvent
(org.springframework.messaging.MessageChannel channel, FulfillmentStatusChangeRequest request, String originalStatus, com.broadleafcommerce.order.client.domain.OrderFulfillment changed, com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aFulfillmentStatusChangeEvent
for the status change which occurred. -
Uses of FulfillmentStatusChangeRequest in com.broadleafcommerce.orderoperation.service.messaging.fulfillments
Modifier and TypeMethodDescriptionFulfillmentStatusChangeEvent.getRequest()
The original request leading to the status change.Modifier and TypeMethodDescriptionvoid
FulfillmentStatusChangeEvent.setRequest
(FulfillmentStatusChangeRequest request) The original request leading to the status change. -
Uses of FulfillmentStatusChangeRequest in com.broadleafcommerce.orderoperation.service.validator
Modifier and TypeMethodDescriptionvoid
DefaultFulfillmentStatusChangeValidator.validate
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment) void
FulfillmentStatusChangeValidator.validate
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment) Determines that the status change request is valid for the given fulfillment.protected void
DefaultFulfillmentStatusChangeValidator.validateQuantities
(FulfillmentStatusChangeRequest request, com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment, org.springframework.validation.Errors errors) Checks that the fulfillment has the necessary item quantities for the status change request. -
Uses of FulfillmentStatusChangeRequest in com.broadleafcommerce.orderoperation.web.endpoint
Modifier and TypeMethodDescriptioncom.broadleafcommerce.order.client.domain.OrderFulfillment
FulfillmentOperationEndpoint.changeFulfillmentStatus
(javax.servlet.http.HttpServletRequest request, FulfillmentStatusChangeRequest changeRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)