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 Summary
Modifier and TypeMethodDescriptionbooleanexistsByFulfillmentDestination(String fulfillmentDestinationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks whether any entitiesJpaFulfillmentCalculatorConfigexist with a reference to a given fulfillment destination ID.booleanexistsByFulfillmentOrigin(String fulfillmentOriginId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks whether any entitiesJpaFulfillmentCalculatorConfigexist with a reference to a given fulfillment origin ID.
-
Method Details
-
existsByFulfillmentOrigin
boolean existsByFulfillmentOrigin(String fulfillmentOriginId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks whether any entitiesJpaFulfillmentCalculatorConfigexist with a reference to a given fulfillment origin ID.- Parameters:
fulfillmentOriginId- the fulfillment origin ID to check for existencecontextInfo- The context of the request.- Returns:
trueif at least one entity with the given fulfillment origin ID exists,falseotherwise
-
existsByFulfillmentDestination
boolean existsByFulfillmentDestination(String fulfillmentDestinationId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks whether any entitiesJpaFulfillmentCalculatorConfigexist with a reference to a given fulfillment destination ID.- Parameters:
fulfillmentDestinationId- the fulfillment destination ID to check for existencecontextInfo- The context of the request.- Returns:
trueif at least one entity with the given fulfillment origin ID exists,falseotherwise
-