@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 CustomerPhoneService
public List<CustomerPhone> readActiveCustomerPhonesByCustomerId(Long customerId)
readActiveCustomerPhonesByCustomerId
in interface CustomerPhoneService
public CustomerPhone readCustomerPhoneById(Long customerPhoneId)
readCustomerPhoneById
in interface CustomerPhoneService
public void makeCustomerPhoneDefault(Long customerPhoneId, Long customerId)
makeCustomerPhoneDefault
in interface CustomerPhoneService
public void deleteCustomerPhoneById(Long customerPhoneId)
deleteCustomerPhoneById
in interface CustomerPhoneService
public CustomerPhone findDefaultCustomerPhone(Long customerId)
findDefaultCustomerPhone
in interface CustomerPhoneService
public List<CustomerPhone> readAllCustomerPhonesByCustomerId(Long customerId)
readAllCustomerPhonesByCustomerId
in interface CustomerPhoneService
public CustomerPhone create()
create
in interface CustomerPhoneService
Copyright © 2014. All rights reserved.