|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.orm.hibernate.support.HibernateDaoSupport org.figure8.join.core.persistence.HibernateObjectDao org.figure8.join.businessobjects.security.persistence.HibernateUserDao
public class HibernateUserDao
Implementation of UserDao using Hibernate ORM system.
Field Summary |
---|
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateUserDao()
Creates a new instance of HibernateUserDao |
Method Summary | |
---|---|
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
User |
getUser(java.lang.String login)
Retrieve the user corresponding to login using Hibernate |
java.util.List |
getUsersWithLastnameLike(java.lang.String lastname)
Retrieve all users having lastname 'like' the specified one |
Methods inherited from class org.figure8.join.core.persistence.HibernateObjectDao |
---|
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getById, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao |
---|
findAll, findAllSorted, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save |
Constructor Detail |
---|
public HibernateUserDao()
Method Detail |
---|
public User getUser(java.lang.String login)
getUser
in interface UserDao
login
- User login (should be a unique identifier)
public java.util.List getUsersWithLastnameLike(java.lang.String lastname)
getUsersWithLastnameLike
in interface UserDao
lastname
- The string that users lastname should contain
org.figure8.join.businessobjects.security.User
public java.lang.Class getPersistentClass()
ObjectDao
getPersistentClass
in interface ObjectDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |