org.appfuse.persistence.hibernate
Class LookupDAOHibernate
java.lang.Object
org.springframework.orm.hibernate.support.HibernateDaoSupport
org.appfuse.persistence.hibernate.LookupDAOHibernate
- All Implemented Interfaces:
- DAO, InitializingBean, LookupDAO
- public class LookupDAOHibernate
- extends HibernateDaoSupport
- implements LookupDAO
Hibernate implementation of LookupDAO.
View Source
- Version:
- $Revision: 1.2 $ $Date: 2004/04/02 08:49:28 $
- Author:
- Matt Raible
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupDAOHibernate
public LookupDAOHibernate()
getRoles
public List getRoles()
throws DAOException
- Description copied from interface:
LookupDAO
- Returns a list of all roles in the database
- Specified by:
getRoles in interface LookupDAO
- Returns:
- List roles in database
- Throws:
DAOException- See Also:
LookupDAO.getRoles()
getAvailableTemplates
public List getAvailableTemplates()
throws DAOException
- Description copied from interface:
LookupDAO
- Get a list of of all the templates in the database
- Specified by:
getAvailableTemplates in interface LookupDAO
- Returns:
- List list of templates
- Throws:
DAOException- See Also:
LookupDAO.getAvailableTemplates()
getWorkStatuses
public List getWorkStatuses()
throws DAOException
- Description copied from interface:
LookupDAO
- Get a list of available work statuses from the database.
- Specified by:
getWorkStatuses in interface LookupDAO
- Returns:
- a List of populated work status objects
- Throws:
DAOException- See Also:
LookupDAO.getWorkStatuses()
getDegrees
public List getDegrees()
throws DAOException
- Description copied from interface:
LookupDAO
- Get a list of available degrees from the database.
- Specified by:
getDegrees in interface LookupDAO
- Returns:
- a List of populated degree objects
- Throws:
DAOException- See Also:
LookupDAO.getDegrees()
Copyright © 2002-2004