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
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)