Class CustomerOfferDaoImpl
java.lang.Object
org.broadleafcommerce.core.offer.dao.CustomerOfferDaoImpl
- All Implemented Interfaces:
CustomerOfferDao
@Repository("blCustomerOfferDao")
public class CustomerOfferDaoImpl
extends Object
implements CustomerOfferDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected org.broadleafcommerce.common.persistence.EntityConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()voiddelete(CustomerOffer customerOffer) readCustomerOfferById(Long customerOfferId) readCustomerOffersByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer) save(CustomerOffer customerOffer)
-
Field Details
-
em
protected jakarta.persistence.EntityManager em -
entityConfiguration
protected org.broadleafcommerce.common.persistence.EntityConfiguration entityConfiguration
-
-
Constructor Details
-
CustomerOfferDaoImpl
public CustomerOfferDaoImpl()
-
-
Method Details
-
create
- Specified by:
createin interfaceCustomerOfferDao
-
delete
- Specified by:
deletein interfaceCustomerOfferDao
-
save
- Specified by:
savein interfaceCustomerOfferDao
-
readCustomerOfferById
- Specified by:
readCustomerOfferByIdin interfaceCustomerOfferDao
-
readCustomerOffersByCustomer
public List<CustomerOffer> readCustomerOffersByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer) - Specified by:
readCustomerOffersByCustomerin interfaceCustomerOfferDao
-