Added first sql-queries into the SimpleDatabaseManager.java (Still failing / Red Errors)
This commit is contained in:
@@ -2,11 +2,13 @@ package hhn.temp.project.provider;
|
||||
|
||||
import jdk.jshell.spi.ExecutionControl;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Collection;
|
||||
|
||||
public interface DatabaseManager<E> extends Database {
|
||||
public void saveObjects(Collection<E> objects);
|
||||
public void saveObjects(Collection<E> objects) throws ExecutionControl.NotImplementedException, IOException, SQLException;
|
||||
public Collection<E> getObjects() throws ExecutionControl.NotImplementedException;
|
||||
public void saveObject(E object) throws ExecutionControl.NotImplementedException;
|
||||
public void saveObject(E object) throws ExecutionControl.NotImplementedException, IOException, SQLException;
|
||||
public E getObject(int id) throws ExecutionControl.NotImplementedException;
|
||||
}
|
||||
Reference in New Issue
Block a user