com.xtravelsystem.online.published.V1_0RC1.transfer
Class TransferBookingHandlerImpl
java.lang.Object
com.jumbotours.util.AbstractJWSDPWebService
com.xtravelsystem.online.published.V1_0RC1.transfer.TransferBookingHandlerImpl
- All Implemented Interfaces:
- TransferBookingHandler, java.rmi.Remote
public class TransferBookingHandlerImpl
- extends com.jumbotours.util.AbstractJWSDPWebService
- implements TransferBookingHandler
Methods inherited from class com.jumbotours.util.AbstractJWSDPWebService |
destroy, getHttpRequest, getHttpResponse, getMessageContext, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransferBookingHandlerImpl
public TransferBookingHandlerImpl()
availableTransfers
public AvailabilityRS availableTransfers(AvailabilityRQ rq)
throws java.rmi.RemoteException
- Specified by:
availableTransfers
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
availableTransfersV12
public AvailabilityRSV12 availableTransfersV12(AvailabilityRQ rq)
throws java.rmi.RemoteException
- Specified by:
availableTransfersV12
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
valuate
public ValuationRS valuate(ValuationRQ rq)
throws java.rmi.RemoteException
- Specified by:
valuate
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
valuateV12
public ValuationRSV12 valuateV12(ValuationRQ rq)
throws java.rmi.RemoteException
- Specified by:
valuateV12
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
confirm
public ConfirmRS confirm(ConfirmRQ rq)
throws java.rmi.RemoteException
- Specified by:
confirm
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
confirmV12
public ConfirmRSV12 confirmV12(ConfirmRQ rq)
throws java.rmi.RemoteException
- Specified by:
confirmV12
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
_confirm
public ConfirmRSV12 _confirm(ConfirmRQ rq)
throws java.rmi.RemoteException
- confirm a booking
- Throws:
java.rmi.RemoteException
GetCountriesByAgency
public GetCountriesRS GetCountriesByAgency(GetCountriesRQ rq)
throws java.rmi.RemoteException
- Specified by:
GetCountriesByAgency
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
getTransferAirports
public GetTransferAirportsRS getTransferAirports(GetTransferAirportsRQ rq)
throws java.rmi.RemoteException
- Specified by:
getTransferAirports
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
getTransferEstablishments
public GetTransferEstablishmentsRS getTransferEstablishments(GetTransferEstablishmentsRQ rq)
throws java.rmi.RemoteException
- Specified by:
getTransferEstablishments
in interface TransferBookingHandler
- Throws:
java.rmi.RemoteException
setLostSale
public void setLostSale(Agency agency,
TransferJourney transferJourney,
java.lang.String transferType,
java.lang.String error,
java.lang.String handlerId)
- Save in the db all the rq that return a negative result
sale price < purchase price + agency commission
- Parameters:
agency
- transferJourney
- transferType
- pm
- error
-
getLogger
public com.jumbotours.logs.AbstractLogger getLogger()
setLogger
public void setLogger(com.jumbotours.logs.AbstractLogger logger)
getConfirmLogger
public com.jumbotours.logs.AbstractLogger getConfirmLogger()
setConfirmLogger
public void setConfirmLogger(com.jumbotours.logs.AbstractLogger confirmLogger)