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 java.lang.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
queryCacheableKey
protected java.lang.String queryCacheableKey
RoleDaoImpl
public RoleDaoImpl()
readAddressById
public Address readAddressById(java.lang.Long id)
readCustomerRolesByCustomerId
public java.util.List<CustomerRole> readCustomerRolesByCustomerId(java.lang.Long customerId)
- Specified by:
readCustomerRolesByCustomerId in interface RoleDao
readRoleByName
public Role readRoleByName(java.lang.String name)
- Specified by:
readRoleByName in interface RoleDao
addRoleToCustomer
public void addRoleToCustomer(CustomerRole customerRole)
- Specified by:
addRoleToCustomer in interface RoleDao
getQueryCacheableKey
public java.lang.String getQueryCacheableKey()
setQueryCacheableKey
public void setQueryCacheableKey(java.lang.String queryCacheableKey)
Copyright © 2011. All Rights Reserved.