org.paneris.bibliomania.metasearch.bol
Class Backend

java.lang.Object
  extended by org.paneris.bibliomania.metasearch.BOLAndBOBBackendBase
      extended by org.paneris.bibliomania.metasearch.bol.Backend
All Implemented Interfaces:
BookshopBackend

public class Backend
extends BOLAndBOBBackendBase


Field Summary
 
Fields inherited from class org.paneris.bibliomania.metasearch.BOLAndBOBBackendBase
isbnAndImageOfPrdid, thumbnailURLPrefix
 
Constructor Summary
Backend(java.io.File dbHome, int isbnOfPrdidCacheSize)
           
 
Method Summary
protected  BookPageBase bookPage(byte[] text)
           
 java.util.Enumeration booksMatching(BookStockingFactory stockings, java.lang.String title, java.lang.String author, java.lang.String publisher, java.lang.String keyword, org.melati.poem.transaction.ToTidyList toTidy)
           
 java.lang.String notifiedOfferedLinkHTML(BookStocking stocking)
           
 java.lang.String notifyOfferedLinkHTML(java.lang.String prdId)
           
 byte[] productPage_nonaffil(BookStocking stocking)
           
 java.lang.String productURL_nonaffil(BookStocking stocking)
           
 java.lang.String productURL(BookStocking stocking)
           
 java.lang.String productURL(java.lang.String prdId)
           
 java.lang.String searchURL(java.lang.String title, java.lang.String author, java.lang.String publisher, java.lang.String keyword)
           
 java.lang.String thumbnailURL(java.lang.String isbn)
          Doesn't work with prdid
 
Methods inherited from class org.paneris.bibliomania.metasearch.BOLAndBOBBackendBase
resolve, retrievedISBNAndImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Backend

public Backend(java.io.File dbHome,
               int isbnOfPrdidCacheSize)
        throws java.io.FileNotFoundException,
               com.sleepycat.db.DatabaseException
Throws:
java.io.FileNotFoundException
com.sleepycat.db.DatabaseException
Method Detail

productURL_nonaffil

public java.lang.String productURL_nonaffil(BookStocking stocking)

productPage_nonaffil

public byte[] productPage_nonaffil(BookStocking stocking)
                            throws java.io.IOException
Specified by:
productPage_nonaffil in class BOLAndBOBBackendBase
Throws:
java.io.IOException

bookPage

protected BookPageBase bookPage(byte[] text)
Specified by:
bookPage in class BOLAndBOBBackendBase

notifyOfferedLinkHTML

public java.lang.String notifyOfferedLinkHTML(java.lang.String prdId)

productURL

public java.lang.String productURL(java.lang.String prdId)

productURL

public java.lang.String productURL(BookStocking stocking)

notifiedOfferedLinkHTML

public java.lang.String notifiedOfferedLinkHTML(BookStocking stocking)

thumbnailURL

public java.lang.String thumbnailURL(java.lang.String isbn)
Doesn't work with prdid


searchURL

public java.lang.String searchURL(java.lang.String title,
                                  java.lang.String author,
                                  java.lang.String publisher,
                                  java.lang.String keyword)

booksMatching

public java.util.Enumeration booksMatching(BookStockingFactory stockings,
                                           java.lang.String title,
                                           java.lang.String author,
                                           java.lang.String publisher,
                                           java.lang.String keyword,
                                           org.melati.poem.transaction.ToTidyList toTidy)
                                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2000-2009 PanEris. All Rights Reserved.