com.jgoodies.bookfinder.request
Class AmazonAccessor
java.lang.Object
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
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 |
AmazonAccessor
public AmazonAccessor(MainModel mainModel)
- Constructs the
AmazonAccessor
.
- Parameters:
mainModel
- the model that holds all relevant models
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.