@Repository(value="blOrderPaymentDao") public class OrderPaymentDaoImpl extends Object implements OrderPaymentDao
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
Constructor and Description |
---|
OrderPaymentDaoImpl() |
Modifier and Type | Method and Description |
---|---|
OrderPayment |
create() |
PaymentLog |
createLog() |
PaymentTransaction |
createTransaction() |
void |
delete(OrderPayment paymentInfo) |
OrderPayment |
readPaymentById(Long paymentId) |
List<OrderPayment> |
readPaymentsForOrder(Order order) |
PaymentTransaction |
readTransactionById(Long transactionId) |
OrderPayment |
save(OrderPayment payment) |
PaymentLog |
save(PaymentLog log) |
PaymentTransaction |
save(PaymentTransaction transaction) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public OrderPayment save(OrderPayment payment)
save
in interface OrderPaymentDao
public PaymentTransaction save(PaymentTransaction transaction)
save
in interface OrderPaymentDao
public PaymentLog save(PaymentLog log)
save
in interface OrderPaymentDao
public OrderPayment readPaymentById(Long paymentId)
readPaymentById
in interface OrderPaymentDao
public List<OrderPayment> readPaymentsForOrder(Order order)
readPaymentsForOrder
in interface OrderPaymentDao
public OrderPayment create()
create
in interface OrderPaymentDao
public PaymentTransaction createTransaction()
createTransaction
in interface OrderPaymentDao
public PaymentTransaction readTransactionById(Long transactionId)
readTransactionById
in interface OrderPaymentDao
public PaymentLog createLog()
createLog
in interface OrderPaymentDao
public void delete(OrderPayment paymentInfo)
delete
in interface OrderPaymentDao
Copyright © 2014. All rights reserved.