public class ProductMgr extends BaseMgr
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
navBack
Used for navigating product sets.
|
static java.lang.String |
navNext
Used for navigating product sets.
|
static java.lang.String |
navStart
Used for navigating product sets.
|
Modifier | Constructor and Description |
---|---|
protected |
ProductMgr(com.konakart.appif.KKEngIf eng,
KKAppEng kkAppEng)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fetchAlsoPurchasedArray()
Populates the alsoPurchasedArray array.
|
void |
fetchAlsoPurchasedArray(boolean fillDescription)
Populates the alsoPurchasedArray array.
|
void |
fetchCustomProducts1Array(com.konakart.appif.ProductSearchIf _prodSearch,
com.konakart.appif.DataDescriptorIf _dataDesc)
You can supply your own ProductSearch and DataDescriptor objects to return a custom array of
objects that will be stored in the session.
|
void |
fetchCustomProducts2Array(com.konakart.appif.ProductSearchIf _prodSearch,
com.konakart.appif.DataDescriptorIf _dataDesc)
You can supply your own ProductSearch and DataDescriptor objects to return a custom array of
objects that will be stored in the session.
|
void |
fetchCustomProducts3Array(com.konakart.appif.ProductSearchIf _prodSearch,
com.konakart.appif.DataDescriptorIf _dataDesc)
You can supply your own ProductSearch and DataDescriptor objects to return a custom array of
objects that will be stored in the session.
|
com.konakart.appif.DigitalDownloadIf[] |
fetchDigitalDownloads()
The method is called to get the digital downloads from the DB for this user.
|
int |
fetchManufacturersPerCategory(int catId)
The method is called to retrieve a list of manufacturers that may be used to filter the
result set.
|
com.konakart.appif.ProductIf[] |
fetchNewProductsArray(int categoryId,
boolean fillDescription,
boolean forceRefresh)
Get the latest products added to the catalog for the category whose id is passed in as a
parameter.
|
com.konakart.appif.ProductsIf |
fetchProducts(com.konakart.appif.DataDescriptorIf dd,
com.konakart.appif.ProductSearchIf ps)
Retrieves the products that match the criteria in a ProductSearch object and puts them in the
currentProducts array. |
com.konakart.appif.ProductsIf |
fetchProducts(com.konakart.appif.DataDescriptorIf dd,
com.konakart.appif.ProductSearchIf ps,
ProductFetch options,
java.util.List<com.konakart.appif.CategoryIf> catMenu)
Retrieves the products that match the criteria in a ProductSearch object and puts them in the
currentProducts array. |
com.konakart.appif.ProductIf[] |
fetchRecentlyViewedProductsArray(boolean fillDescription)
This method only returns valid data when customer tags are active.
|
void |
fetchRelatedProducts()
Fetches the related products from the DB.
|
void |
fetchRelatedProducts(boolean fillDescription)
Fetches the related products from the DB.
|
void |
fetchSelectedProduct(int prodId)
This method is called when a user selects a product in order to retrieve more details for
that product.
|
com.konakart.appif.ProductIf[] |
fetchSpecialsArray(int categoryId,
boolean searchInSubCats,
boolean fillDescription,
boolean forceRefresh)
Get the on-sale products added to the catalog for the category whose id is passed in as a
parameter.
|
int |
fetchTagGroupsPerCategory(int catId)
The method is called to populate the
currentTagGroups array. |
com.konakart.appif.ProductsIf |
filterProducts(ProductFilter filter,
long timestamp)
Method used to filter an existing product result set.
|
com.konakart.appif.ProductIf[] |
getAccessories()
Returns the accessories.
|
com.konakart.appif.ManufacturerIf[] |
getAllManuArray()
Returns an array containing all of the manufacturers.
|
DropListElement[] |
getAllManuDropList()
Returns the static list of all manufacturers
|
com.konakart.appif.PromotionIf[] |
getAllPromotions()
Returns an array of active promotions from the cache
|
com.konakart.appif.ProductIf[] |
getAllRelatedProducts() |
com.konakart.appif.ProductIf[] |
getAlsoPurchased()
Returns the alsoPurchased array of products.
|
com.konakart.appif.ProductIf[] |
getBundledProducts()
Returns the bundledProducts.
|
com.konakart.appif.ProductIf[] |
getCrossSellProducts()
Returns the crossSellProducts.
|
com.konakart.appif.CategoryIf[] |
getCurrentCategories()
Returns the currentCategories.
|
int |
getCurrentCategoriesLength()
Returns the length of the currentCategories array
|
com.konakart.appif.ManufacturerIf[] |
getCurrentManufacturers()
Returns the currentManufacturers.
|
int |
getCurrentManufacturersLength()
Returns the length of the currentManufacturers array
|
int |
getCurrentOffset()
The current offset in the list of products.
|
int |
getCurrentPage() |
com.konakart.appif.ProductIf[] |
getCurrentProducts()
Returns the currentProducts.
|
com.konakart.appif.TagGroupIf[] |
getCurrentTagGroups()
If there are any tag groups associated with the current category, the tags will be displayed
on the UI to allow the customer to refine his product search.
|
com.konakart.appif.ProductIf[] |
getCustomProducts1() |
com.konakart.appif.ProductIf[] |
getCustomProducts2() |
com.konakart.appif.ProductIf[] |
getCustomProducts3() |
com.konakart.appif.DataDescriptorIf |
getDataDesc()
Returns the current data descriptor object.
|
java.lang.String |
getDefaultOrderBy()
Used to set the default OrderBy used by many of the API calls to fetch products.
|
com.konakart.appif.ProductIf[] |
getDependentProducts()
Returns the dependentProducts.
|
com.konakart.appif.DigitalDownloadIf[] |
getDigitalDownloads()
Returns the digitalDownloads.
|
int |
getMaxDisplaySearchResults()
Used to get the maximum number of search results to display.
|
java.math.BigDecimal |
getMaxPrice() |
int |
getMaxRows()
Maximum number of products to show in a list.
|
java.math.BigDecimal |
getMinPrice() |
com.konakart.appif.ProductIf[] |
getNewProducts()
Returns an array of products containing the new products.
|
int |
getNumberOfProducts()
Returns the number of products in the currentProducts array.
|
int |
getNumPages()
Number of pages within a result set
|
int |
getNumSelectedFilters() |
java.util.ArrayList<java.lang.Integer> |
getPageList() |
com.konakart.appif.KKPriceFacetIf[] |
getPriceFacets() |
com.konakart.appif.ProductSearchIf |
getProdSearch()
Returns the current ProductSearch object.
|
long |
getProdTimestamp()
A timestamp for when the last product search was done.
|
java.util.Map<java.lang.Integer,com.konakart.appif.PromotionIf> |
getPromotionMap()
Returns a Hash Map containing the active promotions
|
com.konakart.appif.CategoryIf |
getSelectedCategory()
Returns the selectedCategory.
|
com.konakart.appif.ManufacturerIf |
getSelectedManufacturer()
Returns the selectedManufacturer.
|
com.konakart.appif.ProductIf |
getSelectedProduct()
Returns the selectedProduct.
|
com.konakart.appif.CategoryIf |
getSelectedProductCategory() |
java.util.List<ProdOptionContainer> |
getSelectedProductOptions()
Returns the selectedProductOptions.
|
int |
getShowBack()
Show the back button if set to 1.
|
int |
getShowNext()
Show the next button if set to 1.
|
com.konakart.appif.ProductIf[] |
getSpecials() |
com.konakart.appif.SuggestedSpellingItemIf[] |
getSuggestedSpellingItems(java.lang.String searchText)
An array of SuggestedSpellingItems is returned for search text.
|
com.konakart.appif.SuggestedSpellingItemIf[] |
getSuggestedSpellings() |
java.lang.String |
getSuggestedSpellingSearch() |
com.konakart.appif.TagGroupIf[] |
getTagGroupFilter()
Get an array of TagGroups with the tags to filter by.
|
java.math.BigDecimal |
getTaxMultiplier() |
int |
getTotalNumberOfProducts()
Returns the totalNumberOfProducts which was set as a result of a search.
|
com.konakart.appif.ProductIf[] |
getUpSellProducts()
Returns the upSellProducts.
|
com.konakart.appif.ProductIf[] |
getViewedProducts() |
boolean |
isCurrentProductANotification()
If a customer is logged in, it returns true if he is already being notified about the
selected product.
|
boolean |
isExpiredResultSet() |
boolean |
isMgrReady()
Is the Manager Ready?
|
boolean |
isNoStockAllowCheckout()
Determine whether to allow a customer to checkout if product isn't in stock.
|
boolean |
isPriceFilter() |
boolean |
isStockCheck()
Determine whether to check to see if product is in stock
|
com.konakart.appif.ProductsIf |
navigateCurrentProducts(java.lang.String navDir,
long timestamp)
This method is called to navigate through a list of products when the list is longer than
maxRows.
|
com.konakart.appif.ProductsIf |
orderCurrentProds(java.lang.String orderBy,
long timestamp)
This method is called to change the order of a list of products in the currentProducts array.
|
void |
refreshCaches()
Refreshes the following;
All manufacturer list
Active promotion list
|
void |
refreshConfigs()
Refresh the configuration variables.
|
void |
reset()
Puts the Product Manager back into it's original state with no products selected
|
void |
saveNavigationForTimestamp()
Called from the JSP to the save the current navigation
|
void |
setAccessories(com.konakart.appif.ProductIf[] accessories)
Sets the accessories array.
|
void |
setAllRelatedProducts(com.konakart.appif.ProductIf[] allRelatedProducts) |
void |
setAlsoPurchased(com.konakart.appif.ProductIf[] alsoPurchased)
Sets the alsoPurchased array of products.
|
void |
setBundledProducts(com.konakart.appif.ProductIf[] bundledProducts)
Sets the bundled products array.
|
void |
setCrossSellProducts(com.konakart.appif.ProductIf[] crossSellProducts)
Sets the crossSellProducts.
|
void |
setCurrentCategories(com.konakart.appif.CategoryIf[] currentCategories)
Sets the currentCategories.
|
void |
setCurrentManufacturers(com.konakart.appif.ManufacturerIf[] currentManufacturers)
Sets the currentManufacturers.
|
void |
setCurrentOffset(int currentOffset)
The current offset in the list of products.
|
void |
setCurrentPage(int currentPage) |
void |
setCurrentProducts(com.konakart.appif.ProductIf[] currentProducts)
Allows you to set the currentProducts array.
|
void |
setCurrentTagGroups(com.konakart.appif.TagGroupIf[] currentTagGroups)
If there are any tag groups associated with the current category, the tags will be displayed
on the UI to allow the customer to refine his product search.
|
void |
setCustomProducts1(com.konakart.appif.ProductIf[] customProducts1) |
void |
setCustomProducts2(com.konakart.appif.ProductIf[] customProducts2) |
void |
setCustomProducts3(com.konakart.appif.ProductIf[] customProducts3) |
void |
setDataDesc(com.konakart.appif.DataDescriptorIf dataDesc)
Sets the current data descriptor object.
|
void |
setDefaultOrderBy(java.lang.String defaultOrderBy)
Used to set the default OrderBy used by many of the API calls to fetch products.
|
void |
setDependentProducts(com.konakart.appif.ProductIf[] dependentProducts)
Sets the dependentProducts array.
|
void |
setDigitalDownloads(com.konakart.appif.DigitalDownloadIf[] digitalDownloads) |
void |
setExpiredResultSet(boolean expiredResultSet) |
void |
setMaxDisplaySearchResults(int num)
Used to set a user defined maximum number of search results displayed.
|
void |
setMaxPrice(java.math.BigDecimal maxPrice) |
void |
setMinPrice(java.math.BigDecimal minPrice) |
void |
setNewProducts(com.konakart.appif.ProductIf[] newProducts)
Allows you to set the newProducts array
|
void |
setNumPages(int numPages)
Number of pages within a result set
|
void |
setNumSelectedFilters(int numSelectedFilters) |
void |
setPageList(java.util.ArrayList<java.lang.Integer> pageList) |
void |
setPriceFacets(com.konakart.appif.KKPriceFacetIf[] priceFacets) |
void |
setPriceFilter(boolean priceFilter) |
void |
setProdSearch(com.konakart.appif.ProductSearchIf prodSearch)
Sets the current ProductSearch object.
|
void |
setProdTimestamp(long prodTimestamp)
A timestamp for when the last product search was done.
|
void |
setSelectedCategory(com.konakart.appif.CategoryIf selectedCategory)
Sets the selectedCategory.
|
void |
setSelectedManufacturer(com.konakart.appif.ManufacturerIf selectedManufacturer)
Sets the selectedManufacturer.
|
void |
setSelectedProduct(com.konakart.appif.ProductIf selectedProduct)
Sets the selectedProduct.
|
void |
setSelectedProductCategory(com.konakart.appif.CategoryIf selectedProductCategory) |
void |
setSelectedProductOptions(java.util.List<ProdOptionContainer> selectedProductOptions)
Sets the selectedProductOptions.
|
void |
setShowBack(int showBack)
Show the back button if set to 1.
|
void |
setShowNext(int showNext)
Show the next button if set to 1.
|
void |
setSpecials(com.konakart.appif.ProductIf[] specials) |
void |
setSuggestedSpellings(com.konakart.appif.SuggestedSpellingItemIf[] suggestedSpellings) |
void |
setSuggestedSpellingSearch(java.lang.String suggestedSpellingSearch) |
void |
setTaxMultiplier(java.math.BigDecimal taxMultiplier) |
void |
setTotalNumberOfProducts(int totalNumberOfProducts)
The totalNumberOfProducts is normally set automatically as a result of a search.
|
void |
setUpSellProducts(com.konakart.appif.ProductIf[] upSellProducts)
Sets the upSellProducts.
|
void |
setViewedProducts(com.konakart.appif.ProductIf[] viewedProducts) |
void |
updateProductViewedCount(int productId)
Update the number of times that the product has been viewed
|
getEng, getKkAppEng, getPages, setEng, setKkAppEng
public static final java.lang.String navNext
navdir
attribute when navigating forwards.public static final java.lang.String navBack
navdir
attribute when navigating backwards.public static final java.lang.String navStart
navdir
attribute when navigating to the start.protected ProductMgr(com.konakart.appif.KKEngIf eng, KKAppEng kkAppEng) throws com.konakart.app.KKException
eng
- the engkkAppEng
- the kkAppEngcom.konakart.app.KKException
- an unexpected KKException exceptionpublic void reset() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic void refreshCaches() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic boolean isMgrReady()
isMgrReady
in class BaseMgr
public com.konakart.appif.ProductsIf fetchProducts(com.konakart.appif.DataDescriptorIf dd, com.konakart.appif.ProductSearchIf ps) throws com.konakart.app.KKException, KKAppException
currentProducts
array. The following attributes of the ProductMgr are set by
this method:
dd
- Used to control the data offset, limit the number of items returned and set the
sort orderps
- Contains information used to search the catalog for a productcom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic com.konakart.appif.ProductsIf fetchProducts(com.konakart.appif.DataDescriptorIf dd, com.konakart.appif.ProductSearchIf ps, ProductFetch options, java.util.List<com.konakart.appif.CategoryIf> catMenu) throws com.konakart.app.KKException, KKAppException
currentProducts
array. After some pre-processing this method calls one of the
following kkEng calls;
dd
- Used to control the data offset, limit the number of items returned and set the
sort orderps
- Contains information used to search the catalog for a productoptions
- Contains options for the method. It may be set to null when the method is used to
fetch a fresh result set of products. The options are:
catMenu
- The category menu passed from the Category managercom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic com.konakart.appif.ProductsIf filterProducts(ProductFilter filter, long timestamp) throws com.konakart.app.KKException, KKAppException
filter
- Object containing the allowed filterstimestamp
- Indicates when the result set was created. If it doesn't match the timestamp of
the current result set, the operation is aborted.com.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic int fetchManufacturersPerCategory(int catId) throws com.konakart.app.KKException
currentManufacturers
is set with the
results.catId
- The id of the selected categorycom.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.ProductsIf orderCurrentProds(java.lang.String orderBy, long timestamp) throws com.konakart.app.KKException, KKAppException
orderBy
- The order by parametertimestamp
- The time stamp when the result set was createdcom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic com.konakart.appif.ProductsIf navigateCurrentProducts(java.lang.String navDir, long timestamp) throws com.konakart.app.KKException, KKAppException
navDir
can take the following values which are retrieved using getter methods on
the ProductMgr instance:
navDir
- The navigation direction.timestamp
- The time stamp when the result set was createdcom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic void fetchSelectedProduct(int prodId) throws com.konakart.app.KKException, KKAppException
prodId
- The id of the productcom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic int getNumberOfProducts()
public void fetchAlsoPurchasedArray() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic void fetchAlsoPurchasedArray(boolean fillDescription) throws com.konakart.app.KKException
fillDescription
- When set to true, the product description is also fetched.com.konakart.app.KKException
- an unexpected KKException exceptionpublic void fetchRelatedProducts() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic void fetchRelatedProducts(boolean fillDescription) throws com.konakart.app.KKException
fillDescription
- When set to true, the product description is also fetched.com.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.ProductIf[] fetchNewProductsArray(int categoryId, boolean fillDescription, boolean forceRefresh) throws com.konakart.app.KKException
categoryId
- The id of the selected categoryfillDescription
- When set to true, the product description is also fetched.forceRefresh
- Will fetch the products even if they are already cachedcom.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.ProductIf[] fetchSpecialsArray(int categoryId, boolean searchInSubCats, boolean fillDescription, boolean forceRefresh) throws com.konakart.app.KKException
categoryId
- The id of the selected categorysearchInSubCats
- When true the sub categories will be searchedfillDescription
- When set to true, the product description is also fetched.forceRefresh
- Will fetch the products even if they are already cachedcom.konakart.app.KKException
- an unexpected KKException exceptionpublic void fetchCustomProducts1Array(com.konakart.appif.ProductSearchIf _prodSearch, com.konakart.appif.DataDescriptorIf _dataDesc) throws com.konakart.app.KKException
_prodSearch
- The ProductSearch object that will be used to return the products_dataDesc
- The DataDescriptor object that will be used to return the productscom.konakart.app.KKException
- an unexpected KKException exceptionpublic void fetchCustomProducts2Array(com.konakart.appif.ProductSearchIf _prodSearch, com.konakart.appif.DataDescriptorIf _dataDesc) throws com.konakart.app.KKException
_prodSearch
- The ProductSearch object that will be used to return the products_dataDesc
- The DataDescriptor object that will be used to return the productscom.konakart.app.KKException
- an unexpected KKException exceptionpublic void fetchCustomProducts3Array(com.konakart.appif.ProductSearchIf _prodSearch, com.konakart.appif.DataDescriptorIf _dataDesc) throws com.konakart.app.KKException
_prodSearch
- The ProductSearch object that will be used to return the products_dataDesc
- The DataDescriptor object that will be used to return the productscom.konakart.app.KKException
- an unexpected KKException exceptionpublic boolean isCurrentProductANotification() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.DigitalDownloadIf[] fetchDigitalDownloads() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic int fetchTagGroupsPerCategory(int catId) throws com.konakart.app.KKException
currentTagGroups
array. If there are any
tag groups associated with this category, the tags will be displayed on the UI to allow the
customer to refine his product search.catId
- The id of the selected categorycom.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.TagGroupIf[] getTagGroupFilter() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.ProductIf[] fetchRecentlyViewedProductsArray(boolean fillDescription) throws com.konakart.app.KKException, KKAppException
PRODUCTS_TIME_VIEWED
tag to get the ids of the products recently viewed by the
customer. It then retrieves the products and sorts them to show the most recently viewed
product first. The viewedProducts
attribute of the ProductMgr is set with the
array of products. The number of products returned depends on the number of product ids
stored by the PRODUCTS_TIME_VIEWED
tag.fillDescription
- If set, the product description is returnedcom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic boolean isNoStockAllowCheckout()
public boolean isStockCheck()
public void updateProductViewedCount(int productId) throws com.konakart.app.KKException
productId
- the productIdcom.konakart.app.KKException
- an unexpected KKException exceptionpublic DropListElement[] getAllManuDropList()
public com.konakart.appif.ManufacturerIf[] getCurrentManufacturers()
public void setCurrentManufacturers(com.konakart.appif.ManufacturerIf[] currentManufacturers)
currentManufacturers
- the currentManufacturers to setpublic int getCurrentManufacturersLength()
public com.konakart.appif.ProductIf[] getCurrentProducts()
public void setCurrentProducts(com.konakart.appif.ProductIf[] currentProducts)
currentProducts
- the currentProducts to setpublic com.konakart.appif.CategoryIf getSelectedCategory()
public void setSelectedCategory(com.konakart.appif.CategoryIf selectedCategory)
selectedCategory
- the selectedCategory to setpublic int getShowBack()
public void setShowBack(int showBack)
showBack
- the showBack to setpublic int getShowNext()
public void setShowNext(int showNext)
showNext
- the showNext to setpublic int getMaxRows()
public int getCurrentOffset()
public void setCurrentOffset(int currentOffset)
currentOffset
- the currentOffset to setpublic com.konakart.appif.ProductIf getSelectedProduct()
public void setSelectedProduct(com.konakart.appif.ProductIf selectedProduct)
selectedProduct
- the selectedProduct to setpublic java.util.List<ProdOptionContainer> getSelectedProductOptions()
public void setSelectedProductOptions(java.util.List<ProdOptionContainer> selectedProductOptions)
selectedProductOptions
- the selectedProductOptions to setpublic com.konakart.appif.CategoryIf[] getCurrentCategories()
public void setCurrentCategories(com.konakart.appif.CategoryIf[] currentCategories)
currentCategories
- the currentCategories to setpublic int getCurrentCategoriesLength()
public com.konakart.appif.ManufacturerIf getSelectedManufacturer()
public void setSelectedManufacturer(com.konakart.appif.ManufacturerIf selectedManufacturer)
selectedManufacturer
- the selectedManufacturer to setpublic int getTotalNumberOfProducts()
public void setTotalNumberOfProducts(int totalNumberOfProducts)
totalNumberOfProducts
- the totalNumberOfProducts to setpublic com.konakart.appif.ProductIf[] getAlsoPurchased()
public void setAlsoPurchased(com.konakart.appif.ProductIf[] alsoPurchased)
alsoPurchased
- the alsoPurchased to setpublic com.konakart.appif.ProductIf[] getNewProducts()
public void setNewProducts(com.konakart.appif.ProductIf[] newProducts)
newProducts
- the newProducts to setpublic com.konakart.appif.ManufacturerIf[] getAllManuArray()
public com.konakart.appif.ProductIf[] getAccessories()
public void setAccessories(com.konakart.appif.ProductIf[] accessories)
accessories
- the accessories to setpublic com.konakart.appif.ProductIf[] getCrossSellProducts()
public void setCrossSellProducts(com.konakart.appif.ProductIf[] crossSellProducts)
crossSellProducts
- the crossSellProducts to setpublic com.konakart.appif.ProductIf[] getDependentProducts()
public void setDependentProducts(com.konakart.appif.ProductIf[] dependentProducts)
dependentProducts
- the dependentProducts to setpublic com.konakart.appif.ProductIf[] getUpSellProducts()
public void setUpSellProducts(com.konakart.appif.ProductIf[] upSellProducts)
upSellProducts
- the upSellProducts to setpublic com.konakart.appif.DigitalDownloadIf[] getDigitalDownloads()
public void setDigitalDownloads(com.konakart.appif.DigitalDownloadIf[] digitalDownloads)
digitalDownloads
- The digitalDownloads to set.public com.konakart.appif.DataDescriptorIf getDataDesc()
public void setDataDesc(com.konakart.appif.DataDescriptorIf dataDesc)
dataDesc
- The dataDesc to set.public java.lang.String getDefaultOrderBy()
public void setDefaultOrderBy(java.lang.String defaultOrderBy)
defaultOrderBy
- The defaultOrderBy to set.public com.konakart.appif.ProductIf[] getBundledProducts()
public void setBundledProducts(com.konakart.appif.ProductIf[] bundledProducts)
bundledProducts
- the bundledProducts to setpublic com.konakart.appif.TagGroupIf[] getCurrentTagGroups()
public void setCurrentTagGroups(com.konakart.appif.TagGroupIf[] currentTagGroups)
currentTagGroups
- the currentTagGroups to setpublic com.konakart.appif.ProductSearchIf getProdSearch()
public void setProdSearch(com.konakart.appif.ProductSearchIf prodSearch)
prodSearch
- the prodSearch to setpublic com.konakart.appif.ProductIf[] getCustomProducts1()
public void setCustomProducts1(com.konakart.appif.ProductIf[] customProducts1)
customProducts1
- the customProducts1 to setpublic com.konakart.appif.ProductIf[] getCustomProducts2()
public void setCustomProducts2(com.konakart.appif.ProductIf[] customProducts2)
customProducts2
- the customProducts2 to setpublic com.konakart.appif.ProductIf[] getCustomProducts3()
public void setCustomProducts3(com.konakart.appif.ProductIf[] customProducts3)
customProducts3
- the customProducts3 to setpublic void setMaxDisplaySearchResults(int num)
num
- the numpublic int getMaxDisplaySearchResults()
public long getProdTimestamp()
public void setProdTimestamp(long prodTimestamp)
prodTimestamp
- the prodTimestamp to setpublic java.util.ArrayList<java.lang.Integer> getPageList()
public void setPageList(java.util.ArrayList<java.lang.Integer> pageList)
pageList
- the pageList to setpublic int getCurrentPage()
public void setCurrentPage(int currentPage)
currentPage
- the currentPage to setpublic int getNumPages()
public void setNumPages(int numPages)
numPages
- the numPages to setpublic com.konakart.appif.PromotionIf[] getAllPromotions()
public java.util.Map<java.lang.Integer,com.konakart.appif.PromotionIf> getPromotionMap()
public void refreshConfigs() throws com.konakart.app.KKException
com.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.ProductIf[] getViewedProducts()
public void setViewedProducts(com.konakart.appif.ProductIf[] viewedProducts)
viewedProducts
- the recently viewedProducts to setpublic com.konakart.appif.ProductIf[] getSpecials()
public void setSpecials(com.konakart.appif.ProductIf[] specials)
specials
- the specials to setpublic boolean isExpiredResultSet()
public void setExpiredResultSet(boolean expiredResultSet)
expiredResultSet
- the expiredResultSet to setpublic int getNumSelectedFilters()
public void setNumSelectedFilters(int numSelectedFilters)
numSelectedFilters
- the numSelectedFilters to setpublic java.math.BigDecimal getMaxPrice()
public void setMaxPrice(java.math.BigDecimal maxPrice)
maxPrice
- the maxPrice to setpublic java.math.BigDecimal getMinPrice()
public void setMinPrice(java.math.BigDecimal minPrice)
minPrice
- the minPrice to setpublic java.math.BigDecimal getTaxMultiplier()
public void setTaxMultiplier(java.math.BigDecimal taxMultiplier)
taxMultiplier
- the taxMultiplier to setpublic boolean isPriceFilter()
public void setPriceFilter(boolean priceFilter)
priceFilter
- the priceFilter to setpublic com.konakart.appif.KKPriceFacetIf[] getPriceFacets()
public void setPriceFacets(com.konakart.appif.KKPriceFacetIf[] priceFacets)
priceFacets
- the priceFacets to setpublic com.konakart.appif.ProductIf[] getAllRelatedProducts()
public void setAllRelatedProducts(com.konakart.appif.ProductIf[] allRelatedProducts)
allRelatedProducts
- the allRelatedProducts to setpublic void saveNavigationForTimestamp()
public com.konakart.appif.SuggestedSpellingItemIf[] getSuggestedSpellingItems(java.lang.String searchText) throws com.konakart.app.KKException
searchText
- the searchTextcom.konakart.app.KKException
- an unexpected KKException exceptionpublic com.konakart.appif.SuggestedSpellingItemIf[] getSuggestedSpellings()
public void setSuggestedSpellings(com.konakart.appif.SuggestedSpellingItemIf[] suggestedSpellings)
suggestedSpellings
- the suggestedSpellings to setpublic java.lang.String getSuggestedSpellingSearch()
public void setSuggestedSpellingSearch(java.lang.String suggestedSpellingSearch)
suggestedSpellingSearch
- the suggestedSpellingSearch to setpublic com.konakart.appif.CategoryIf getSelectedProductCategory()
public void setSelectedProductCategory(com.konakart.appif.CategoryIf selectedProductCategory)
selectedProductCategory
- the selectedProductCategory to setCopyright © 2018 DS Data Systems UK Ltd.