Interface CustomizableFulfillmentCalculatorConfigRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>

All Known Subinterfaces:
FulfillmentCalculatorConfigRepository<D>, JpaFulfillmentCalculatorConfigRepository<D>
All Known Implementing Classes:
DefaultJpaCustomizableFulfillmentCalculatorConfigRepository

public interface CustomizableFulfillmentCalculatorConfigRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
  • Method Details

    • existsByFulfillmentOrigin

      boolean existsByFulfillmentOrigin(String fulfillmentOriginId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Checks whether any entities JpaFulfillmentCalculatorConfig exist with a reference to a given fulfillment origin ID.
      Parameters:
      fulfillmentOriginId - the fulfillment origin ID to check for existence
      contextInfo - The context of the request.
      Returns:
      true if at least one entity with the given fulfillment origin ID exists, false otherwise
    • existsByFulfillmentDestination

      boolean existsByFulfillmentDestination(String fulfillmentDestinationId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Checks whether any entities JpaFulfillmentCalculatorConfig exist with a reference to a given fulfillment destination ID.
      Parameters:
      fulfillmentDestinationId - the fulfillment destination ID to check for existence
      contextInfo - The context of the request.
      Returns:
      true if at least one entity with the given fulfillment origin ID exists, false otherwise