org.broadleafcommerce.core.offer.dao
Class OfferCodeDaoImpl
java.lang.Object
org.broadleafcommerce.core.offer.dao.OfferCodeDaoImpl
- All Implemented Interfaces:
- OfferCodeDao
@Repository(value="blOfferCodeDao")
public class OfferCodeDaoImpl
- extends java.lang.Object
- implements OfferCodeDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
OfferCodeDaoImpl
public OfferCodeDaoImpl()
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(java.lang.Long offerCodeId)
- Specified by:
readOfferCodeById in interface OfferCodeDao
readOfferCodeByCode
public OfferCode readOfferCodeByCode(java.lang.String code)
- Specified by:
readOfferCodeByCode in interface OfferCodeDao
Copyright © 2012. All Rights Reserved.