com.jgoodies.bookfinder.request
Class AmazonAccessor

java.lang.Object
  extended by com.jgoodies.bookfinder.request.AmazonAccessor

public final class AmazonAccessor
extends Object

An accessor to the Amazon.com web services that caches results and performs multiple asynchron queries.

Version:
$Revision: 1.8 $
Author:
Karsten Lentzsch

Constructor Summary
AmazonAccessor(MainModel mainModel)
          Constructs the AmazonAccessor.
 
Method Summary
 void find(XMLQuery query)
          Fetches the result for the specified query and sets the result and/or error messages via the controller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmazonAccessor

public AmazonAccessor(MainModel mainModel)
Constructs the AmazonAccessor.

Parameters:
mainModel - the model that holds all relevant models
Method Detail

find

public void find(XMLQuery query)
Fetches the result for the specified query and sets the result and/or error messages via the controller. Firstly, checks if there's a valid result entry in the cache associated with the query.



Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.