org.appfuse.dao.LookupDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appfuse-hibernate Show documentation
Show all versions of appfuse-hibernate Show documentation
AppFuse DAO backend implemented with Hibernate (http://hibernate.org).
package org.appfuse.dao;
import org.appfuse.model.Role;
import java.util.List;
/**
* Lookup Data Access Object (GenericDao) interface. This is used to lookup values in
* the database (i.e. for drop-downs).
*
* @author Matt Raible
*/
public interface LookupDao {
//~ Methods ================================================================
/**
* Returns all Roles ordered by name
* @return populated list of roles
*/
List getRoles();
}