Liferay 6.0.5

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  String[] getAuthors(Element itemAttributes)
           
protected  String getAvailability(Element offerListing)
           
protected  String getImageURL(Element item, String name)
           
protected  Element getOfferListing(Element item)
           
protected  double getPrice(Element price)
           
 long getRefreshTime()
           
protected  Date getReleaseDate(String releaseDateAsString)
           
 
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

getAuthors

protected String[] getAuthors(Element itemAttributes)

getAvailability

protected String getAvailability(Element offerListing)

getImageURL

protected String getImageURL(Element item,
                             String name)

getOfferListing

protected Element getOfferListing(Element item)

getPrice

protected double getPrice(Element price)

getReleaseDate

protected Date getReleaseDate(String releaseDateAsString)

Liferay 6.0.5