com.xtravelsystem.online.published.V1_0RC1.hotel
Class HotelBookingHandlerImpl

java.lang.Object
  extended by com.jumbotours.util.AbstractJWSDPWebService
      extended by com.xtravelsystem.online.published.V1_0RC1.hotel.HotelBookingHandlerImpl
All Implemented Interfaces:
HotelBookingHandler, java.rmi.Remote

public class HotelBookingHandlerImpl
extends com.jumbotours.util.AbstractJWSDPWebService
implements HotelBookingHandler

Handler of the hotel reservation services. Here you will find the methods to make a hotel reservation (to get the available hotels, to valuate a reservation, etc). You will also find the methods required to get the details of an establishment data sheet and to modify a reservation

Author:
Dpto. Informatica Jumbotours Created on 01-abr-2005

Field Summary
static int HOTELS_PER_THREAD
           
 
Constructor Summary
HotelBookingHandlerImpl()
           
 
Method Summary
 AvailabilityRS availableHotelsByAirport(AvailableHotelsByAirportRQ rq)
          method to get the available hotels reachable from an Airport / zone
 AvailabilityExtendsRS availableHotelsByAirportExtends(AvailableHotelsByAirportRQ rq)
           
 AvailabilityWithErratasRS availableHotelsByAirportWithErratas(AvailableHotelsByAirportRQ rq)
           
 AvailabilityRS availableHotelsByArea(AvailableHotelsByAreaRQ rq)
          method to get the available hotels at an area
 AvailabilityExtendsRS availableHotelsByAreaExtends(AvailableHotelsByAreaRQ rq)
           
 AvailabilityWithErratasRS availableHotelsByAreaWithErratas(AvailableHotelsByAreaRQ rq)
           
 AvailabilityRS availableHotelsByCity(AvailableHotelsByCityRQ rq)
          method to get the available hotels at a city
 AvailabilityExtendsRS availableHotelsByCityExtends(AvailableHotelsByCityRQ rq)
           
 AvailabilityWithErratasRS availableHotelsByCityWithErratas(AvailableHotelsByCityRQ rq)
           
 AvailabilityRS availableHotelsById(AvailableHotelsByIdRQ rq)
          method to ask for availability in a hotel
 AvailabilityExtendsRS availableHotelsByIdExtends(AvailableHotelsByIdRQ rq)
           
 AvailabilityWithErratasRS availableHotelsByIdWithErratas(AvailableHotelsByIdRQ rq)
           
 AvailabilityMultiRS availableHotelsByMultiQuery(AvailableHotelsByMultiQueryRQ rq)
           
 AvailabilityMultiRS availableHotelsByMultiQueryV12(AvailableHotelsByMultiQueryRQ rq)
           
 AvailabilityMultiRSV12 availableHotelsByMultiQueryV13(AvailableHotelsByMultiQueryRQ rq)
          M�todos venta comisionada que no retorna comisi�n en precios
 AvailabilityMultiRSV13 availableHotelsByMultiQueryV14(AvailableHotelsByMultiQueryRQ rq)
           
 AvailableHotelsCompatibilityQueryRS availableHotelsCompatibilityQuery(AvailableHotelsCompatibilityQueryRQ rq)
          method to retrive the available product at a city or at an area.
 ConfirmRS confirm(ConfirmRQ rq)
           
 ConfirmExtendsRS confirmExtended(ConfirmRQ rq)
           
 ConfirmExtendsV12RS confirmExtendsV12(ConfirmRQ rq)
           
 ConfirmExtendsRSV12 confirmExtendsV13(ConfirmRQ rq)
           
 GetBoardTypesRS getBoardTypes(GetBoardTypesRQ rq)
          method to retrieve the list of board type categories you can use in the getAvailableHotels methods
 GetBoardTypesV2RS getBoardTypesV2(GetBoardTypesV2RQ rq)
           
 com.jumbotours.logs.AbstractLogger getConfirmLogger()
           
 GetEstablishmentCategoriesRS getEstablishmentCategories(GetEstablishmentCategoriesRQ rq)
          method to retrieve the list of establishment categories you can use in the getAvailableHotels methods
 GetEstablishmentCategoryGroupsRS getEstablishmentCategoryGroup(GetEstablishmentCategoryGroupsRQ rq)
          method to retrieve the list of establishment category groups you can use in the getAvailableHotels methods
 EstablishmentDataRS getEstablishmentData(EstablishmentDataRQ rq)
          method to retrieve an establishment data sheet.
 EstablishmentDataExtendsRS getEstablishmentDataExtends(EstablishmentDataRQ rq)
           
 GetEstablishmentsByNameRS getEstablishmentsByCity(GetEstablishmentsByNameRQ rq, PersistenceManager pm)
           
 GetEstablishmentsByNameRS getEstablishmentsByName(GetEstablishmentsByNameRQ rq)
          search establishments by name.
 GetEstablishmentsByNameRSV12 getEstablishmentsByNameV12(GetEstablishmentsByNameRQ rq)
          search establishments by name including latitude and longitude.
 GetEstablishmentTypesRS getEstablishmentTypes(GetEstablishmentTypesRQ rq)
          method to retrieve the list of establishment types you can use in the getAvailableHotels methods
 com.jumbotours.logs.AbstractLogger getHoteLogger()
           
 GetPORS getPO(GetPORQ getPORQ)
          Offers
 GetPOClassificationRS getPOClassification(GetPOClassificationRQ getPOClassificationRQ)
          WS publico que retorna el arbol de poClasification
 GetPOClassificationRS getPOClassificationAndPOs(GetPOClassificationRQ getPOClassificationRQ)
          WS publico que retorna el arbol de poClasification con los PO's asociados
 GetPOsRS getPOs(GetPOsRQ getPOsRQ)
           
 GetPricesRS getPrices(GetPricesRQ rq)
          method to retrieve the prices list of an establishment contract.
 GetRoomTypesRS getRoomTypes(GetRoomTypesRQ rq)
          method to retrieve the roomtype list.
 void setConfirmLogger(com.jumbotours.logs.AbstractLogger confirmLogger)
           
 void setHoteLogger(com.jumbotours.logs.AbstractLogger hoteLogger)
           
 com.jumbotours.disponibility.ValuationRS valuate(ValuationRQ rq)
          method to valuate a hotel reservation.
 com.jumbotours.disponibility.answers.ValuationExtendsRS valuateExtends(ValuationRQ rq)
           
 com.jumbotours.disponibility.answers.ValuationExtendsRS valuateExtendsV12(ValuationRQ rq)
           
 ValuationExtendsRSv12 valuateExtendsV13(ValuationRQ rq)
           
 
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
 

Field Detail

HOTELS_PER_THREAD

public static int HOTELS_PER_THREAD
Constructor Detail

HotelBookingHandlerImpl

public HotelBookingHandlerImpl()
Method Detail

getEstablishmentTypes

public GetEstablishmentTypesRS getEstablishmentTypes(GetEstablishmentTypesRQ rq)
                                              throws java.rmi.RemoteException
method to retrieve the list of establishment types you can use in the getAvailableHotels methods

Specified by:
getEstablishmentTypes in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getBoardTypes

public GetBoardTypesRS getBoardTypes(GetBoardTypesRQ rq)
                              throws java.rmi.RemoteException
method to retrieve the list of board type categories you can use in the getAvailableHotels methods

Specified by:
getBoardTypes in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getBoardTypesV2

public GetBoardTypesV2RS getBoardTypesV2(GetBoardTypesV2RQ rq)
                                  throws java.rmi.RemoteException
Specified by:
getBoardTypesV2 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getEstablishmentCategories

public GetEstablishmentCategoriesRS getEstablishmentCategories(GetEstablishmentCategoriesRQ rq)
                                                        throws java.rmi.RemoteException
method to retrieve the list of establishment categories you can use in the getAvailableHotels methods

Specified by:
getEstablishmentCategories in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getEstablishmentCategoryGroup

public GetEstablishmentCategoryGroupsRS getEstablishmentCategoryGroup(GetEstablishmentCategoryGroupsRQ rq)
                                                               throws java.rmi.RemoteException
method to retrieve the list of establishment category groups you can use in the getAvailableHotels methods

Specified by:
getEstablishmentCategoryGroup in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByAirport

public AvailabilityRS availableHotelsByAirport(AvailableHotelsByAirportRQ rq)
                                        throws java.rmi.RemoteException
method to get the available hotels reachable from an Airport / zone

Specified by:
availableHotelsByAirport in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByArea

public AvailabilityRS availableHotelsByArea(AvailableHotelsByAreaRQ rq)
                                     throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
method to get the available hotels at an area

Specified by:
availableHotelsByArea in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByCity

public AvailabilityRS availableHotelsByCity(AvailableHotelsByCityRQ rq)
                                     throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
method to get the available hotels at a city

Specified by:
availableHotelsByCity in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByAirportWithErratas

public AvailabilityWithErratasRS availableHotelsByAirportWithErratas(AvailableHotelsByAirportRQ rq)
                                                              throws java.rmi.RemoteException
Specified by:
availableHotelsByAirportWithErratas in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByAirportExtends

public AvailabilityExtendsRS availableHotelsByAirportExtends(AvailableHotelsByAirportRQ rq)
                                                      throws java.rmi.RemoteException
Specified by:
availableHotelsByAirportExtends in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByAreaWithErratas

public AvailabilityWithErratasRS availableHotelsByAreaWithErratas(AvailableHotelsByAreaRQ rq)
                                                           throws java.rmi.RemoteException
Specified by:
availableHotelsByAreaWithErratas in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByAreaExtends

public AvailabilityExtendsRS availableHotelsByAreaExtends(AvailableHotelsByAreaRQ rq)
                                                   throws java.rmi.RemoteException
Specified by:
availableHotelsByAreaExtends in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByCityWithErratas

public AvailabilityWithErratasRS availableHotelsByCityWithErratas(AvailableHotelsByCityRQ rq)
                                                           throws java.rmi.RemoteException
Specified by:
availableHotelsByCityWithErratas in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByCityExtends

public AvailabilityExtendsRS availableHotelsByCityExtends(AvailableHotelsByCityRQ rq)
                                                   throws java.rmi.RemoteException
Specified by:
availableHotelsByCityExtends in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

valuate

public com.jumbotours.disponibility.ValuationRS valuate(ValuationRQ rq)
                                                 throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
method to valuate a hotel reservation. In this method you will get the valuation details (applied supplements, handling fees, commision, etc) and a list of optional supplements. This method is not mandatory if you are not interested to see the price details before confirming the reservation, or if you are not interested about optional supplements.

Specified by:
valuate in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

valuateExtends

public com.jumbotours.disponibility.answers.ValuationExtendsRS valuateExtends(ValuationRQ rq)
                                                                       throws java.rmi.RemoteException
Specified by:
valuateExtends in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

valuateExtendsV12

public com.jumbotours.disponibility.answers.ValuationExtendsRS valuateExtendsV12(ValuationRQ rq)
                                                                          throws java.rmi.RemoteException
Specified by:
valuateExtendsV12 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

confirm

public ConfirmRS confirm(ConfirmRQ rq)
                  throws java.rmi.RemoteException
Specified by:
confirm in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

confirmExtendsV12

public ConfirmExtendsV12RS confirmExtendsV12(ConfirmRQ rq)
                                      throws java.rmi.RemoteException
Specified by:
confirmExtendsV12 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

confirmExtended

public ConfirmExtendsRS confirmExtended(ConfirmRQ rq)
                                 throws java.rmi.RemoteException
Specified by:
confirmExtended in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getPrices

public GetPricesRS getPrices(GetPricesRQ rq)
                      throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
method to retrieve the prices list of an establishment contract.

Specified by:
getPrices in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getEstablishmentsByName

public GetEstablishmentsByNameRS getEstablishmentsByName(GetEstablishmentsByNameRQ rq)
                                                  throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
search establishments by name. If you don't specify any parameter you will get the whole list of establishments

Specified by:
getEstablishmentsByName in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getEstablishmentsByNameV12

public GetEstablishmentsByNameRSV12 getEstablishmentsByNameV12(GetEstablishmentsByNameRQ rq)
                                                        throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
search establishments by name including latitude and longitude. If you don't specify any parameter you will get the whole list of establishments

Specified by:
getEstablishmentsByNameV12 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getEstablishmentsByCity

public GetEstablishmentsByNameRS getEstablishmentsByCity(GetEstablishmentsByNameRQ rq,
                                                         PersistenceManager pm)
                                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getEstablishmentData

public EstablishmentDataRS getEstablishmentData(EstablishmentDataRQ rq)
                                         throws java.rmi.RemoteException
method to retrieve an establishment data sheet. It also will return special remarks related to the establishment by the date you get the establishment details.

Specified by:
getEstablishmentData in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getEstablishmentDataExtends

public EstablishmentDataExtendsRS getEstablishmentDataExtends(EstablishmentDataRQ rq)
                                                       throws java.rmi.RemoteException
Specified by:
getEstablishmentDataExtends in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsById

public AvailabilityRS availableHotelsById(AvailableHotelsByIdRQ rq)
                                   throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
method to ask for availability in a hotel

Specified by:
availableHotelsById in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByIdWithErratas

public AvailabilityWithErratasRS availableHotelsByIdWithErratas(AvailableHotelsByIdRQ rq)
                                                         throws java.rmi.RemoteException
Specified by:
availableHotelsByIdWithErratas in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByIdExtends

public AvailabilityExtendsRS availableHotelsByIdExtends(AvailableHotelsByIdRQ rq)
                                                 throws java.rmi.RemoteException
Specified by:
availableHotelsByIdExtends in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByMultiQuery

public AvailabilityMultiRS availableHotelsByMultiQuery(AvailableHotelsByMultiQueryRQ rq)
                                                throws java.rmi.RemoteException
Specified by:
availableHotelsByMultiQuery in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByMultiQueryV12

public AvailabilityMultiRS availableHotelsByMultiQueryV12(AvailableHotelsByMultiQueryRQ rq)
                                                   throws java.rmi.RemoteException
Specified by:
availableHotelsByMultiQueryV12 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsCompatibilityQuery

public AvailableHotelsCompatibilityQueryRS availableHotelsCompatibilityQuery(AvailableHotelsCompatibilityQueryRQ rq)
                                                                      throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
method to retrive the available product at a city or at an area. This method is still available for clients who used to cache our product in their systems due to low performance of the old system. As this method is ususally used for cache, its priority is not as high as the other availability methods

Specified by:
availableHotelsCompatibilityQuery in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getRoomTypes

public GetRoomTypesRS getRoomTypes(GetRoomTypesRQ rq)
                            throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
method to retrieve the roomtype list.

Specified by:
getRoomTypes in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByMultiQueryV13

public AvailabilityMultiRSV12 availableHotelsByMultiQueryV13(AvailableHotelsByMultiQueryRQ rq)
                                                      throws java.rmi.RemoteException
M�todos venta comisionada que no retorna comisi�n en precios

Specified by:
availableHotelsByMultiQueryV13 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

availableHotelsByMultiQueryV14

public AvailabilityMultiRSV13 availableHotelsByMultiQueryV14(AvailableHotelsByMultiQueryRQ rq)
                                                      throws java.rmi.RemoteException
Specified by:
availableHotelsByMultiQueryV14 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

valuateExtendsV13

public ValuationExtendsRSv12 valuateExtendsV13(ValuationRQ rq)
                                        throws java.rmi.RemoteException
Specified by:
valuateExtendsV13 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

confirmExtendsV13

public ConfirmExtendsRSV12 confirmExtendsV13(ConfirmRQ rq)
                                      throws java.rmi.RemoteException
Specified by:
confirmExtendsV13 in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getPO

public GetPORS getPO(GetPORQ getPORQ)
              throws java.rmi.RemoteException
Description copied from interface: HotelBookingHandler
Offers

Specified by:
getPO in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getPOs

public GetPOsRS getPOs(GetPOsRQ getPOsRQ)
                throws java.rmi.RemoteException
Specified by:
getPOs in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getPOClassification

public GetPOClassificationRS getPOClassification(GetPOClassificationRQ getPOClassificationRQ)
                                          throws java.rmi.RemoteException
WS publico que retorna el arbol de poClasification

Specified by:
getPOClassification in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getPOClassificationAndPOs

public GetPOClassificationRS getPOClassificationAndPOs(GetPOClassificationRQ getPOClassificationRQ)
                                                throws java.rmi.RemoteException
WS publico que retorna el arbol de poClasification con los PO's asociados

Specified by:
getPOClassificationAndPOs in interface HotelBookingHandler
Throws:
java.rmi.RemoteException

getHoteLogger

public com.jumbotours.logs.AbstractLogger getHoteLogger()

setHoteLogger

public void setHoteLogger(com.jumbotours.logs.AbstractLogger hoteLogger)

getConfirmLogger

public com.jumbotours.logs.AbstractLogger getConfirmLogger()

setConfirmLogger

public void setConfirmLogger(com.jumbotours.logs.AbstractLogger confirmLogger)