org.appfuse.service
Class LookupManagerImpl

java.lang.Object
  extended byorg.appfuse.service.BaseManager
      extended byorg.appfuse.service.LookupManagerImpl
All Implemented Interfaces:
LookupManager

public class LookupManagerImpl
extends BaseManager
implements LookupManager

Implementation of LookupManager interface to talk to the persistence layer.

View Source

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

Constructor Summary
LookupManagerImpl()
           
 
Method Summary
 List getAllRoles()
          Retrieves all possible roles from persistence layer
 List getDegrees()
          Retrieves all degrees for use in a drop-down
 List getTemplates()
          Retrieves all templates for use in a drop-down
 List getWorkStatuses()
          Retrieves all work statuses for use in a drop-down
 void setLookupDAO(LookupDAO dao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupManagerImpl

public LookupManagerImpl()
Method Detail

setLookupDAO

public void setLookupDAO(LookupDAO dao)

getAllRoles

public List getAllRoles()
                 throws Exception
Description copied from interface: LookupManager
Retrieves all possible roles from persistence layer

Specified by:
getAllRoles in interface LookupManager
Returns:
List
Throws:
Exception
See Also:
LookupManager.getAllRoles()

getTemplates

public List getTemplates()
                  throws Exception
Description copied from interface: LookupManager
Retrieves all templates for use in a drop-down

Specified by:
getTemplates in interface LookupManager
Returns:
List of available templates
Throws:
Exception - exception if operation fails
See Also:
LookupManager.getTemplates()

getWorkStatuses

public List getWorkStatuses()
                     throws Exception
Description copied from interface: LookupManager
Retrieves all work statuses for use in a drop-down

Specified by:
getWorkStatuses in interface LookupManager
Returns:
List of available work statuses
Throws:
Exception - exception if operation fails
See Also:
LookupManager.getWorkStatuses()

getDegrees

public List getDegrees()
                throws Exception
Description copied from interface: LookupManager
Retrieves all degrees for use in a drop-down

Specified by:
getDegrees in interface LookupManager
Returns:
List of available degrees
Throws:
Exception - exception if operation fails
See Also:
LookupManager.getDegrees()


Copyright © 2002-2004