Interface CustomizableFulfillmentPricingConfigRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
- Type Parameters:
D
- The Trackable FulfillmentPricingConfig domain
- All Known Subinterfaces:
FulfillmentPricingConfigRepository<D>
,JpaFulfillmentPricingConfigRepository<D>
- All Known Implementing Classes:
DefaultJpaCustomizableFulfillmentPricingConfigRepository
public interface CustomizableFulfillmentPricingConfigRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
Custom repository for executing complex queries for
FulfillmentPricingConfig
.-
Method Summary
Modifier and TypeMethodDescriptiongetApplicationConfigsOnly
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Fetch a List ofJpaFulfillmentPricingConfig
for the current application.getTenantConfigsOnly
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Fetch a List ofJpaFulfillmentPricingConfig
for the current tenant that are not owned by an application.
-
Method Details
-
getApplicationConfigsOnly
List<D> getApplicationConfigsOnly(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Fetch a List ofJpaFulfillmentPricingConfig
for the current application. This does not return results owned by the tenant.- Parameters:
context
- The context of the request.- Returns:
- A List of
JpaFulfillmentPricingConfig
for the current application.
-
getTenantConfigsOnly
List<D> getTenantConfigsOnly(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Fetch a List ofJpaFulfillmentPricingConfig
for the current tenant that are not owned by an application.- Parameters:
context
- The context of the request.- Returns:
- A List of
JpaFulfillmentPricingConfig
for the current tenant.
-