org.broadleafcommerce.core.search.domain
Class ProductSearchResult

java.lang.Object
  extended by org.broadleafcommerce.core.search.domain.ProductSearchResult

public class ProductSearchResult
extends Object

Container that holds the result of a ProductSearch

Author:
Andre Azzolini (apazzolini)

Field Summary
protected  List<SearchFacetDTO> facets
           
protected  Integer page
           
protected  Integer pageSize
           
protected  List<Product> products
           
protected  Integer totalResults
           
 
Constructor Summary
ProductSearchResult()
           
 
Method Summary
 Integer getEndResult()
           
 List<SearchFacetDTO> getFacets()
           
 Integer getPage()
           
 Integer getPageSize()
           
 List<Product> getProducts()
           
 Integer getStartResult()
           
 Integer getTotalPages()
           
 Integer getTotalResults()
           
 void setFacets(List<SearchFacetDTO> facets)
           
 void setPage(Integer page)
           
 void setPageSize(Integer pageSize)
           
 void setProducts(List<Product> products)
           
 void setTotalResults(Integer totalResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

products

protected List<Product> products

facets

protected List<SearchFacetDTO> facets

totalResults

protected Integer totalResults

page

protected Integer page

pageSize

protected Integer pageSize
Constructor Detail

ProductSearchResult

public ProductSearchResult()
Method Detail

getProducts

public List<Product> getProducts()

setProducts

public void setProducts(List<Product> products)

getFacets

public List<SearchFacetDTO> getFacets()

setFacets

public void setFacets(List<SearchFacetDTO> facets)

getTotalResults

public Integer getTotalResults()

setTotalResults

public void setTotalResults(Integer totalResults)

getPage

public Integer getPage()

setPage

public void setPage(Integer page)

getPageSize

public Integer getPageSize()

setPageSize

public void setPageSize(Integer pageSize)

getStartResult

public Integer getStartResult()

getEndResult

public Integer getEndResult()

getTotalPages

public Integer getTotalPages()


Copyright © 2012. All Rights Reserved.