Interface FulfillmentPricingConfigService<P extends com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig>
- Type Parameters:
P- The projection domain for theFulfillmentPricingConfig.
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>,FulfillmentPricingConfigAccessor<P>,com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
- All Known Implementing Classes:
DefaultFulfillmentPricingConfigService
public interface FulfillmentPricingConfigService<P extends com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig>
extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>, FulfillmentPricingConfigAccessor<P>
Service interface for fetching
FulfillmentPricingConfig.-
Method Summary
Modifier and TypeMethodDescriptionbooleanhasApplicationConfig(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Indicate if the current application context has aFulfillmentPricingConfigsaved in the database.booleanhasTenantConfig(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Indicate if the current tenant context has aFulfillmentPricingConfigsaved in the database.readOrGetNewConfigForApplication(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Fetch theFulfillmentPricingConfigfor the providedContextInfo.Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSortMethods inherited from interface com.broadleafcommerce.fulfillment.service.FulfillmentPricingConfigAccessor
readFulfillmentPricingConfigMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService
readAll, readAll, readAll, readAll
-
Method Details
-
readOrGetNewConfigForApplication
P readOrGetNewConfigForApplication(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Fetch theFulfillmentPricingConfigfor the providedContextInfo. If none is found, return a new, non-persisted object.- Parameters:
contextInfo- The context of the request.- Returns:
- The
FulfillmentPricingConfigfor this context.
-
hasApplicationConfig
boolean hasApplicationConfig(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Indicate if the current application context has aFulfillmentPricingConfigsaved in the database.- Parameters:
contextInfo- The context of the request.- Returns:
- TRUE if the current application context has a
FulfillmentPricingConfig.
-
hasTenantConfig
boolean hasTenantConfig(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Indicate if the current tenant context has aFulfillmentPricingConfigsaved in the database.- Parameters:
contextInfo- The context of the request.- Returns:
- TRUE if the current tenant context has a
FulfillmentPricingConfig.
-