1 package net.ramapuram.thomas.dao;
2
3 import net.ramapuram.thomas.model.Role;
4
5 import java.util.List;
6
7 /**
8 * Lookup Data Access Object (GenericDao) interface. This is used to lookup values in
9 * the database (i.e. for drop-downs).
10 *
11 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
12 */
13 public interface LookupDao {
14 //~ Methods ================================================================
15
16 /**
17 * Returns all Roles ordered by name
18 * @return populated list of roles
19 */
20 List<Role> getRoles();
21 }