public interface CustomerAddressDao
| Modifier and Type | Method and Description |
|---|---|
CustomerAddress |
create() |
void |
deleteCustomerAddressById(Long customerAddressId) |
CustomerAddress |
findDefaultCustomerAddress(Long customerId) |
void |
makeCustomerAddressDefault(Long customerAddressId,
Long customerId) |
List<CustomerAddress> |
readActiveCustomerAddressesByCustomerId(Long customerId) |
List<CustomerAddress> |
readBatchCustomerAddresses(int start,
int pageSize) |
CustomerAddress |
readCustomerAddressById(Long customerAddressId) |
CustomerAddress |
readCustomerAddressByIdAndCustomerId(Long customerAddressId,
Long customerId) |
Long |
readNumberOfAddresses() |
CustomerAddress |
save(CustomerAddress customerAddress) |
List<CustomerAddress> readActiveCustomerAddressesByCustomerId(Long customerId)
CustomerAddress save(CustomerAddress customerAddress)
CustomerAddress readCustomerAddressById(Long customerAddressId)
CustomerAddress readCustomerAddressByIdAndCustomerId(Long customerAddressId, Long customerId)
void deleteCustomerAddressById(Long customerAddressId)
CustomerAddress findDefaultCustomerAddress(Long customerId)
CustomerAddress create()
List<CustomerAddress> readBatchCustomerAddresses(int start, int pageSize)
Long readNumberOfAddresses()
Copyright © 2022. All rights reserved.