org.appfuse.persistence
Interface LookupDAO

All Superinterfaces:
DAO
All Known Implementing Classes:
LookupDAOHibernate

public interface LookupDAO
extends DAO

Lookup Data Access Object (DAO) interface. This is used to lookup values in the database (i.e. for drop-downs).

View Source

Version:
$Revision: 1.2 $ $Date: 2004/04/02 08:49:28 $
Author:
Matt Raible

Method Summary
 List getAvailableTemplates()
          Get a list of of all the templates in the database
 List getDegrees()
          Get a list of available degrees from the database.
 List getRoles()
          Returns a list of all roles in the database
 List getWorkStatuses()
          Get a list of available work statuses from the database.
 

Method Detail

getRoles

public List getRoles()
              throws DAOException
Returns a list of all roles in the database

Returns:
List roles in database
Throws:
DAOException

getAvailableTemplates

public List getAvailableTemplates()
                           throws DAOException
Get a list of of all the templates in the database

Returns:
List list of templates
Throws:
DAOException

getWorkStatuses

public List getWorkStatuses()
                     throws DAOException
Get a list of available work statuses from the database.

Returns:
a List of populated work status objects
Throws:
DAOException
See Also:
WorkStatus

getDegrees

public List getDegrees()
                throws DAOException
Get a list of available degrees from the database.

Returns:
a List of populated degree objects
Throws:
DAOException
See Also:
Degree


Copyright © 2002-2004