WebDev Hell

This commit is contained in:
2023-11-03 13:34:02 -05:00
parent 45656bf9ed
commit 473a7e61e9
133 changed files with 4855 additions and 179 deletions

View File

@@ -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;
}

View File

@@ -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
}
}

View File

@@ -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
}
}