Class DefaultJpaCustomizableFulfillmentCalculatorConfigRepository<D extends JpaFulfillmentCalculatorConfig>

java.lang.Object
com.broadleafcommerce.fulfillment.provider.jpa.repository.DefaultJpaCustomizableFulfillmentCalculatorConfigRepository<D>
All Implemented Interfaces:
CustomizableFulfillmentCalculatorConfigRepository<D>, org.springframework.beans.factory.InitializingBean

public class DefaultJpaCustomizableFulfillmentCalculatorConfigRepository<D extends JpaFulfillmentCalculatorConfig> extends Object implements CustomizableFulfillmentCalculatorConfigRepository<D>, org.springframework.beans.factory.InitializingBean
  • Field Details

  • Constructor Details

    • DefaultJpaCustomizableFulfillmentCalculatorConfigRepository

      public DefaultJpaCustomizableFulfillmentCalculatorConfigRepository()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • existsByFulfillmentOrigin

      public boolean existsByFulfillmentOrigin(String fulfillmentOriginId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: CustomizableFulfillmentCalculatorConfigRepository
      Checks whether any entities JpaFulfillmentCalculatorConfig exist with a reference to a given fulfillment origin ID.
      Specified by:
      existsByFulfillmentOrigin in interface CustomizableFulfillmentCalculatorConfigRepository<D extends JpaFulfillmentCalculatorConfig>
      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

      public boolean existsByFulfillmentDestination(String fulfillmentDestinationId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: CustomizableFulfillmentCalculatorConfigRepository
      Checks whether any entities JpaFulfillmentCalculatorConfig exist with a reference to a given fulfillment destination ID.
      Specified by:
      existsByFulfillmentDestination in interface CustomizableFulfillmentCalculatorConfigRepository<D extends JpaFulfillmentCalculatorConfig>
      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
    • getManagedType

      protected Class<D> getManagedType()
    • getRepositoryEntityTypeManager

      protected com.broadleafcommerce.common.jpa.RepositoryEntityTypeManager getRepositoryEntityTypeManager()
    • setRepositoryEntityTypeManager

      @Autowired public void setRepositoryEntityTypeManager(com.broadleafcommerce.common.jpa.RepositoryEntityTypeManager repositoryEntityTypeManager)
    • getRepository

      protected FulfillmentCalculatorConfigRepository<D> getRepository()
    • setRepository

      @Autowired @Lazy public void setRepository(FulfillmentCalculatorConfigRepository<D> repository)
    • getEntityManager

      protected jakarta.persistence.EntityManager getEntityManager()
    • getNarrowingHelper

      protected com.broadleafcommerce.data.tracking.jpa.filtering.narrow.JpaNarrowingHelper getNarrowingHelper()
    • getBehaviorUtil

      protected com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil getBehaviorUtil()
    • setBehaviorUtil

      @Autowired public void setBehaviorUtil(com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil)
    • getCriteriaBuilder

      protected com.broadleafcommerce.data.tracking.jpa.filtering.fetch.rsql.JpaFiltersCriteriaBuilder getCriteriaBuilder()
    • setCriteriaBuilder

      @Autowired public void setCriteriaBuilder(com.broadleafcommerce.data.tracking.jpa.filtering.fetch.rsql.JpaFiltersCriteriaBuilder criteriaBuilder)