@Service(value="blCustomerPaymentService") public class CustomerPaymentServiceImpl extends Object implements CustomerPaymentService
Modifier and Type | Field and Description |
---|---|
protected CustomerPaymentDao |
customerPaymentDao |
Constructor and Description |
---|
CustomerPaymentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
CustomerPayment |
create() |
void |
deleteCustomerPaymentById(Long customerPaymentId) |
CustomerPayment |
readCustomerPaymentById(Long customerPaymentId) |
CustomerPayment |
readCustomerPaymentByToken(String token) |
List<CustomerPayment> |
readCustomerPaymentsByCustomerId(Long customerId) |
CustomerPayment |
saveCustomerPayment(CustomerPayment customerPayment) |
protected CustomerPaymentDao customerPaymentDao
@Transactional(value="blTransactionManager") public CustomerPayment saveCustomerPayment(CustomerPayment customerPayment)
saveCustomerPayment
in interface CustomerPaymentService
public List<CustomerPayment> readCustomerPaymentsByCustomerId(Long customerId)
readCustomerPaymentsByCustomerId
in interface CustomerPaymentService
public CustomerPayment readCustomerPaymentById(Long customerPaymentId)
readCustomerPaymentById
in interface CustomerPaymentService
public CustomerPayment readCustomerPaymentByToken(String token)
readCustomerPaymentByToken
in interface CustomerPaymentService
@Transactional(value="blTransactionManager") public void deleteCustomerPaymentById(Long customerPaymentId)
deleteCustomerPaymentById
in interface CustomerPaymentService
@Transactional(value="blTransactionManager") public CustomerPayment create()
create
in interface CustomerPaymentService
Copyright © 2013. All rights reserved.