org.broadleafcommerce.core.offer.dao
Class OfferCodeDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.core.offer.dao.OfferCodeDaoImpl
All Implemented Interfaces:
OfferCodeDao

@Repository(value="blOfferCodeDao")
public class OfferCodeDaoImpl
extends Object
implements OfferCodeDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
OfferCodeDaoImpl()
           
 
Method Summary
 OfferCode create()
           
 void delete(OfferCode offerCode)
           
 OfferCode readOfferCodeByCode(String code)
           
 OfferCode readOfferCodeById(Long offerCodeId)
           
 OfferCode save(OfferCode offerCode)
           
 
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

OfferCodeDaoImpl

public OfferCodeDaoImpl()
Method Detail

create

public OfferCode create()
Specified by:
create in interface OfferCodeDao

delete

public void delete(OfferCode offerCode)
Specified by:
delete in interface OfferCodeDao

save

public OfferCode save(OfferCode offerCode)
Specified by:
save in interface OfferCodeDao

readOfferCodeById

public OfferCode readOfferCodeById(Long offerCodeId)
Specified by:
readOfferCodeById in interface OfferCodeDao

readOfferCodeByCode

public OfferCode readOfferCodeByCode(String code)
Specified by:
readOfferCodeByCode in interface OfferCodeDao


Copyright © 2013. All Rights Reserved.