|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewHistory
This class represents a collection of products viewed by a user.
Method Summary | |
---|---|
void |
addProduct(Product product)
Adds a product to the viewHistory. |
ViewHistoryProduct |
getLastViewedHistoryProduct()
Get the most recently viewed product. |
java.util.List |
getViewedProducts()
Get a list of the most recently viewed products in the view history. |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
void addProduct(Product product)
product
- the Product
to be addedViewHistoryProduct getLastViewedHistoryProduct()
ViewHistoryProduct
representing the most recently viewed productjava.util.List getViewedProducts()
List
of ViewHistoryProduct
s
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |