com.elasticpath.sfweb.viewbean
Interface CatalogViewResultBean

All Superinterfaces:
EpViewBean, java.io.Serializable
All Known Implementing Classes:
CatalogViewResultBeanImpl

public interface CatalogViewResultBean
extends EpViewBean

Represents a bean for catalog view.


Method Summary
 CatalogViewResultHistory getCatalogViewResultHistory()
          Returns the catalog view result history.
 CatalogViewResult getCurrentCatalogViewResult()
          Returns the current catalog view result.
 int getCurrentPageNumber()
          Returns the current page number.
 SearchResult getCurrentSearchResult()
          Returns the current search result.
 java.util.List getProducts(int pageNumber)
          Returns products at the page of the given page number.
 int getTotalPageNumber()
          Returns the total page number.
 void setCatalogViewResultHistory(CatalogViewResultHistory catalogViewResults)
          Sets the catalog view result history.
 void setCurrentCatalogViewResult(CatalogViewResult catalogViewResult)
          Sets the current catalog view result.
 void setCurrentPageNumber(int pageNumber)
          Sets the current page number.
 
Methods inherited from interface com.elasticpath.sfweb.viewbean.EpViewBean
getElasticPath
 

Method Detail

getCatalogViewResultHistory

CatalogViewResultHistory getCatalogViewResultHistory()
Returns the catalog view result history.

Returns:
the catalog view result history

getCurrentCatalogViewResult

CatalogViewResult getCurrentCatalogViewResult()
Returns the current catalog view result.

Returns:
the current catalog view result

getCurrentPageNumber

int getCurrentPageNumber()
Returns the current page number.

Returns:
the current page number

getCurrentSearchResult

SearchResult getCurrentSearchResult()
Returns the current search result.

Returns:
the current search result

getProducts

java.util.List getProducts(int pageNumber)
Returns products at the page of the given page number.

Parameters:
pageNumber - the page number
Returns:
products at the page of the given page number

getTotalPageNumber

int getTotalPageNumber()
Returns the total page number.

Returns:
the total page number

setCatalogViewResultHistory

void setCatalogViewResultHistory(CatalogViewResultHistory catalogViewResults)
Sets the catalog view result history.

Parameters:
catalogViewResults - the catalog view result history to set

setCurrentCatalogViewResult

void setCurrentCatalogViewResult(CatalogViewResult catalogViewResult)
Sets the current catalog view result.

Parameters:
catalogViewResult - the current catalog view result

setCurrentPageNumber

void setCurrentPageNumber(int pageNumber)
Sets the current page number.

Parameters:
pageNumber - the current page number