WebDev Hell
This commit is contained in:
@@ -12,9 +12,11 @@ import java.util.List;
|
||||
*
|
||||
* @author asdv5
|
||||
*/
|
||||
public interface DBase<T>
|
||||
{
|
||||
List<T> listAll();
|
||||
public interface DBase<T> {
|
||||
|
||||
List<T> listAll();
|
||||
|
||||
int update(T t) throws SQLException;
|
||||
|
||||
int update(T t) throws SQLException;
|
||||
}
|
||||
int delete(T t) throws SQLException;
|
||||
}
|
||||
|
@@ -88,4 +88,10 @@ public class DatabaseManipulationParts implements DBase<Part>
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
|
||||
}
|
||||
|
||||
@Override
|
||||
public int delete(Part t) throws SQLException
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
|
||||
}
|
||||
}
|
||||
|
@@ -89,4 +89,10 @@ public class DatabaseManipulationSupplier implements DBase<Supplier>
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
|
||||
}
|
||||
|
||||
@Override
|
||||
public int delete(Supplier t) throws SQLException
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user