Uses of Class
com.broadleafcommerce.cartoperation.domain.status.ChangeCartStatusRequest
Package
Description
-
Uses of ChangeCartStatusRequest in com.broadleafcommerce.cartoperation.domain.status
Modifier and TypeMethodDescriptionChangeCartStatusRequest.saveCart
(boolean saveCart) Whether or not to save the cart after changing status. -
Uses of ChangeCartStatusRequest in com.broadleafcommerce.cartoperation.service.checkout
Modifier and TypeMethodDescriptionprotected ChangeCartStatusRequest
DefaultCheckoutService.buildChangeCartStatusRequestForValidation
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull String targetStatus, @NonNull com.broadleafcommerce.order.common.domain.CustomerRef customerRef) Builds aChangeCartStatusRequest
used for validation purposes for checkout submission. -
Uses of ChangeCartStatusRequest in com.broadleafcommerce.cartoperation.service.quote
Modifier and TypeMethodDescriptionprotected ChangeCartStatusRequest
DefaultQuoteService.buildChangeCartStatusRequest
(@NonNull QuoteProcessRequest quoteProcessRequest, boolean saveCart) Builds aChangeCartStatusRequest
based on the givenQuoteProcessRequest
. -
Uses of ChangeCartStatusRequest in com.broadleafcommerce.cartoperation.service.status
Modifier and TypeMethodDescriptionprotected ChangeCartStatusRequest
DefaultCartStatusManager.buildChangeCartStatusRequestForValidation
(@NonNull CartStatusValidationRequest validationRequest) Builds aChangeCartStatusRequest
used for validation purposes for checkout submission.protected ChangeCartStatusRequest
AbstractCartStatusChangeHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform any additional handling after theCart
has changed status.AbstractCartStatusChangeHandler.process
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartStatusHandler.process
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Processes the cart status change if it is valid.protected ChangeCartStatusRequest
AbstractCartStatusChangeHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform the status change of theCart
.Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.cart.client.domain.CartActionAudit
AbstractCartStatusChangeHandler.buildCartActionAuditToCreate
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aCartActionAudit
based on the given fields.protected boolean
AbstractCartStatusChangeHandler.canBeTransitionedToByUser
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the cart can be transitioned toAbstractCartStatusChangeHandler.getStatusToHandle()
by the currently authenticated user.boolean
AbstractCartStatusChangeHandler.canHandle
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) boolean
CartStatusHandler.canHandle
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if this handler can handle the status change.com.broadleafcommerce.cart.client.domain.Cart
CartStatusManager.changeStatus
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Changes theCart.getStatus()
to a specified status.com.broadleafcommerce.cart.client.domain.Cart
DefaultCartStatusManager.changeStatus
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected String
AbstractCartStatusChangeHandler.getCartActionType
(ChangeCartStatusRequest changeCartStatusRequest) Hook point to determine the cart action type.protected Supplier<UnsupportedOperationException>
DefaultCartStatusManager.getUnsupportedOperationExceptionSupplier
(@NonNull ChangeCartStatusRequest changeStatusRequest) protected boolean
AbstractCartStatusChangeHandler.isCartOwner
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the givenCustomerRef
is the owner of the givenCart
.protected ChangeCartStatusRequest
AbstractCartStatusChangeHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform any additional handling after theCart
has changed status.AbstractCartStatusChangeHandler.process
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartStatusHandler.process
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Processes the cart status change if it is valid.protected ChangeCartStatusRequest
AbstractCartStatusChangeHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform the status change of theCart
.protected void
AbstractCartStatusChangeHandler.validateOriginatingStatus
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the originating status.void
AbstractCartStatusChangeHandler.validateStatusTransition
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
CartStatusHandler.validateStatusTransition
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates that the status that theCart
is transitioning to is a valid next status.void
CartStatusManager.validateStatusTransition
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the status transition is valid.void
DefaultCartStatusManager.validateStatusTransition
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
AbstractCartStatusChangeHandler.validateTransitionRules
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Evaluates the givenCart
and next status again any transition rules in place. -
Uses of ChangeCartStatusRequest in com.broadleafcommerce.cartoperation.service.status.accountcart
Modifier and TypeMethodDescriptionprotected ChangeCartStatusRequest
AbstractAccountCartStatusHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected ChangeCartStatusRequest
AbstractAccountCartStatusHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected boolean
RejectedAccountCartStatusChangeHandler.canBeTransitionedToByUser
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) boolean
AbstractAccountCartStatusHandler.canHandle
(ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected String
ReclaimAccountCartStatusChangeHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
RejectedAccountCartStatusChangeHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
RequiresApprovalAccountCartStatusChangeHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected boolean
AbstractAccountCartStatusHandler.isCartOwner
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected ChangeCartStatusRequest
AbstractAccountCartStatusHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected ChangeCartStatusRequest
AbstractAccountCartStatusHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of ChangeCartStatusRequest in com.broadleafcommerce.cartoperation.service.status.quote
Modifier and TypeMethodDescriptionprotected ChangeCartStatusRequest
QuoteQuoteRequestedStatusHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) By default, this erases the expiration date for this status.protected ChangeCartStatusRequest
QuoteRejectedStatusHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) By default, this erases the expiration date for this status.protected ChangeCartStatusRequest
QuoteAssignedStatusHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected ChangeCartStatusRequest
QuoteDraftingStatusHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected boolean
QuoteAssignedStatusHandler.canBeTransitionedToByUser
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteExpiredStatusHandler.canBeTransitionedToByUser
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuotePublishedStatusHandler.canBeTransitionedToByUser
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteQuoteRequestedStatusHandler.canBeTransitionedToByUser
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteRejectedStatusHandler.canBeTransitionedToByUser
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) boolean
AbstractQuoteCartStatusHandler.canHandle
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
QuoteDraftingStatusHandler.cloneCartActionAudits
(@NonNull ChangeCartStatusRequest changeCartStatusRequest, @NonNull com.broadleafcommerce.cart.client.domain.Cart expiredQuote, @NonNull com.broadleafcommerce.cart.client.domain.Cart clonedQuote, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.cart.client.domain.Cart
QuoteDraftingStatusHandler.cloneQuote
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected String
QuoteAssignedStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuoteCanceledStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuoteDraftingStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuoteEditingStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuoteExpiredStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuotePublishedStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuoteQuoteRequestedStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuoteRejectedStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) protected String
QuoteSubmittedStatusHandler.getCartActionType
(ChangeCartStatusRequest cartStatusRequest) QuoteDraftingStatusHandler.getFirstItemName
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns the name of the first cart item.protected boolean
AbstractQuoteCartStatusHandler.isAssignedToThisQuote
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the user performing the request is the one assigned as a sales rep to this quote.protected boolean
AbstractQuoteCartStatusHandler.isConvertingToQuote
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the givenChangeCartStatusRequest
is converting aDefaultCartTypes.STANDARD
cart into aDefaultCartTypes.QUOTE
.protected void
QuoteDraftingStatusHandler.populateQuoteName
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates the name of the quote if not already set.protected ChangeCartStatusRequest
QuoteQuoteRequestedStatusHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) By default, this erases the expiration date for this status.protected ChangeCartStatusRequest
QuoteRejectedStatusHandler.postProcessStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) By default, this erases the expiration date for this status.protected ChangeCartStatusRequest
QuoteAssignedStatusHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected ChangeCartStatusRequest
QuoteDraftingStatusHandler.processStatusChange
(@NonNull ChangeCartStatusRequest changeStatusRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)