|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.pfc.lcamps.webapp.catwings.bd.dao.AbstractDAO<VolVO>
edu.uoc.pfc.lcamps.webapp.catwings.bd.dao.impl.VolDAOImpl
public class VolDAOImpl
Classe que implementa la interfície del DAO del vol
Constructor Summary | |
---|---|
VolDAOImpl()
|
Method Summary | |
---|---|
void |
deleteVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
VolVO obj)
Esobrrem el vol |
VolQueryProvider |
getQueryProvider()
|
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 |
setQueryProvider(VolQueryProvider queryProvider)
|
void |
updateVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
VolVO obj)
Actualitzem la informació del vol |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VolDAOImpl()
Method Detail |
---|
public void setQueryProvider(VolQueryProvider queryProvider)
queryProvider
- the queryProvider to setpublic VolQueryProvider getQueryProvider()
public 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
VolDAO
selectVolPerData
in interface VolDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public VolVO selectVol(int numVol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolDAO
selectVol
in interface VolDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public int selectNumPlacesVol(int numVol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolDAO
selectNumPlacesVol
in interface VolDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public void updateVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, VolVO obj) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolDAO
updateVol
in interface VolDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public void deleteVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, VolVO obj) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolDAO
deleteVol
in interface VolDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public int selectPreuVol(int numVol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolDAO
selectPreuVol
in interface VolDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |