com.melloware.jukes.ws
Class AmazonSearch

java.lang.Object
  extended by com.melloware.jukes.ws.AmazonSearch

public final class AmazonSearch
extends java.lang.Object

Static methods for performing web services calls to the Amazon E-Commerce Web Services application.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Field Summary
static java.lang.String SORT_ARTIST
           
static java.lang.String SORT_DATE
           
static java.lang.String SORT_TITLE
           
 
Method Summary
static java.util.Collection findItemsByArtist(java.lang.String aArtistName)
          Finds a collection of Amazon products by Artist Name.
static java.util.Collection findItemsByArtistDisc(java.lang.String aArtistName, java.lang.String aDiscTitle)
          Finds a collection of Amazon products by artist and disc name.
static java.util.Collection findItemsByArtistDiscSort(java.lang.String aArtistName, java.lang.String aDiscTitle, java.lang.String aSort)
          Finds a collection of Amazon products by artist and disc name.
static java.util.Collection findItemsByDisc(java.lang.String aDiscTitle)
          Finds a collection of Amazon products by Disc Name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SORT_TITLE

public static final java.lang.String SORT_TITLE
See Also:
Constant Field Values

SORT_ARTIST

public static final java.lang.String SORT_ARTIST
See Also:
Constant Field Values

SORT_DATE

public static final java.lang.String SORT_DATE
See Also:
Constant Field Values
Method Detail

findItemsByDisc

public static java.util.Collection findItemsByDisc(java.lang.String aDiscTitle)
                                            throws WebServiceException
Finds a collection of Amazon products by Disc Name.

Parameters:
aDiscTitle - the name of the disc to search for
Returns:
a collection of AmazonItems matching the search criteria
Throws:
WebServiceException - if any error occurs querying the SOAP service

findItemsByArtist

public static java.util.Collection findItemsByArtist(java.lang.String aArtistName)
                                              throws WebServiceException
Finds a collection of Amazon products by Artist Name.

Parameters:
aArtistName - the name of the artist to search for
Returns:
a collection of AmazonItems matching the search criteria
Throws:
WebServiceException - if any error occurs querying the SOAP service

findItemsByArtistDisc

public static java.util.Collection findItemsByArtistDisc(java.lang.String aArtistName,
                                                         java.lang.String aDiscTitle)
                                                  throws WebServiceException
Finds a collection of Amazon products by artist and disc name.

Parameters:
aArtistName - the name of the artist to search for
aDiscTitle - the name of the disc to search for
Returns:
a collection of AmazonItems matching the search criteria
Throws:
WebServiceException - if any error occurs querying the SOAP service

findItemsByArtistDiscSort

public static java.util.Collection findItemsByArtistDiscSort(java.lang.String aArtistName,
                                                             java.lang.String aDiscTitle,
                                                             java.lang.String aSort)
                                                      throws WebServiceException
Finds a collection of Amazon products by artist and disc name.

Parameters:
aArtistName - the name of the artist to search for
aDiscTitle - the name of the disc to search for
aSort - what field to sort by
Returns:
a collection of AmazonItems matching the search criteria
Throws:
WebServiceException - if any error occurs querying the SOAP service


Copyright © 1999-2008 Melloware Inc. All Rights Reserved.