public interface CartVersionValidationService
Cart
for reads and updates within this
service.Modifier and Type | Method and Description |
---|---|
default void |
validateVersionForRead(com.broadleafcommerce.cart.client.domain.Cart cart,
Integer versionToTest) |
default void |
validateVersionForUpdate(com.broadleafcommerce.cart.client.domain.Cart cart,
Integer versionToTest) |
default boolean |
versionIsStale(com.broadleafcommerce.cart.client.domain.Cart cart,
Integer versionToTest) |
default boolean versionIsStale(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Integer versionToTest)
default void validateVersionForRead(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @Nullable Integer versionToTest)
default void validateVersionForUpdate(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @Nullable Integer versionToTest)
Copyright © 2021. All rights reserved.