1
2
3
4
5
6
7 package net.sf.mindoro.dao;
8
9 import java.util.List;
10
11 import net.sf.mindoro.model.Project;
12
13 /***
14 * @author aisrael
15 *
16 * TODO To change the template for this generated type comment go to
17 * Window - Preferences - Java - Code Style - Code Templates
18 */
19 public interface ProjectDao {
20
21 /***
22 * List all the Projects.
23 * @return List
24 */
25 List listProjects();
26
27 /***
28 * Create a new Project.
29 * @param name the Project name
30 * @return Project
31 */
32 Project newProject(final String name);
33
34 /***
35 * Delete an existing Project.
36 * @param project Project
37 */
38 void deleteProject(final Project project);
39
40 }