| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
RoleDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRoleToCustomer(CustomerRole customerRole) |
Address |
readAddressById(Long id) |
List<CustomerRole> |
readCustomerRolesByCustomerId(Long customerId) |
Role |
readRoleByName(String name) |
void |
removeCustomerRolesByCustomerId(Long customerId) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public List<CustomerRole> readCustomerRolesByCustomerId(Long customerId)
readCustomerRolesByCustomerId in interface RoleDaopublic Role readRoleByName(String name)
readRoleByName in interface RoleDaopublic void addRoleToCustomer(CustomerRole customerRole)
addRoleToCustomer in interface RoleDaopublic void removeCustomerRolesByCustomerId(Long customerId)
removeCustomerRolesByCustomerId in interface RoleDaoCopyright © 2015. All Rights Reserved.