com.xtravelsystem.online.published.V1_0RC1.basket
Class BasketHandlerImpl

java.lang.Object
  extended by com.jumbotours.util.AbstractJWSDPWebService
      extended by com.xtravelsystem.online.published.V1_0RC1.basket.BasketHandlerImpl
All Implemented Interfaces:
BasketHandler, java.rmi.Remote

public class BasketHandlerImpl
extends com.jumbotours.util.AbstractJWSDPWebService
implements BasketHandler

this class handles the shopping basket. Use it to close, cancel and retrive a shopping basket.

Author:
Miguel P�rez aaa

Constructor Summary
BasketHandlerImpl()
           
 
Method Summary
 CancelRS cancel(CancelRQ rq)
          use this method to cancel a whole shopping basket
 CancelServiceRS cancelService(CancelServiceRQ rq)
          use this method to cancel a service inside a shopping basket
 ConfirmRS confirm(ConfirmRQ rq)
          use this method to confirm and close the shopping basket
 ConfirmRS confirmAgencyReference(ConfirmRQAR rq)
          use this method to confirm , close and fix the Agency Reference Code of the shopping basket !
 ConfirmRS confirmExtends(ConfirmRQExtends rq)
          use this method to confirm and close the shopping basket permit modify: userId, titular, sendDocumentationTo, agencyReference and comments.
 GetBasketRS getBasket(GetBasketRQ rq)
          use this method to retrive the shopping basket data
 GetBasketExtendedRS getBasketExtended(GetBasketRQ rq)
          use this method to retrieve the shopping basket data including basket comments and services comments/erratas
 GetBasketExtendedRSV12 getBasketExtendedV2(GetBasketRQ rq)
           
 GetBasketsRS getBaskets(GetBasketsRQ rq)
          use this method to search for your shopping baskets.
 com.jumbotours.logs.AbstractLogger getCancelLogger()
           
 GetDocRS getDoc(GetDocRQ rq)
          use this method to retrieve the documentation related to a basket (proforma, vouchers, etc)
 com.jumbotours.logs.AbstractLogger getLogger()
           
 void setCancelLogger(com.jumbotours.logs.AbstractLogger cancelLogger)
           
 void setLogger(com.jumbotours.logs.AbstractLogger logger)
           
 ValuateCancellationRS valuateCancellation(ValuateCancellationRQ rq)
          use this method to valuate a shopping basket cancellation
 ValuateServiceCancellationRS valuateServiceCancellation(ValuateServiceCancellationRQ rq)
          use this method to valuate a service cancellation
 ValuateServiceCancellationRS valuateServiceCancellation(ValuateServiceCancellationRQ rq, boolean force)
          use this method to valuate a service cancellation
 
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
 

Constructor Detail

BasketHandlerImpl

public BasketHandlerImpl()
Method Detail

confirm

public ConfirmRS confirm(ConfirmRQ rq)
                  throws java.rmi.RemoteException
use this method to confirm and close the shopping basket

Specified by:
confirm in interface BasketHandler
Throws:
java.rmi.RemoteException

confirmAgencyReference

public ConfirmRS confirmAgencyReference(ConfirmRQAR rq)
                                 throws java.rmi.RemoteException
use this method to confirm , close and fix the Agency Reference Code of the shopping basket !WARNING! ONLY AVAIBLE FOR ALPITOUR

Specified by:
confirmAgencyReference in interface BasketHandler
Throws:
java.rmi.RemoteException

getBasket

public GetBasketRS getBasket(GetBasketRQ rq)
                      throws java.rmi.RemoteException
use this method to retrive the shopping basket data

Specified by:
getBasket in interface BasketHandler
Throws:
java.rmi.RemoteException

getBasketExtendedV2

public GetBasketExtendedRSV12 getBasketExtendedV2(GetBasketRQ rq)
                                           throws java.rmi.RemoteException
Specified by:
getBasketExtendedV2 in interface BasketHandler
Throws:
java.rmi.RemoteException

getBasketExtended

public GetBasketExtendedRS getBasketExtended(GetBasketRQ rq)
                                      throws java.rmi.RemoteException
Description copied from interface: BasketHandler
use this method to retrieve the shopping basket data including basket comments and services comments/erratas

Specified by:
getBasketExtended in interface BasketHandler
Throws:
java.rmi.RemoteException

cancel

public CancelRS cancel(CancelRQ rq)
                throws java.rmi.RemoteException
use this method to cancel a whole shopping basket

Specified by:
cancel in interface BasketHandler
Throws:
java.rmi.RemoteException

cancelService

public CancelServiceRS cancelService(CancelServiceRQ rq)
                              throws java.rmi.RemoteException
use this method to cancel a service inside a shopping basket

Specified by:
cancelService in interface BasketHandler
Throws:
java.rmi.RemoteException

valuateCancellation

public ValuateCancellationRS valuateCancellation(ValuateCancellationRQ rq)
                                          throws java.rmi.RemoteException
use this method to valuate a shopping basket cancellation

Specified by:
valuateCancellation in interface BasketHandler
Throws:
java.rmi.RemoteException

valuateServiceCancellation

public ValuateServiceCancellationRS valuateServiceCancellation(ValuateServiceCancellationRQ rq)
                                                        throws java.rmi.RemoteException
Description copied from interface: BasketHandler
use this method to valuate a service cancellation

Specified by:
valuateServiceCancellation in interface BasketHandler
Throws:
java.rmi.RemoteException

valuateServiceCancellation

public ValuateServiceCancellationRS valuateServiceCancellation(ValuateServiceCancellationRQ rq,
                                                               boolean force)
                                                        throws java.rmi.RemoteException
use this method to valuate a service cancellation

Throws:
java.rmi.RemoteException

getBaskets

public GetBasketsRS getBaskets(GetBasketsRQ rq)
                        throws java.rmi.RemoteException
use this method to search for your shopping baskets.
Please note that we will be paged only up to 300 records per page.

Specified by:
getBaskets in interface BasketHandler
Throws:
java.rmi.RemoteException

getDoc

public GetDocRS getDoc(GetDocRQ rq)
                throws java.rmi.RemoteException
Description copied from interface: BasketHandler
use this method to retrieve the documentation related to a basket (proforma, vouchers, etc)

Specified by:
getDoc in interface BasketHandler
Throws:
java.rmi.RemoteException

confirmExtends

public ConfirmRS confirmExtends(ConfirmRQExtends rq)
                         throws java.rmi.RemoteException
Description copied from interface: BasketHandler
use this method to confirm and close the shopping basket permit modify: userId, titular, sendDocumentationTo, agencyReference and comments.

Specified by:
confirmExtends in interface BasketHandler
Throws:
java.rmi.RemoteException

getLogger

public com.jumbotours.logs.AbstractLogger getLogger()

setLogger

public void setLogger(com.jumbotours.logs.AbstractLogger logger)

getCancelLogger

public com.jumbotours.logs.AbstractLogger getCancelLogger()

setCancelLogger

public void setCancelLogger(com.jumbotours.logs.AbstractLogger cancelLogger)