org.broadleafcommerce.profile.core.dao
Class RoleDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.RoleDaoImpl
- All Implemented Interfaces:
- RoleDao
@Repository(value="blRoleDao")
public class RoleDaoImpl
- extends Object
- implements RoleDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
RoleDaoImpl
public RoleDaoImpl()
readAddressById
public Address readAddressById(Long id)
readCustomerRolesByCustomerId
public List<CustomerRole> readCustomerRolesByCustomerId(Long customerId)
- Specified by:
readCustomerRolesByCustomerId in interface RoleDao
readRoleByName
public Role readRoleByName(String name)
- Specified by:
readRoleByName in interface RoleDao
addRoleToCustomer
public void addRoleToCustomer(CustomerRole customerRole)
- Specified by:
addRoleToCustomer in interface RoleDao
Copyright © 2012. All Rights Reserved.