feat: TaskDB types and interfaces
Created the types and interfaces relating to the TaskDatabase
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package ch.zhaw.gartenverwaltung.io;
|
||||
|
||||
import ch.zhaw.gartenverwaltung.types.Task;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface TaskDatabase {
|
||||
List<Task> getTaskList(Date start, Date end);
|
||||
void saveTask(Task task) throws IOException;
|
||||
void removeTask(Task task) throws IOException;
|
||||
}
|
||||
Reference in New Issue
Block a user