|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewHistoryProduct
This class represents a product recently viewed by a user.
Method Summary | |
---|---|
Brand |
getBrand()
Gets the brand for the viewed product. |
java.lang.String |
getImage()
Gets the image for the viewed product. |
java.util.Map |
getLdfMap()
Gets the ldf for the viewed product. |
java.lang.String |
getSeoUrl(java.util.Locale locale)
Returns the SEO url for the viewed product. |
long |
getUidPk()
Gets the uidPk for the viewed product. |
void |
loadProductInfo(Product product)
Loads product information from the real Product into
this representation of a viewed product. |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
Brand getBrand()
brand
the brand of the viewed product.java.lang.String getImage()
String
the image of the viewed product.java.util.Map getLdfMap()
Map
of Locale
to LocaleDependantFields
java.lang.String getSeoUrl(java.util.Locale locale)
locale
- the locale of the SEO URL to be returned
long getUidPk()
long
the uidPk of the viewed product.void loadProductInfo(Product product)
Product
into
this representation of a viewed product. To keep this object light-weight,
no reference to the product
is kept.
product
- the Product
whose information is to be loaded
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |