public interface CustomerPhoneDao
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 |
save(CustomerPhone customerPhone) |
List<CustomerPhone> readActiveCustomerPhonesByCustomerId(Long customerId)
CustomerPhone save(CustomerPhone customerPhone)
CustomerPhone readCustomerPhoneById(Long customerPhoneId)
void deleteCustomerPhoneById(Long customerPhoneId)
CustomerPhone findDefaultCustomerPhone(Long customerId)
List<CustomerPhone> readAllCustomerPhonesByCustomerId(Long customerId)
CustomerPhone create()
Copyright © 2017. All rights reserved.