package org.appfuse.service;

import java.util.List;


/**
 * Business Delegate (Proxy) Interface to talk to persistence layer and
 * retrieve values for drop-down choice lists.
 *
 * <p>
 * <a href="LookupManager.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 * @version $Revision: 1.2 $ $Date: 2004/04/02 08:49:29 $
 */
public interface LookupManager {
    //~ Methods ================================================================

    /**
     * Retrieves all possible roles from persistence layer
     * @return List 
     * @throws Exception
     */
    public List getAllRoles() throws Exception;

    /**
     * Retrieves all templates for use in a drop-down
     * @return List of available templates
     * @throws Exception exception if operation fails
     */
    public List getTemplates() throws Exception;

    /**
     * Retrieves all work statuses for use in a drop-down
     * @return List of available work statuses
     * @throws Exception exception if operation fails
     */
    public List getWorkStatuses() throws Exception;

    /**
     * Retrieves all degrees for use in a drop-down
     * @return List of available degrees
     * @throws Exception exception if operation fails
     */
    public List getDegrees() throws Exception;
}