org.broadleafcommerce.profile.core.dao
Class CustomerPaymentDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.dao.CustomerPaymentDaoImpl
All Implemented Interfaces:
CustomerPaymentDao

@Repository(value="blCustomerPaymentDao")
public class CustomerPaymentDaoImpl
extends Object
implements CustomerPaymentDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
CustomerPaymentDaoImpl()
           
 
Method Summary
 CustomerPayment create()
           
 void deleteCustomerPaymentById(Long customerPaymentId)
           
 CustomerPayment readCustomerPaymentById(Long customerPaymentId)
           
 CustomerPayment readCustomerPaymentByToken(String token)
           
 List<CustomerPayment> readCustomerPaymentsByCustomerId(Long customerId)
           
 CustomerPayment save(CustomerPayment customerPayment)
           
 
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

CustomerPaymentDaoImpl

public CustomerPaymentDaoImpl()
Method Detail

readCustomerPaymentsByCustomerId

public List<CustomerPayment> readCustomerPaymentsByCustomerId(Long customerId)
Specified by:
readCustomerPaymentsByCustomerId in interface CustomerPaymentDao

save

public CustomerPayment save(CustomerPayment customerPayment)
Specified by:
save in interface CustomerPaymentDao

readCustomerPaymentByToken

public CustomerPayment readCustomerPaymentByToken(String token)
Specified by:
readCustomerPaymentByToken in interface CustomerPaymentDao

readCustomerPaymentById

public CustomerPayment readCustomerPaymentById(Long customerPaymentId)
Specified by:
readCustomerPaymentById in interface CustomerPaymentDao

deleteCustomerPaymentById

public void deleteCustomerPaymentById(Long customerPaymentId)
Specified by:
deleteCustomerPaymentById in interface CustomerPaymentDao

create

public CustomerPayment create()
Specified by:
create in interface CustomerPaymentDao


Copyright © 2013. All Rights Reserved.