com.xtravelsystem.online.published.V1_0RC1.common
Interface CommonsHandler

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
CommonsHandlerImpl

public interface CommonsHandler
extends java.rmi.Remote


Method Summary
 GetAirportsRS getAirports(GetAirportsRQ rq)
          method to retrieve airports and the resorts / zones that you can access from that airport.
 GetAirportTypesRS getAirportTypes(GetAirportTypesRQ rq)
          method to retrieve airport types.
 GetAreasRS getAreas(GetAreasRQ rq)
          method to retrieve an areas tree.
 GetAreasRSV12 getAreasV12(GetAreasRQV12 rq)
          method to retrieve an areas tree and the sections if they have.
 GetCitiesRS getCities(GetCitiesRQ rq)
          method to retrieve a list with all the cities
 GetCitiesRS getCitiesByArea(GetCitiesByAreaRQ rq)
          method to retrieve a list with all the cities of an area
 GetCitiesWithAvailabilityRS getCitiesWithAvailability(GetCitiesWithAvailabilityRQ rq)
          method to retrieve a list with all available cities of a country
 GetCountriesRS getCountries(GetCountriesRQ rq)
          method to retrieve a list with all the countries
 GetEventsRS GetEventsByArea(GetEventsByAreaRQ rq)
          method to retrive the events associated to an area inside a range of dates.
 GetEventsRS GetEventsByCity(GetEventsByCityRQ rq)
          method to retrive the events associated to a city inside a range of dates.
 GetGeographicalMapRS getGeographicalMap(GetGeographicalMapRQ rq)
          method to retrieve the geografical tree.
 GetOffersRS GetOffers(GetOffersRQ rq)
          method to retrive the offers contained in a offers board
 GetProductRS getProduct(GetProductRQ rq)
          method to get the product tree associated to a particular service.
 GetSectionsRS getSections(GetSectionsRQ rq)
           
 GetServicesRS getServices(GetServicesRQ rq)
          method to retrive the list of available services.
 GetVehiclesRS getVehiclesTypes(GetVehiclesRQ rq)
           
 PingRS ping(PingRQ rq)
          method to test your agency status (enabled or disabled) and to easilly test that the system is working.
 long pingDispo(AvailableHotelsCompatibilityQueryRQ rq)
           
 

Method Detail

getGeographicalMap

GetGeographicalMapRS getGeographicalMap(GetGeographicalMapRQ rq)
                                        throws java.rmi.RemoteException
method to retrieve the geografical tree. We mean continent --> country --> state --> city.

Throws:
java.rmi.RemoteException

getCountries

GetCountriesRS getCountries(GetCountriesRQ rq)
                            throws java.rmi.RemoteException
method to retrieve a list with all the countries

Throws:
java.rmi.RemoteException

getCities

GetCitiesRS getCities(GetCitiesRQ rq)
                      throws java.rmi.RemoteException
method to retrieve a list with all the cities

Throws:
java.rmi.RemoteException

getCitiesByArea

GetCitiesRS getCitiesByArea(GetCitiesByAreaRQ rq)
                            throws java.rmi.RemoteException
method to retrieve a list with all the cities of an area

Throws:
java.rmi.RemoteException

getCitiesWithAvailability

GetCitiesWithAvailabilityRS getCitiesWithAvailability(GetCitiesWithAvailabilityRQ rq)
                                                      throws java.rmi.RemoteException
method to retrieve a list with all available cities of a country

Throws:
java.rmi.RemoteException

getAreas

GetAreasRS getAreas(GetAreasRQ rq)
                    throws java.rmi.RemoteException
method to retrieve an areas tree.

Over the geografical tree, we have constructed an areas tree that represent sets of cities, states.

Throws:
java.rmi.RemoteException

getAirports

GetAirportsRS getAirports(GetAirportsRQ rq)
                          throws java.rmi.RemoteException
method to retrieve airports and the resorts / zones that you can access from that airport.
You will need this when dealing with transfers

Throws:
java.rmi.RemoteException

getAirportTypes

GetAirportTypesRS getAirportTypes(GetAirportTypesRQ rq)
                                  throws java.rmi.RemoteException
method to retrieve airport types.
You will need this when dealing with transfers

Throws:
java.rmi.RemoteException

GetEventsByArea

GetEventsRS GetEventsByArea(GetEventsByAreaRQ rq)
                            throws java.rmi.RemoteException
method to retrive the events associated to an area inside a range of dates. Usually here we put special events that can affect your booking, e.g. a Rolling Stones concert can notice you that you will be in trouble to find a good allotment, etc

Throws:
java.rmi.RemoteException

GetEventsByCity

GetEventsRS GetEventsByCity(GetEventsByCityRQ rq)
                            throws java.rmi.RemoteException
method to retrive the events associated to a city inside a range of dates. Usually here we put special events that can affect your booking, e.g. a Rolling Stones concert can notice you that you will be in trouble to find a good allotment, etc

Throws:
java.rmi.RemoteException

ping

PingRS ping(PingRQ rq)
            throws java.rmi.RemoteException
method to test your agency status (enabled or disabled) and to easilly test that the system is working.
Just like a Hello world!

Throws:
java.rmi.RemoteException

pingDispo

long pingDispo(AvailableHotelsCompatibilityQueryRQ rq)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getProduct

GetProductRS getProduct(GetProductRQ rq)
                        throws java.rmi.RemoteException
method to get the product tree associated to a particular service. To make your selection easier, we have divided our product in sets.

Throws:
java.rmi.RemoteException

getServices

GetServicesRS getServices(GetServicesRQ rq)
                          throws java.rmi.RemoteException
method to retrive the list of available services. E.g. hotel, rentacar, transfer and excursions

Throws:
java.rmi.RemoteException

GetOffers

GetOffersRS GetOffers(GetOffersRQ rq)
                      throws java.rmi.RemoteException
method to retrive the offers contained in a offers board

Throws:
java.rmi.RemoteException

getVehiclesTypes

GetVehiclesRS getVehiclesTypes(GetVehiclesRQ rq)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSections

GetSectionsRS getSections(GetSectionsRQ rq)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAreasV12

GetAreasRSV12 getAreasV12(GetAreasRQV12 rq)
                          throws java.rmi.RemoteException
method to retrieve an areas tree and the sections if they have.

Over the geografical tree, we have constructed an areas tree that represent sets of cities, states.

Throws:
java.rmi.RemoteException