U - the user entity class.public abstract class AbstractJpaUserTemplateDao<U extends UserTemplateEntity<?>> extends GenericDao<U,Long> implements UserTemplateDao<U>
UserDao interface, backed by JPA entities
and queries.| Constructor and Description |
|---|
AbstractJpaUserTemplateDao(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, getDatabaseSupport, getEntityClass, getEntityManager, getListAsc, getListByAttribute, getListByAttribute, getListByAttributeIn, getListByAttributeIn, getUniqueByAttribute, getUniqueByAttribute, refresh, remove, retrieve, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAutoAuthorizationTemplatepublic AbstractJpaUserTemplateDao(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 UserTemplateEntity<?>,Long>Copyright © 2016–2018 Emory University. All rights reserved.