Class CustomerAddressServiceImpl
java.lang.Object
org.broadleafcommerce.profile.core.service.CustomerAddressServiceImpl
- All Implemented Interfaces:
CustomerAddressService
@Service("blCustomerAddressService")
public class CustomerAddressServiceImpl
extends Object
implements CustomerAddressService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()voiddeleteCustomerAddressById(Long customerAddressId) findDefaultCustomerAddress(Long customerId) voidmakeCustomerAddressDefault(Long customerAddressId, Long customerId) readActiveCustomerAddressesByCustomerId(Long customerId) readBatchAddresses(int start, int pageSize) readCustomerAddressById(Long customerAddressId) saveCustomerAddress(CustomerAddress customerAddress)
-
Field Details
-
customerAddressDao
-
customerDao
-
-
Constructor Details
-
CustomerAddressServiceImpl
public CustomerAddressServiceImpl()
-
-
Method Details
-
saveCustomerAddress
@Transactional("blTransactionManager") public CustomerAddress saveCustomerAddress(CustomerAddress customerAddress) - Specified by:
saveCustomerAddressin interfaceCustomerAddressService
-
readActiveCustomerAddressesByCustomerId
- Specified by:
readActiveCustomerAddressesByCustomerIdin interfaceCustomerAddressService
-
readCustomerAddressById
- Specified by:
readCustomerAddressByIdin interfaceCustomerAddressService
-
makeCustomerAddressDefault
@Transactional("blTransactionManager") public void makeCustomerAddressDefault(Long customerAddressId, Long customerId) - Specified by:
makeCustomerAddressDefaultin interfaceCustomerAddressService
-
deleteCustomerAddressById
@Transactional("blTransactionManager") public void deleteCustomerAddressById(Long customerAddressId) - Specified by:
deleteCustomerAddressByIdin interfaceCustomerAddressService
-
findDefaultCustomerAddress
- Specified by:
findDefaultCustomerAddressin interfaceCustomerAddressService
-
create
- Specified by:
createin interfaceCustomerAddressService
-
readBatchAddresses
- Specified by:
readBatchAddressesin interfaceCustomerAddressService
-
readNumberOfAddresses
- Specified by:
readNumberOfAddressesin interfaceCustomerAddressService
-