Interface CustomerAddressDao

All Known Implementing Classes:
CustomerAddressDaoImpl

public interface CustomerAddressDao
  • Method Details

    • readActiveCustomerAddressesByCustomerId

      List<CustomerAddress> readActiveCustomerAddressesByCustomerId(Long customerId)
    • save

      CustomerAddress save(CustomerAddress customerAddress)
    • readCustomerAddressById

      CustomerAddress readCustomerAddressById(Long customerAddressId)
    • readCustomerAddressByIdAndCustomerId

      CustomerAddress readCustomerAddressByIdAndCustomerId(Long customerAddressId, Long customerId)
    • makeCustomerAddressDefault

      void makeCustomerAddressDefault(Long customerAddressId, Long customerId)
    • deleteCustomerAddressById

      void deleteCustomerAddressById(Long customerAddressId)
    • findDefaultCustomerAddress

      CustomerAddress findDefaultCustomerAddress(Long customerId)
    • create

      CustomerAddress create()
    • readBatchCustomerAddresses

      List<CustomerAddress> readBatchCustomerAddresses(int start, int pageSize)
    • readNumberOfAddresses

      Long readNumberOfAddresses()
    • hardDeleteCustomerAddressesForCustomer

      void hardDeleteCustomerAddressesForCustomer(Long customerId)