@Service(value="blCustomerPhoneService") public class CustomerPhoneServiceImpl extends Object implements CustomerPhoneService
| Modifier and Type | Field and Description |
|---|---|
protected CustomerPhoneDao |
customerPhoneDao |
| Constructor and Description |
|---|
CustomerPhoneServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
CustomerPhone |
create() |
void |
deleteCustomerPhoneById(Long customerPhoneId) |
CustomerPhone |
findDefaultCustomerPhone(Long customerId) |
void |
makeCustomerPhoneDefault(Long customerPhoneId,
Long customerId) |
List<CustomerPhone> |
readActiveCustomerPhonesByCustomerId(Long customerId) |
List<CustomerPhone> |
readAllCustomerPhonesByCustomerId(Long customerId) |
CustomerPhone |
readCustomerPhoneById(Long customerPhoneId) |
CustomerPhone |
saveCustomerPhone(CustomerPhone customerPhone) |
protected CustomerPhoneDao customerPhoneDao
@Transactional(value="blTransactionManager") public CustomerPhone saveCustomerPhone(CustomerPhone customerPhone)
saveCustomerPhone in interface CustomerPhoneServicepublic List<CustomerPhone> readActiveCustomerPhonesByCustomerId(Long customerId)
readActiveCustomerPhonesByCustomerId in interface CustomerPhoneServicepublic CustomerPhone readCustomerPhoneById(Long customerPhoneId)
readCustomerPhoneById in interface CustomerPhoneService@Transactional(value="blTransactionManager") public void makeCustomerPhoneDefault(Long customerPhoneId, Long customerId)
makeCustomerPhoneDefault in interface CustomerPhoneService@Transactional(value="blTransactionManager") public void deleteCustomerPhoneById(Long customerPhoneId)
deleteCustomerPhoneById in interface CustomerPhoneServicepublic CustomerPhone findDefaultCustomerPhone(Long customerId)
findDefaultCustomerPhone in interface CustomerPhoneServicepublic List<CustomerPhone> readAllCustomerPhonesByCustomerId(Long customerId)
readAllCustomerPhonesByCustomerId in interface CustomerPhoneServicepublic CustomerPhone create()
create in interface CustomerPhoneServiceCopyright © 2015. All Rights Reserved.