@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
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 CustomerPhoneServicepublic void makeCustomerPhoneDefault(Long customerPhoneId, Long customerId)
makeCustomerPhoneDefault in interface CustomerPhoneServicepublic 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 © 2014. All rights reserved.