Added a placeholder method to delete objects from the database.
This commit is contained in:
@@ -7,8 +7,9 @@ import java.sql.SQLException;
|
||||
import java.util.Collection;
|
||||
|
||||
public interface DatabaseManager<E> extends Database {
|
||||
public void saveObjects(Collection<E> objects) throws ExecutionControl.NotImplementedException, IOException, SQLException;
|
||||
public Collection<E> getObjects() throws ExecutionControl.NotImplementedException;
|
||||
public void saveObject(E object) throws IOException, SQLException;
|
||||
public void saveObjects(Collection<E> objects) throws SQLException;
|
||||
public Collection<E> getObjects() throws SQLException;
|
||||
public void saveObject(E object) throws SQLException;
|
||||
public E getObject(int id) throws SQLException;
|
||||
public void deleteObject(int id) throws SQLException;
|
||||
}
|
||||
Reference in New Issue
Block a user