org.appfuse.dao.jpa
Class LookupDaoJpa

java.lang.Object
  extended by org.appfuse.dao.jpa.UniversalDaoJpa
      extended by org.appfuse.dao.jpa.LookupDaoJpa
All Implemented Interfaces:
LookupDao, UniversalDao

public class LookupDaoJpa
extends UniversalDaoJpa
implements LookupDao

JPA implementation of LookupDao.

Author:
Bryan Noll

Field Summary
 
Fields inherited from class org.appfuse.dao.jpa.UniversalDaoJpa
entityManager, log
 
Constructor Summary
LookupDaoJpa()
           
 
Method Summary
 java.util.List<org.appfuse.model.Role> getRoles()
          Returns all Roles ordered by name
 
Methods inherited from class org.appfuse.dao.jpa.UniversalDaoJpa
get, getAll, remove, save, setEntityManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.appfuse.dao.UniversalDao
get, getAll, remove, save
 

Constructor Detail

LookupDaoJpa

public LookupDaoJpa()
Method Detail

getRoles

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

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


Copyright © 2003-2007. All Rights Reserved.