net.ramapuram.thomas.dao.hibernate
Class LookupDaoHibernate

java.lang.Object
  extended by net.ramapuram.thomas.dao.hibernate.LookupDaoHibernate
All Implemented Interfaces:
LookupDao

@Repository
public class LookupDaoHibernate
extends java.lang.Object
implements LookupDao

Hibernate implementation of LookupDao.

Author:
Matt Raible

Constructor Summary
LookupDaoHibernate(org.hibernate.SessionFactory sessionFactory)
          Initialize LookupDaoHibernate with Hibernate SessionFactory.
 
Method Summary
 java.util.List<Role> getRoles()
          Returns all Roles ordered by name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupDaoHibernate

public LookupDaoHibernate(org.hibernate.SessionFactory sessionFactory)
Initialize LookupDaoHibernate with Hibernate SessionFactory.

Parameters:
sessionFactory -
Method Detail

getRoles

public java.util.List<Role> getRoles()
Returns all Roles ordered by name

Specified by:
getRoles in interface LookupDao
Returns:
populated list of roles


Copyright © 2011. All Rights Reserved.