|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.pfc.lcamps.webapp.catwings.service.impl.VolServiceImpl
public class VolServiceImpl
Classe que implementa la interfície que gestiona el vol
Constructor Summary | |
---|---|
VolServiceImpl()
|
Method Summary | |
---|---|
void |
deleteVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
VolVO vol)
Esborrem el vol |
AeroportService |
getAeroportService()
|
VolResultVO |
getInfoLlistatVols(ConsultaVO consultaVO)
A partir de les dades que ha introdït l'usuari buscarem el llistat de vols segons els paràmetres passats |
VolResultVO |
getInfoVols(ConsultaVO consultaVO)
A partir de les dades que ha introdït l'usuari buscarem la informacio dels vols segons els paràmetres passats |
int |
getNumPlacesDisponibles(int numVol)
A partir del numero de vol obtenim el número de places disponibles |
VolVO |
getVolByNumVol(int numVol)
Obtenim el Vol |
VolDAO |
getVolDAO()
|
VolVO |
getVolUpdateNomAeroportByNumVol(int numVol)
Obtenim el vol amb els noms de l'origen/desti extrets de les dades de l'aeroport |
void |
setAeroportService(AeroportService aeroportService)
|
void |
setVolDAO(VolDAO volDAO)
|
void |
updateVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
VolVO vol)
Actualitzem el vol |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VolServiceImpl()
Method Detail |
---|
public void setAeroportService(AeroportService aeroportService)
aeroportService
- the aeroportService to setpublic AeroportService getAeroportService()
public VolDAO getVolDAO()
public void setVolDAO(VolDAO volDAO)
volDAO
- the volDAO to setpublic VolResultVO getInfoLlistatVols(ConsultaVO consultaVO)
VolService
getInfoLlistatVols
in interface VolService
public VolResultVO getInfoVols(ConsultaVO consultaVO)
VolService
getInfoVols
in interface VolService
public VolVO getVolByNumVol(int numVol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolService
getVolByNumVol
in interface VolService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public int getNumPlacesDisponibles(int numVol)
VolService
getNumPlacesDisponibles
in interface VolService
public void updateVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, VolVO vol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolService
updateVol
in interface VolService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public void deleteVol(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, VolVO vol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolService
deleteVol
in interface VolService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public VolVO getVolUpdateNomAeroportByNumVol(int numVol) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
VolService
getVolUpdateNomAeroportByNumVol
in interface VolService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |