com.elasticpath.sfweb.viewbean.impl
Class CatalogViewResultBeanImpl

java.lang.Object
  extended by com.elasticpath.sfweb.viewbean.impl.EpViewBeanImpl
      extended by com.elasticpath.sfweb.viewbean.impl.CatalogViewResultBeanImpl
All Implemented Interfaces:
CatalogViewResultBean, EpViewBean, java.io.Serializable

public class CatalogViewResultBeanImpl
extends EpViewBeanImpl
implements CatalogViewResultBean

Represents a bean implementation for catalog view view.

See Also:
Serialized Form

Constructor Summary
CatalogViewResultBeanImpl()
           
 
Method Summary
 CatalogViewResultHistory getCatalogViewResultHistory()
          Returns the catalog view result history.
 CatalogViewResult getCurrentCatalogViewResult()
          Returns the current catalog view result.
 int getCurrentPageNumber()
          Returns the page number.
 SearchResult getCurrentSearchResult()
          Returns the current search result.
 java.util.List getProducts(int inPageNumber)
          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 page number.
 
Methods inherited from class com.elasticpath.sfweb.viewbean.impl.EpViewBeanImpl
getElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.sfweb.viewbean.EpViewBean
getElasticPath
 

Constructor Detail

CatalogViewResultBeanImpl

public CatalogViewResultBeanImpl()
Method Detail

getCatalogViewResultHistory

public CatalogViewResultHistory getCatalogViewResultHistory()
Returns the catalog view result history.

Specified by:
getCatalogViewResultHistory in interface CatalogViewResultBean
Returns:
the catalog view result history

getCurrentCatalogViewResult

public CatalogViewResult getCurrentCatalogViewResult()
Returns the current catalog view result.

Specified by:
getCurrentCatalogViewResult in interface CatalogViewResultBean
Returns:
the current catalog view result

getCurrentPageNumber

public int getCurrentPageNumber()
Returns the page number.

Specified by:
getCurrentPageNumber in interface CatalogViewResultBean
Returns:
the page number

getCurrentSearchResult

public SearchResult getCurrentSearchResult()
Returns the current search result.

Specified by:
getCurrentSearchResult in interface CatalogViewResultBean
Returns:
the current search result

getProducts

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

Specified by:
getProducts in interface CatalogViewResultBean
Parameters:
inPageNumber - the page number
Returns:
products at the page of the given page number

getTotalPageNumber

public int getTotalPageNumber()
Returns the total page number.

Specified by:
getTotalPageNumber in interface CatalogViewResultBean
Returns:
the total page number

setCatalogViewResultHistory

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

Specified by:
setCatalogViewResultHistory in interface CatalogViewResultBean
Parameters:
catalogViewResults - the catalog view result history to set

setCurrentCatalogViewResult

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

Specified by:
setCurrentCatalogViewResult in interface CatalogViewResultBean
Parameters:
catalogViewResult - the current catalog view result

setCurrentPageNumber

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

Specified by:
setCurrentPageNumber in interface CatalogViewResultBean
Parameters:
pageNumber - the page number