Class CustomerPhoneDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.CustomerPhoneDaoImpl
- All Implemented Interfaces:
CustomerPhoneDao
@Repository("blCustomerPhoneDao")
public class CustomerPhoneDaoImpl
extends Object
implements CustomerPhoneDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected EntityConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()voiddeleteCustomerPhoneById(Long customerPhoneId) findDefaultCustomerPhone(Long customerId) voidmakeCustomerPhoneDefault(Long customerPhoneId, Long customerId) readActiveCustomerPhonesByCustomerId(Long customerId) readAllCustomerPhonesByCustomerId(Long customerId) readCustomerPhoneById(Long customerPhoneId) save(CustomerPhone customerPhone)
-
Field Details
-
em
protected jakarta.persistence.EntityManager em -
entityConfiguration
-
-
Constructor Details
-
CustomerPhoneDaoImpl
public CustomerPhoneDaoImpl()
-
-
Method Details
-
readActiveCustomerPhonesByCustomerId
- Specified by:
readActiveCustomerPhonesByCustomerIdin interfaceCustomerPhoneDao
-
save
- Specified by:
savein interfaceCustomerPhoneDao
-
readCustomerPhoneById
- Specified by:
readCustomerPhoneByIdin interfaceCustomerPhoneDao
-
makeCustomerPhoneDefault
- Specified by:
makeCustomerPhoneDefaultin interfaceCustomerPhoneDao
-
deleteCustomerPhoneById
- Specified by:
deleteCustomerPhoneByIdin interfaceCustomerPhoneDao
-
findDefaultCustomerPhone
- Specified by:
findDefaultCustomerPhonein interfaceCustomerPhoneDao
-
readAllCustomerPhonesByCustomerId
- Specified by:
readAllCustomerPhonesByCustomerIdin interfaceCustomerPhoneDao
-
create
- Specified by:
createin interfaceCustomerPhoneDao
-