Liferay 6.1.2-ce-ga3

com.liferay.portlet.amazonrankings.util
Class AmazonRankingsWebCacheItem

java.lang.Object
  extended by com.liferay.portlet.amazonrankings.util.AmazonRankingsWebCacheItem
All Implemented Interfaces:
WebCacheItem, Serializable

public class AmazonRankingsWebCacheItem
extends Object
implements WebCacheItem

See Also:
Serialized Form

Constructor Summary
AmazonRankingsWebCacheItem(String isbn)
           
 
Method Summary
 Object convert(String key)
           
protected  AmazonRankings doConvert(String key)
           
protected  String[] getAuthors(Element itemAttributesElement)
           
protected  String getAvailability(Element offerListingElement)
           
protected  String getImageURL(Element itemElement, String name)
           
protected  Element getOfferListing(Element itemElement)
           
protected  double getPrice(Element priceElement)
           
 long getRefreshTime()
           
protected  Date getReleaseDate(String releaseDateAsString)
           
protected  boolean hasErrorMessage(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmazonRankingsWebCacheItem

public AmazonRankingsWebCacheItem(String isbn)
Method Detail

convert

public Object convert(String key)
Specified by:
convert in interface WebCacheItem

getRefreshTime

public long getRefreshTime()
Specified by:
getRefreshTime in interface WebCacheItem

doConvert

protected AmazonRankings doConvert(String key)
                            throws Exception
Throws:
Exception

getAuthors

protected String[] getAuthors(Element itemAttributesElement)

getAvailability

protected String getAvailability(Element offerListingElement)

getImageURL

protected String getImageURL(Element itemElement,
                             String name)

getOfferListing

protected Element getOfferListing(Element itemElement)

getPrice

protected double getPrice(Element priceElement)

getReleaseDate

protected Date getReleaseDate(String releaseDateAsString)

hasErrorMessage

protected boolean hasErrorMessage(Element element)

Liferay 6.1.2-ce-ga3