de.orangecafe.amazonrcp.service.impl
Class AmazonWebServiceImpl

java.lang.Object
  extended by de.orangecafe.amazonrcp.service.impl.AmazonWebServiceImpl
All Implemented Interfaces:
IAmazonService, org.springframework.context.ApplicationContextAware

public class AmazonWebServiceImpl
extends java.lang.Object
implements IAmazonService, org.springframework.context.ApplicationContextAware

Author:
Torsten Strasser

Constructor Summary
AmazonWebServiceImpl()
           
 
Method Summary
 void addToCart(java.lang.String cartId, java.lang.String hmac, java.util.List<Item> items)
           
 void clearCart(java.lang.String cartId, java.lang.String hmac)
           
 Cart createCart()
           
 Cart getCart(java.lang.String cartId, java.lang.String hmac)
           
 Cart modifyCart(Cart cart)
           
 Items search(ItemSearchRequest itemSearchRequest)
           
 void setApplicationContext(org.springframework.context.ApplicationContext context)
           
 void setService(org.springframework.ws.client.core.WebServiceTemplate service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmazonWebServiceImpl

public AmazonWebServiceImpl()
Method Detail

setService

public void setService(org.springframework.ws.client.core.WebServiceTemplate service)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext context)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware

search

public Items search(ItemSearchRequest itemSearchRequest)
             throws ServiceException
Specified by:
search in interface IAmazonService
Throws:
ServiceException

createCart

public Cart createCart()
                throws ServiceException
Specified by:
createCart in interface IAmazonService
Throws:
ServiceException

getCart

public Cart getCart(java.lang.String cartId,
                    java.lang.String hmac)
             throws ServiceException
Specified by:
getCart in interface IAmazonService
Throws:
ServiceException

modifyCart

public Cart modifyCart(Cart cart)
                throws ServiceException
Specified by:
modifyCart in interface IAmazonService
Throws:
ServiceException

addToCart

public void addToCart(java.lang.String cartId,
                      java.lang.String hmac,
                      java.util.List<Item> items)
               throws ServiceException
Specified by:
addToCart in interface IAmazonService
Throws:
ServiceException

clearCart

public void clearCart(java.lang.String cartId,
                      java.lang.String hmac)
               throws ServiceException
Specified by:
clearCart in interface IAmazonService
Throws:
ServiceException


Copyright © 2007 orange-cafe.de. All Rights Reserved.