com.liferay.portlet.amazonrankings.util
Class AmazonRankingsWebCacheItem
java.lang.Object
com.liferay.portlet.amazonrankings.util.AmazonRankingsWebCacheItem
- All Implemented Interfaces:
- WebCacheItem, Serializable
public class AmazonRankingsWebCacheItem
- extends Object
- implements WebCacheItem
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmazonRankingsWebCacheItem
public AmazonRankingsWebCacheItem(String isbn)
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)