|
||||||||||
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<ReservaVO>
edu.uoc.pfc.lcamps.webapp.catwings.bd.dao.impl.ReservaDAOImpl
public class ReservaDAOImpl
Classe que implementa la interfĂcie del DAO de la reserva
Constructor Summary | |
---|---|
ReservaDAOImpl()
|
Method Summary | |
---|---|
void |
closeTransaccio(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio)
Tanquem la transaccio |
void |
deleteReserva(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
ReservaVO obj)
Eliminem la reserva |
ReservaQueryProvider |
getQueryProvider()
|
int |
insertReserva(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio,
ReservaVO obj)
insertem la reserva |
edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW |
openTransaccio(boolean autocommit)
Obrim la transaccio |
ReservaVO |
selectReserva(java.lang.String codi)
Obtenim la reserva a partir del codi de reserva |
void |
setQueryProvider(ReservaQueryProvider queryProvider)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReservaDAOImpl()
Method Detail |
---|
public void setQueryProvider(ReservaQueryProvider queryProvider)
queryProvider
- the queryProvider to setpublic ReservaQueryProvider getQueryProvider()
public edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW openTransaccio(boolean autocommit) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
ReservaDAO
openTransaccio
in interface ReservaDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public void closeTransaccio(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
ReservaDAO
closeTransaccio
in interface ReservaDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public int insertReserva(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, ReservaVO obj) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
ReservaDAO
insertReserva
in interface ReservaDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public void deleteReserva(edu.uoc.pfc.lcamps.persistenciaFW.admin.session.SessionFW sessio, ReservaVO obj) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
ReservaDAO
deleteReserva
in interface ReservaDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
public ReservaVO selectReserva(java.lang.String codi) throws edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
ReservaDAO
selectReserva
in interface ReservaDAO
edu.uoc.pfc.lcamps.persistenciaFW.exception.DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |