edu.uoc.pfc.lcamps.webapp.catwings.bd.dao.impl
Class AeroportDAOImpl

java.lang.Object
  extended by edu.uoc.pfc.lcamps.webapp.catwings.bd.dao.AbstractDAO<AeroportVO>
      extended by edu.uoc.pfc.lcamps.webapp.catwings.bd.dao.impl.AeroportDAOImpl
All Implemented Interfaces:
AeroportDAO

public class AeroportDAOImpl
extends AbstractDAO<AeroportVO>
implements AeroportDAO

Classe que implementa la interfĂ­cie del DAO de l'aeroport

Author:
Llorenç Camps

Constructor Summary
AeroportDAOImpl()
           
 
Method Summary
 void deleteAeroport(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, AeroportVO obj)
          Esborrem aeroport
 AeroportQueryProvider getQueryProvider()
           
 int insertAeroport(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, AeroportVO obj)
          Insertem l'aeroport
 AeroportVO selectAeroport(java.lang.String codiiata)
          A partir del codi iata retorna l'aeroport
 void setQueryProvider(AeroportQueryProvider queryProvider)
           
 void updateAeroport(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, AeroportVO obj)
          Actualitzem aeroport
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AeroportDAOImpl

public AeroportDAOImpl()
Method Detail

setQueryProvider

public void setQueryProvider(AeroportQueryProvider queryProvider)
Parameters:
queryProvider - the queryProvider to set

getQueryProvider

public AeroportQueryProvider getQueryProvider()
Returns:
the queryProvider

selectAeroport

public AeroportVO selectAeroport(java.lang.String codiiata)
                          throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
Description copied from interface: AeroportDAO
A partir del codi iata retorna l'aeroport

Specified by:
selectAeroport in interface AeroportDAO
Returns:
Throws:
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException

insertAeroport

public int insertAeroport(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
                          AeroportVO obj)
                   throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
Description copied from interface: AeroportDAO
Insertem l'aeroport

Specified by:
insertAeroport in interface AeroportDAO
Returns:
Throws:
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException

updateAeroport

public void updateAeroport(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
                           AeroportVO obj)
                    throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
Description copied from interface: AeroportDAO
Actualitzem aeroport

Specified by:
updateAeroport in interface AeroportDAO
Throws:
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException

deleteAeroport

public void deleteAeroport(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
                           AeroportVO obj)
                    throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
Description copied from interface: AeroportDAO
Esborrem aeroport

Specified by:
deleteAeroport in interface AeroportDAO
Throws:
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException