Uses of Class
com.broadleafcommerce.cartoperation.domain.status.CartStatusValidationRequest
Package
Description
-
Uses of CartStatusValidationRequest 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 boolean
AbstractCartStatusChangeHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the cart can be read by the currently authenticated user when the cart's current status isAbstractCartStatusChangeHandler.getStatusToHandle()
.protected boolean
AbstractCartStatusChangeHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the cart can be updated by the currently authenticated user when the cart's current status isAbstractCartStatusChangeHandler.getStatusToHandle()
.protected boolean
AbstractCartStatusChangeHandler.isCartOwner
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the givenCustomerRef
is the owner of the givenCart
.void
AbstractCartStatusChangeHandler.validateStatusIsReadableByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
CartStatusHandler.validateStatusIsReadableByUser
(CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the status is readable by the currently authenticated user.void
CartStatusManager.validateStatusIsReadableByUser
(CartStatusValidationRequest validationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the givenCart
is readable by the currently authenticated user based on its status and workflow.void
DefaultCartStatusManager.validateStatusIsReadableByUser
(@NonNull CartStatusValidationRequest validationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
AbstractCartStatusChangeHandler.validateStatusIsUpdatableByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
CartStatusHandler.validateStatusIsUpdatableByUser
(CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the status is updatable by the currently authenticated user.void
CartStatusManager.validateStatusIsUpdatableByUser
(CartStatusValidationRequest validationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines if the givenCart
is updatable by the currently authenticated user based on its current status and workflow.void
DefaultCartStatusManager.validateStatusIsUpdatableByUser
(@NonNull CartStatusValidationRequest validationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of CartStatusValidationRequest in com.broadleafcommerce.cartoperation.service.status.quote
Modifier and TypeMethodDescriptionprotected boolean
QuoteAssignedStatusHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteCanceledStatusHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteExpiredStatusHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuotePublishedStatusHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteQuoteRequestedStatusHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteRejectedStatusHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteSubmittedStatusHandler.canBeReadByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteAssignedStatusHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteCanceledStatusHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuoteExpiredStatusHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
QuotePublishedStatusHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Published quote's items should not be edited, must shift intoDefaultQuoteStatuses.EDITING
first by the buyer.protected boolean
QuoteQuoteRequestedStatusHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) IfQuoteProperties.requiresSalesRepAssignment(ContextInfo)
is true, aDefaultQuoteStatuses.QUOTE_REQUESTED
quote should not be edited, must shift intoDefaultQuoteStatuses.ASSIGNED
first by the sales rep.protected boolean
QuoteRejectedStatusHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Rejected quote should not be edited, must shift intoDefaultQuoteStatuses.EDITING
first by the buyer.protected boolean
QuoteSubmittedStatusHandler.canBeUpdatedByUser
(@NonNull CartStatusValidationRequest statusValidationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
AbstractQuoteCartStatusHandler.isAssignedToThisQuote
(@NonNull CartStatusValidationRequest statusValidationRequest, 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.