|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PassatgerDAO
Interfície que ens servirà per la gestió del DAO del passatger
Method Summary | |
---|---|
void |
deletePassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
PassatgerVO obj)
Esborrem el passatger |
int |
insertPassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
PassatgerVO passatger)
insertem el passatger i retorna l'id generat |
java.util.List<PassatgerVO> |
selectAdult(java.lang.String codi)
Obtenim el llistat d'adults a partir del codi |
PassatgerVO |
selectContacte(java.lang.String codi)
Obtenim el contacte a partir del codi |
PassatgerVO |
selectContacte(java.lang.String codi,
java.lang.String email)
Obtenim el contacte a partir del codi i de l'email |
java.util.List<PassatgerVO> |
selectInfant(java.lang.String codi)
Obtenim el llistat d'infants a partir del codi |
java.util.List<PassatgerVO> |
selectNen(java.lang.String codi)
Obtenim el llistat de nens a partir del codi |
java.util.List<PassatgerVO> |
selectPassatgers(java.lang.String codi)
Obtenim tots els passatgers de la reserva |
java.util.List<PassatgerVO> |
selectPassatgersPaguen(java.lang.String codi)
Obtenim tots els passatgers de la reserva que paguen (tots - infants) |
void |
updatePassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
PassatgerVO obj)
Actualitza el passatger |
Method Detail |
---|
int insertPassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, PassatgerVO passatger) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
sessio
- passatger
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerVO selectContacte(java.lang.String codi, java.lang.String email) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
codi
- email
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerVO selectContacte(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
codi
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
java.util.List<PassatgerVO> selectAdult(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
codi
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
java.util.List<PassatgerVO> selectNen(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
codi
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
java.util.List<PassatgerVO> selectInfant(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
codi
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
void updatePassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, PassatgerVO obj) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
sessio
- obj
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
void deletePassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, PassatgerVO obj) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
sessio
- obj
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
java.util.List<PassatgerVO> selectPassatgers(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
codi
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
java.util.List<PassatgerVO> selectPassatgersPaguen(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
codi
-
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |