@Repository(value="blOfferAuditDao") public class OfferAuditDaoImpl extends Object implements OfferAuditDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
OfferAuditDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
countUsesByCustomer(Long customerId,
Long offerId) |
OfferAudit |
create() |
void |
delete(OfferAudit offerAudit) |
OfferAudit |
readAuditById(Long offerAuditId) |
OfferAudit |
save(OfferAudit offerAudit) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public OfferAudit create()
create in interface OfferAuditDaopublic void delete(OfferAudit offerAudit)
delete in interface OfferAuditDaopublic OfferAudit save(OfferAudit offerAudit)
save in interface OfferAuditDaopublic OfferAudit readAuditById(Long offerAuditId)
readAuditById in interface OfferAuditDaopublic Long countUsesByCustomer(Long customerId, Long offerId)
countUsesByCustomer in interface OfferAuditDaoCopyright © 2014. All rights reserved.