U - the user entity class.public abstract class AbstractJpaGroupDao<U extends GroupEntity> extends GenericDao<U,Long> implements GroupDao<U>
UserDao interface, backed by JPA entities
and queries.| Constructor and Description |
|---|
AbstractJpaGroupDao(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 AbstractJpaGroupDao(Class<U> cls, javax.inject.Provider<javax.persistence.EntityManager> inEMProvider)
cls - the user entity class.inEMProvider - The entity manager to be used for communication with
the data store.public U getByName(String name)
getByName in interface DaoWithUniqueName<U extends GroupEntity,Long>Copyright © 2016–2019 Emory University. All rights reserved.