|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VolDAO
Interfície que ens servirà per la gestió del DAO de l'aeroport
Method Summary | |
---|---|
void |
deleteVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
VolVO vol)
Esobrrem el vol |
int |
selectNumPlacesVol(int numVol)
Obtenim el número de places disponibles en el vol a partir del seu número |
int |
selectPreuVol(int numVol)
Obtenim el preu d'un vol a partir del seu número |
VolVO |
selectVol(int numvol)
Obtenim el vol a partir del número de vol |
java.util.List<VolVO> |
selectVolPerData(java.lang.String origen,
java.lang.String desti,
java.lang.String dataSortida,
int numPlaces)
obtenim el llistat de vols segons la data de sortida, origen, desti i les places |
void |
updateVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
VolVO vol)
Actualitzem la informació del vol |
Method Detail |
---|
java.util.List<VolVO> selectVolPerData(java.lang.String origen, java.lang.String desti, java.lang.String dataSortida, int numPlaces) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
origen
- desti
- dataSortida
- numPlaces
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolVO selectVol(int numvol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
numvol
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
int selectNumPlacesVol(int numVol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
numVol
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
void updateVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, VolVO vol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
vol
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
void deleteVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, VolVO vol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
numvol
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
int selectPreuVol(int numVol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
numVol
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |