com.konakart.appif
Interface ProductsIf

All Known Implementing Classes:
Products

public interface ProductsIf

This is normally the object returned for API calls returning an array of Products. It contains an array of products and the total number of products matching the request, so that they can be paged. It may also contain the category and manufacturer facets for the search, when SOLR is used.


Method Summary
 CategoryIf[] getCategoryFacets()
          The result of a product search using SOLR may contain the category facets including the number of products per category.
 KKFacetIf[] getCustomFacets()
          The result of a product search using SOLR may contain facet information for custom fields.
 ManufacturerIf[] getManufacturerFacets()
          The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer.
 ProductIf[] 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)
           
 

Method Detail

getProductArray

ProductIf[] getProductArray()
Returns:
Returns the productArray.

setProductArray

void setProductArray(ProductIf[] productArray)
Parameters:
productArray - The productArray to set.

getTotalNumProducts

int getTotalNumProducts()
Returns:
Returns the totalNumProducts.

setTotalNumProducts

void setTotalNumProducts(int totalNumProducts)
Parameters:
totalNumProducts - The totalNumProducts to set.

getManufacturerFacets

ManufacturerIf[] getManufacturerFacets()
The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer.

Returns:
the manufacturerFacets

setManufacturerFacets

void setManufacturerFacets(ManufacturerIf[] manufacturerFacets)
The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer.

Parameters:
manufacturerFacets - the manufacturerFacets to set

getCategoryFacets

CategoryIf[] getCategoryFacets()
The result of a product search using SOLR may contain the category facets including the number of products per category.

Returns:
the categoryFacets

setCategoryFacets

void setCategoryFacets(CategoryIf[] categoryFacets)
The result of a product search using SOLR may contain the category facets including the number of products per category.

Parameters:
categoryFacets - the categoryFacets to set

getCustomFacets

KKFacetIf[] getCustomFacets()
The result of a product search using SOLR may contain facet information for custom fields.

Returns:
the customFacets

setCustomFacets

void setCustomFacets(KKFacetIf[] customFacets)
The result of a product search using SOLR may contain facet information for custom fields.

Parameters:
customFacets - the customFacets to set


Copyright © 2011 DS Data Systems UK Ltd.