Package CallCenterManagement.Dao
Class GruppoDAO
java.lang.Object
CallCenterManagement.Dao.GruppoDAO
public class GruppoDAO
extends java.lang.Object
Implementazione DAO Gruppo
Connessione e implementazione della Base di dati con Gruppo
- readGruppo()
- restoreGruppo()
- craeteGruppo()
- deleteGruppo()
- updateGruppo()
-
Constructor Summary
Constructors Constructor Description GruppoDAO() -
Method Summary
Modifier and Type Method Description static voidcreateGruppo(Gruppo g)voiddeleteGruppo(Gruppo g)static GrupporestoreGruppo(java.sql.ResultSet rs)voidupdateGruppo(Gruppo g)
-
Constructor Details
-
GruppoDAO
public GruppoDAO()
-
-
Method Details
-
createGruppo
- Parameters:
Gruppo- da aggiungere nel DB- Throws:
java.sql.SQLException
-
restoreGruppo
- Parameters:
ResultSet- della lettura dal Db del Gruppo- Returns:
- Agente di Vendita creato nel programma
- Throws:
java.sql.SQLException
-
updateGruppo
- Parameters:
Dati- del Gruppo da modificare nel DB- Throws:
java.sql.SQLException
-
deleteGruppo
- Parameters:
ID- del Gruppo da eliminare dal DB- Throws:
java.sql.SQLException
-