Class JpaCustomizedPriceDataRepository<D extends JpaPriceData>

    • Constructor Detail

      • JpaCustomizedPriceDataRepository

        public JpaCustomizedPriceDataRepository​(com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil,
                                                com.broadleafcommerce.data.tracking.jpa.filtering.fetch.rsql.JpaFiltersCriteriaBuilder criteriaBuilder,
                                                com.broadleafcommerce.common.jpa.RepositoryEntityTypeManager repositoryEntityTypeManager,
                                                List<com.broadleafcommerce.data.tracking.core.service.RsqlQueryTransformer> rsqlQueryTransformers,
                                                com.broadleafcommerce.data.tracking.jpa.filtering.fetch.rsql.JpaCriteriaBuilderRsqlVisitor rsqlVisitor)
    • Method Detail

      • afterPropertiesSet

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

        protected javax.persistence.criteria.Predicate getVendorRefPredicate​(com.broadleafcommerce.pricing.client.domain.PriceableTargetRef targetRef,
                                                                             String vendorRefFieldName,
                                                                             javax.persistence.criteria.CriteriaBuilder builder,
                                                                             javax.persistence.criteria.Root<D> root,
                                                                             Map<String,​Object> params)
      • addPriceListIdPredicate

        protected void addPriceListIdPredicate​(String priceListId,
                                               List<javax.persistence.criteria.Predicate> predicates,
                                               Map<String,​Object> params,
                                               javax.persistence.criteria.CriteriaBuilder builder,
                                               javax.persistence.criteria.Root<D> root)
      • addTargetTypePredicate

        protected void addTargetTypePredicate​(String targetType,
                                              List<javax.persistence.criteria.Predicate> predicates,
                                              Map<String,​Object> params,
                                              javax.persistence.criteria.CriteriaBuilder builder,
                                              javax.persistence.criteria.Root<D> root)
      • getManagedType

        protected final Class<D> getManagedType()
      • getJpaNarrowingHelper

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

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

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

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

        protected List<com.broadleafcommerce.data.tracking.core.service.RsqlQueryTransformer> getRsqlQueryTransformers()
      • getRsqlVisitor

        protected com.broadleafcommerce.data.tracking.jpa.filtering.fetch.rsql.JpaCriteriaBuilderRsqlVisitor getRsqlVisitor()