Class RoleDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.RoleDaoImpl
- All Implemented Interfaces:
RoleDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected EntityConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRoleToCustomer(CustomerRole customerRole) readCustomerRolesByCustomerId(Long customerId) readRoleByName(String name) voidremoveCustomerRolesByCustomerId(Long customerId)
-
Field Details
-
em
protected jakarta.persistence.EntityManager em -
entityConfiguration
-
-
Constructor Details
-
RoleDaoImpl
public RoleDaoImpl()
-
-
Method Details
-
readCustomerRolesByCustomerId
- Specified by:
readCustomerRolesByCustomerIdin interfaceRoleDao
-
readRoleByName
- Specified by:
readRoleByNamein interfaceRoleDao
-
addRoleToCustomer
- Specified by:
addRoleToCustomerin interfaceRoleDao
-
removeCustomerRolesByCustomerId
- Specified by:
removeCustomerRolesByCustomerIdin interfaceRoleDao
-