com.konakart.app
Class Products

java.lang.Object
  extended by com.konakart.app.Products
All Implemented Interfaces:
ProductsIf

public class Products
extends java.lang.Object
implements ProductsIf


Constructor Summary
Products()
          Constructor
 
Method Summary
 Category[] getCategoryFacets()
          The result of a product search using SOLR may contain the category facets including the number of products per category.
 KKFacet[] getCustomFacets()
          The result of a product search using SOLR may contain facet information for custom fields.
 Manufacturer[] getManufacturerFacets()
          The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer.
 Product[] getProductArray()
           
 int getTotalNumProducts()
           
 void setCategoryFacets(CategoryIf[] categoryFacets)
          The result of a product search using SOLR may contain the category facets including the number of products per category.
 void setCustomFacets(KKFacetIf[] customFacets)
          The result of a product search using SOLR may contain facet information for custom fields.
 void setManufacturerFacets(ManufacturerIf[] manufacturerFacets)
          The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer.
 void setProductArray(ProductIf[] productArray)
           
 void setTotalNumProducts(int totalNumProducts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Products

public Products()
Constructor

Method Detail

getProductArray

public Product[] getProductArray()
Specified by:
getProductArray in interface ProductsIf
Returns:
Returns the productArray.

setProductArray

public void setProductArray(ProductIf[] productArray)
Specified by:
setProductArray in interface ProductsIf
Parameters:
productArray - The productArray to set.

getTotalNumProducts

public int getTotalNumProducts()
Specified by:
getTotalNumProducts in interface ProductsIf
Returns:
Returns the totalNumProducts.

setTotalNumProducts

public void setTotalNumProducts(int totalNumProducts)
Specified by:
setTotalNumProducts in interface ProductsIf
Parameters:
totalNumProducts - The totalNumProducts to set.

getManufacturerFacets

public Manufacturer[] getManufacturerFacets()
Description copied from interface: ProductsIf
The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer.

Specified by:
getManufacturerFacets in interface ProductsIf
Returns:
the manufacturerFacets

setManufacturerFacets

public void setManufacturerFacets(ManufacturerIf[] manufacturerFacets)
Description copied from interface: ProductsIf
The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer.

Specified by:
setManufacturerFacets in interface ProductsIf
Parameters:
manufacturerFacets - the manufacturerFacets to set

getCategoryFacets

public Category[] getCategoryFacets()
Description copied from interface: ProductsIf
The result of a product search using SOLR may contain the category facets including the number of products per category.

Specified by:
getCategoryFacets in interface ProductsIf
Returns:
the categoryFacets

setCategoryFacets

public void setCategoryFacets(CategoryIf[] categoryFacets)
Description copied from interface: ProductsIf
The result of a product search using SOLR may contain the category facets including the number of products per category.

Specified by:
setCategoryFacets in interface ProductsIf
Parameters:
categoryFacets - the categoryFacets to set

getCustomFacets

public KKFacet[] getCustomFacets()
Description copied from interface: ProductsIf
The result of a product search using SOLR may contain facet information for custom fields.

Specified by:
getCustomFacets in interface ProductsIf
Returns:
the customFacets

setCustomFacets

public void setCustomFacets(KKFacetIf[] customFacets)
Description copied from interface: ProductsIf
The result of a product search using SOLR may contain facet information for custom fields.

Specified by:
setCustomFacets in interface ProductsIf
Parameters:
customFacets - the customFacets to set


Copyright © 2011 DS Data Systems UK Ltd.