|
||||||||||
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.PassatgerServiceImpl
public class PassatgerServiceImpl
Classe que implementa la interfĂcie que gestiona el passatger
Constructor Summary | |
---|---|
PassatgerServiceImpl()
|
Method Summary | |
---|---|
int |
crearPassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
PassatgerVO passatger)
insertem el passatger i retorna l'id generat |
void |
deletePassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
PassatgerVO passatger)
Esborrem el passatger |
java.util.List<PassatgerVO> |
getAdultsByCodi(java.lang.String codi)
obtenim el llistat d'adults a partir del codi |
java.util.List<PassatgerVO> |
getAllPassatgers(java.lang.String codi)
Obtenim el llistat de tots els passatgers |
java.util.List<PassatgerVO> |
getAllPassatgersPaguen(java.lang.String codi)
Obtenim el llistat de tots els passatgers que paguen |
PassatgerVO |
getContacteByCodi(java.lang.String codi)
obtenim el contacte a partir del codi |
PassatgerVO |
getContacteByEmailCodi(java.lang.String codi,
java.lang.String email)
obtenim el contacte a partir del correu i el codi |
java.util.List<PassatgerVO> |
getInfantsByCodi(java.lang.String codi)
obtenim el llistat d'infants a partir del codi |
java.util.List<PassatgerVO> |
getNensByCodi(java.lang.String codi)
obtenim el llistat de nens a partir del codi |
PassatgerDAO |
getPassatgerDAO()
|
void |
setPassatgerDAO(PassatgerDAO passatgerDAO)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PassatgerServiceImpl()
Method Detail |
---|
public void setPassatgerDAO(PassatgerDAO passatgerDAO)
passatgerDAO
- the passatgerDAO to setpublic PassatgerDAO getPassatgerDAO()
public int crearPassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, PassatgerVO passatger) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
crearPassatger
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public PassatgerVO getContacteByEmailCodi(java.lang.String codi, java.lang.String email) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
getContacteByEmailCodi
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public PassatgerVO getContacteByCodi(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
getContacteByCodi
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public java.util.List<PassatgerVO> getAllPassatgers(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
getAllPassatgers
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public java.util.List<PassatgerVO> getAllPassatgersPaguen(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
getAllPassatgersPaguen
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public void deletePassatger(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, PassatgerVO passatger) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
deletePassatger
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public java.util.List<PassatgerVO> getAdultsByCodi(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
getAdultsByCodi
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public java.util.List<PassatgerVO> getNensByCodi(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
getNensByCodi
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public java.util.List<PassatgerVO> getInfantsByCodi(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
PassatgerService
getInfantsByCodi
in interface PassatgerService
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |