Interface FulfillmentPricingConfigService<P extends com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig>

Type Parameters:
P - The projection domain for the FulfillmentPricingConfig.
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 Type
    Method
    Description
    boolean
    hasApplicationConfig(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Indicate if the current application context has a FulfillmentPricingConfig saved in the database.
    boolean
    hasTenantConfig(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Indicate if the current tenant context has a FulfillmentPricingConfig saved in the database.
    readOrGetNewConfigForApplication(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Fetch the FulfillmentPricingConfig for the provided ContextInfo.

    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, updateSort

    Methods inherited from interface com.broadleafcommerce.fulfillment.service.FulfillmentPricingConfigAccessor

    readFulfillmentPricingConfig

    Methods 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 the FulfillmentPricingConfig for the provided ContextInfo. If none is found, return a new, non-persisted object.
      Parameters:
      contextInfo - The context of the request.
      Returns:
      The FulfillmentPricingConfig for this context.
    • hasApplicationConfig

      boolean hasApplicationConfig(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Indicate if the current application context has a FulfillmentPricingConfig saved 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 a FulfillmentPricingConfig saved in the database.
      Parameters:
      contextInfo - The context of the request.
      Returns:
      TRUE if the current tenant context has a FulfillmentPricingConfig.