|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.json.app.J_Products
public class J_Products
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.
| Constructor Summary | |
|---|---|
J_Products()
|
|
| Method Summary | |
|---|---|
J_Category[] |
getCategoryFacets()
The result of a product search using SOLR may contain the category facets including the number of products per category. |
J_KKFacet[] |
getCustomFacets()
The result of a product search using SOLR may contain facet information for custom fields. |
J_Manufacturer[] |
getManufacturerFacets()
The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer. |
J_Product[] |
getProductArray()
|
int |
getTotalNumProducts()
|
void |
setCategoryFacets(J_Category[] _categoryFacets)
The result of a product search using SOLR may contain the category facets including the number of products per category. |
void |
setCustomFacets(J_KKFacet[] _customFacets)
The result of a product search using SOLR may contain facet information for custom fields. |
void |
setManufacturerFacets(J_Manufacturer[] _manufacturerFacets)
The result of a product search using SOLR may contain the manufacturer facets including the number of products per manufacturer. |
void |
setProductArray(J_Product[] _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 |
|---|
public J_Products()
| Method Detail |
|---|
public J_Product[] getProductArray()
public void setProductArray(J_Product[] _productArray)
_productArray - The productArray to set.public int getTotalNumProducts()
public void setTotalNumProducts(int _totalNumProducts)
_totalNumProducts - The totalNumProducts to set.public J_Manufacturer[] getManufacturerFacets()
public void setManufacturerFacets(J_Manufacturer[] _manufacturerFacets)
_manufacturerFacets - the manufacturerFacets to setpublic J_Category[] getCategoryFacets()
public void setCategoryFacets(J_Category[] _categoryFacets)
_categoryFacets - the categoryFacets to setpublic J_KKFacet[] getCustomFacets()
public void setCustomFacets(J_KKFacet[] _customFacets)
_customFacets - the customFacets to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||