U - the user entity class.public abstract class AbstractJpaRoleDao<U extends RoleEntity> extends GenericDao<U,Long> implements RoleDao<U>
UserDao interface, backed by JPA entities
and queries.| Constructor and Description |
|---|
AbstractJpaRoleDao(Class<U> cls,
javax.inject.Provider<javax.persistence.EntityManager> inEMProvider)
Create an object with the give entity manager.
|
| Modifier and Type | Method and Description |
|---|---|
U |
getByName(String name) |
create, getAll, getAll, getDatabaseSupport, getEntityClass, getEntityManager, getListAsc, getListAsc, getListByAttribute, getListByAttribute, getListByAttributeIn, getListByAttributeIn, getUniqueByAttribute, getUniqueByAttribute, refresh, remove, retrieve, updatepublic U getByName(String name)
getByName in interface DaoWithUniqueName<U extends RoleEntity,Long>Copyright © 2016–2019 Emory University. All rights reserved.