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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattachArchivalConditionIfPossible(Class<?> clazz, jakarta.persistence.criteria.Path<?> path, jakarta.persistence.criteria.CriteriaBuilder cb, List<jakarta.persistence.criteria.Predicate> predicates) List<com.broadleafcommerce.pricelist.domain.PriceList>readPriceListsRelatedToCustomerSegments(List<CustomerSegment> customerSegments)
-
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:
readPriceListsRelatedToCustomerSegmentsin interfaceCustomerSegmentPricelistDao
-
attachArchivalConditionIfPossible
-