@Repository(value="blCustomerPaymentDao") public class CustomerPaymentDaoImpl extends Object implements CustomerPaymentDao
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
Constructor and Description |
---|
CustomerPaymentDaoImpl() |
Modifier and Type | Method and Description |
---|---|
CustomerPayment |
create() |
void |
deleteCustomerPaymentById(Long customerPaymentId) |
void |
deleteCustomerPaymentByToken(String token) |
CustomerPayment |
readCustomerPaymentById(Long customerPaymentId) |
CustomerPayment |
readCustomerPaymentByToken(String token) |
List<CustomerPayment> |
readCustomerPaymentsByCustomerId(Long customerId) |
CustomerPayment |
save(CustomerPayment customerPayment) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public List<CustomerPayment> readCustomerPaymentsByCustomerId(Long customerId)
readCustomerPaymentsByCustomerId
in interface CustomerPaymentDao
public CustomerPayment save(CustomerPayment customerPayment)
save
in interface CustomerPaymentDao
public CustomerPayment readCustomerPaymentByToken(String token)
readCustomerPaymentByToken
in interface CustomerPaymentDao
public CustomerPayment readCustomerPaymentById(Long customerPaymentId)
readCustomerPaymentById
in interface CustomerPaymentDao
public void deleteCustomerPaymentById(Long customerPaymentId)
deleteCustomerPaymentById
in interface CustomerPaymentDao
public void deleteCustomerPaymentByToken(String token)
deleteCustomerPaymentByToken
in interface CustomerPaymentDao
public CustomerPayment create()
create
in interface CustomerPaymentDao
Copyright © 2022. All rights reserved.