org.broadleafcommerce.core.offer.dao
Class CustomerOfferDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.core.offer.dao.CustomerOfferDaoImpl
All Implemented Interfaces:
CustomerOfferDao

@Repository(value="blCustomerOfferDao")
public class CustomerOfferDaoImpl
extends Object
implements CustomerOfferDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
CustomerOfferDaoImpl()
           
 
Method Summary
 CustomerOffer create()
           
 void delete(CustomerOffer customerOffer)
           
 CustomerOffer readCustomerOfferById(Long customerOfferId)
           
 List<CustomerOffer> readCustomerOffersByCustomer(Customer customer)
           
 CustomerOffer save(CustomerOffer customerOffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration
Constructor Detail

CustomerOfferDaoImpl

public CustomerOfferDaoImpl()
Method Detail

create

public CustomerOffer create()
Specified by:
create in interface CustomerOfferDao

delete

public void delete(CustomerOffer customerOffer)
Specified by:
delete in interface CustomerOfferDao

save

public CustomerOffer save(CustomerOffer customerOffer)
Specified by:
save in interface CustomerOfferDao

readCustomerOfferById

public CustomerOffer readCustomerOfferById(Long customerOfferId)
Specified by:
readCustomerOfferById in interface CustomerOfferDao

readCustomerOffersByCustomer

public List<CustomerOffer> readCustomerOffersByCustomer(Customer customer)
Specified by:
readCustomerOffersByCustomer in interface CustomerOfferDao


Copyright © 2013. All Rights Reserved.