Class CustomerSegmentPricelistDaoImpl

java.lang.Object
com.broadleafcommerce.customersegment.dao.CustomerSegmentPricelistDaoImpl
All Implemented Interfaces:
CustomerSegmentPricelistDao

@Service("blCustomerSegmentPricelistDao") public class CustomerSegmentPricelistDaoImpl extends Object implements CustomerSegmentPricelistDao
DAO that deals specifically with interactions between pricelists and customer segments. This is conditionally registered via a conditional annotation on the interface
Author:
Phillip Verheyden (phillipuniverse)
  • Field Details

    • em

      protected jakarta.persistence.EntityManager em
  • Constructor Details

    • CustomerSegmentPricelistDaoImpl

      public CustomerSegmentPricelistDaoImpl()
  • Method Details

    • readPriceListsRelatedToCustomerSegments

      public List<com.broadleafcommerce.pricelist.domain.PriceList> readPriceListsRelatedToCustomerSegments(List<CustomerSegment> customerSegments)
      Specified by:
      readPriceListsRelatedToCustomerSegments in interface CustomerSegmentPricelistDao
    • attachArchivalConditionIfPossible

      protected void attachArchivalConditionIfPossible(Class<?> clazz, jakarta.persistence.criteria.Path<?> path, jakarta.persistence.criteria.CriteriaBuilder cb, List<jakarta.persistence.criteria.Predicate> predicates)