com.konakart.appif
Interface FetchProductOptionsIf

All Known Implementing Classes:
FetchProductOptions

public interface FetchProductOptionsIf

An object used to define options used when reading one or more products from the database


Method Summary
 java.lang.String getCatalogId()
          The id of the catalog which contains dynamic product information such as the price and quantity
 java.util.Calendar getPriceDate()
          The date for which a price is requested.
 boolean isGetTierPrices()
          If true we attach an array of tier price objects to the product.
 boolean isInvertRelatedProductDirection()
          If true we invert the direction of the related product link.
 boolean isUseExternalPrice()
          If true we attempt to fetch the prices from the external table
 boolean isUseExternalQuantity()
          If true we attempt to fetch the quantities from the external table
 void setCatalogId(java.lang.String catalogId)
          The id of the catalog which contains dynamic product information such as the price and quantity
 void setGetTierPrices(boolean getTierPrices)
          If true we attach an array of tier price objects to the product.
 void setInvertRelatedProductDirection(boolean invertRelatedProductDirection)
          If true we invert the direction of the related product link.
 void setPriceDate(java.util.Calendar priceDate)
          The date for which a price is requested.
 void setUseExternalPrice(boolean useExternalPrice)
          If true we attempt to fetch the prices from the external table
 void setUseExternalQuantity(boolean useExternalQuantity)
          If true we attempt to fetch the quantities from the external table
 

Method Detail

getCatalogId

java.lang.String getCatalogId()
The id of the catalog which contains dynamic product information such as the price and quantity

Returns:
the catalogId

setCatalogId

void setCatalogId(java.lang.String catalogId)
The id of the catalog which contains dynamic product information such as the price and quantity

Parameters:
catalogId - the catalogId to set

getPriceDate

java.util.Calendar getPriceDate()
The date for which a price is requested. It could be out in the future.

Returns:
the priceDate

setPriceDate

void setPriceDate(java.util.Calendar priceDate)
The date for which a price is requested. It could be out in the future.

Parameters:
priceDate - the priceDate to set

isUseExternalPrice

boolean isUseExternalPrice()
If true we attempt to fetch the prices from the external table

Returns:
the useExternalPrice

setUseExternalPrice

void setUseExternalPrice(boolean useExternalPrice)
If true we attempt to fetch the prices from the external table

Parameters:
useExternalPrice - the useExternalPrice to set

isGetTierPrices

boolean isGetTierPrices()
If true we attach an array of tier price objects to the product. Defaults to false for performance reasons since you may not require tier prices until you fetch the product details.

Returns:
the getTierPrices

setGetTierPrices

void setGetTierPrices(boolean getTierPrices)
If true we attach an array of tier price objects to the product. Defaults to false for performance reasons since you may not require tier prices until you fetch the product details.

Parameters:
getTierPrices - the getTierPrices to set

isUseExternalQuantity

boolean isUseExternalQuantity()
If true we attempt to fetch the quantities from the external table

Returns:
the useExternalQuantity

setUseExternalQuantity

void setUseExternalQuantity(boolean useExternalQuantity)
If true we attempt to fetch the quantities from the external table

Parameters:
useExternalQuantity - the useExternalQuantity to set

isInvertRelatedProductDirection

boolean isInvertRelatedProductDirection()
If true we invert the direction of the related product link. This is especially useful for bundled products, so rather than discovering the products within a bundle, you can determine which bundles a product belongs to by setting this attribute to true

Returns:
the invertRelatedProductDirection

setInvertRelatedProductDirection

void setInvertRelatedProductDirection(boolean invertRelatedProductDirection)
If true we invert the direction of the related product link. This is especially useful for bundled products, so rather than discovering the products within a bundle, you can determine which bundles a product belongs to by setting this attribute to true

Parameters:
invertRelatedProductDirection - the invertRelatedProductDirection to set


Copyright © 2011 DS Data Systems UK Ltd.