public class ProductMgrWond extends ProductMgrEE implements ProductMgrIf
ProductMgr.OptionSortOrderComparator, ProductMgr.ProdAttr, ProductMgr.ProdAttrSortOrderComparator, ProductMgr.ProdSortOrderComparator, ProductMgr.StaticData, ProductMgr.TagSortOrderComparator| Modifier and Type | Field and Description |
|---|---|
protected static com.fasterxml.jackson.databind.ObjectMapper |
mapper
JSON Data Mapping Object
|
ACCESSORY, ALL_RELATIONSHIPS, BOOKABLE_PRODUCT_TYPE, BUNDLE_PRODUCT_TYPE, BUNDLED_PRODUCT_RELATIONSHIP, CROSS_SELL, CUSTOM_RELATIONSHIP_1, CUSTOM_RELATIONSHIP_2, CUSTOM_RELATIONSHIP_3, CUSTOM_RELATIONSHIP_4, CUSTOM_RELATIONSHIP_5, customAttrAnOracleCLOB, DEPENDENT_ITEM, DIGITAL_DOWNLOAD, DONT_INCLUDE, FREE_SHIPPING, FREE_SHIPPING_BUNDLE_PRODUCT_TYPE, GIFT_CERTIFICATE_PRODUCT_TYPE, log, PHYSICAL_PRODUCT, prodMgrMutex, productViewCountMaxRetries, prodViewMutex, reserveStockMutex, staticDataHM, tagMutex, UP_SELL, updateStockMutex, VIRTUAL_PRODUCT_TYPEtemplateBaseDir| Constructor and Description |
|---|
ProductMgrWond(KKEngIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Product |
getProductWithOptions(int productId,
java.lang.String catalogId,
int priceId,
int langId,
FetchProductOptionsIf options) |
void |
init()
Initialise the configuration of the product manager
|
protected Products |
searchForProductsPrivate(KKCriteria criteria,
java.lang.String apiCall,
java.lang.String sessionId,
DataDescriptorIf dataDescriptor,
ProductSearchIf productSearch,
java.util.ArrayList<java.lang.Integer> productIdList,
int languageId,
FetchProductOptionsIf options)
Returns products matching the search criteria in the format defined by the data descriptor.
|
int |
updateProductLockItems(java.lang.String productId,
java.lang.String shopIds)
Lockes a Product for all shops in the ;-separated
shopIds |
int |
updateProductNotLockedItems(java.lang.String[] productIds)
Resets all Locked Products which are not in the List
productIds |
cacheThisProduct, clearBasketReservationData, createAddToBasketOptions, createFetchProductOptions, deleteStockReservation, getCatalogPerKey, getMapper, getProductImages, getStockReservations, removeStockReservations, removeStockReservationsForBasketItems, removeStockReservationsForBasketItems, removeStockReservationsForIds, removeStockReservationsForIds, removeStockReservationsForOrderProducts, removeStockReservationsForOrderProducts, reserveStock, reserveStockSingleItem, setExtPriceProductAttributeCriteria, setExtPriceProductCriteria, setExtPricesVariantPriceCriteria, setExtPriceTierPriceCriteria, setExtQuantityProductCriteria, setExtQuantityProductQuantityCriteria, setStockReservationCriteriaOnProduct, setStockReservationCriteriaOnProductQuantity, updateBasketWithReservationInfoaddProductDescriptions, addProductsToStoresConstraint, addTax, addTax, beforeSendCriteria, beforeSendQuery, createEncodedProductIdFromProductQuantityEncodedKey, createOptionsFromProductQuantityEncodedKey, createProductQuantityEncodedKeyFromEncodedProductId, createProductQuantityEncodedKeyFromOptions, decProductQuantitiesWithOptions, deleteDigitalDownload, doesExtQuantityExist, doesProductExist, doTierPricesExist, editDigitalDownload, editDigitalDownload, editExtQuantity, fetchDescriptionsSeparately, getAddressesPerProduct, getAllProductRelationships, getAllProducts, getAllProductsWithOptions, getAllSpecials, getAlsoPurchased, getAlsoPurchasedWithOptions, getBestSellers, getBestSellersWithOptions, getBundleProductQuantityWithOptions, getBundlesThatProductBelongsTo, getBundlesThatProductsBelongTo, getCount, getCustomAttrs, getCustomAttrsFromXML, getDigitalDownload, getDigitalDownloadById, getDigitalDownloadById, getDigitalDownloads, getDigitalDownloadsWithOptions, getExpiryDate, getLastAddedDateFromTagToProduct, getLightProduct, getMaxDownloadDays, getMaxNumDownloads, getOption, getOrderHistory, getOrderHistoryWithOptions, getPaymentScheduleId, getPriceId, getProduct, getProduct, getProductCountForTag, getProductOptions, getProductPerSku, getProductPerSkuWithOptions, getProductQuantitiesPerProductWithOptions, getProductQuantity, getProductQuantityPerProductWithOptions, getProductQuantityWithOptions, getProductQuantityWithOptions, getProductReorderLevel, getProductsAllCases, getProductsFromIds, getProductsFromIdsWithOptions, getProductsFromIdsWithOptions, getProductsPerCategory, getProductsPerCategoryPerManufacturer, getProductsPerCategoryPerManufacturerWithOptions, getProductsPerCategoryWithOptions, getProductsPerManufacturer, getProductsPerManufacturerWithOptions, getProductType, getProductViewCountMaxRetries, getProductWithOptions, getProductWithOptions, getProductWithOptions, getRelatedProducts, getRelatedProducts, getRelatedProductsWithOptions, getSku, getSku, getSpecialsPerCategory, getTag, getTagGroup, getTagGroupsPerCategory, getTagGroupsPerCategoryWithOptions, getTagsPerCategory, getTagsPerProduct, getTagsPerTagGroup, getTagToProductCount, getTaxClassId, getTierPrices, getVariantPrices, getVariantPricesPerProductWithOptions, getXMLFromCustomAttrs, insertDigitalDownload, insertDigitalDownload, insertExtQuantity, insertGiftCertificateDigitalDownload, isCustomAttrAnOracleCLOB, isEnhancedVariantHandlingModeEnabled, manageDataDescriptor, manageDataDescriptor, refreshConfigs, searchForProducts, searchForProductsWithOptions, selectActiveProduct, sendQuery, setBundledProducts, setCriteriaWithStandardAttributes, setCriteriaWithStandardAttributes, setDigitalDownloadCriteria, setOptionPrice, setProductPrice, setProductsSharedCriteria, setProductViewCountMaxRetries, setTagCriteriaWithStandardAttributes, setTagGroupCriteriaWithStandardAttributes, synchronizeTagProductCount, updateBundleProductQuantityWithOptions, updateDigitalDownloadCount, updateDigitalDownloadCountById, updateProductQuantity, updateProductQuantity, updateProductQuantityWithOptions, updateProductReviewInfo, updateProductsOrdered, updateProductViewedCount, useSpecialPrice, validateDigitalDownloadacquireLock, addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkRequired, escapeHTML, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCacheMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getEventMgr, getExportMgr, getHTMLEscaper, getKonaKartConfig, getKonaKartConfig, getKonaKartConfig, getLangMgr, getManuMgr, getMiscItemMgr, getMiscPriceMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderIntegrationMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getProductsToCategoresCriteria, getPromMgr, getPunchOutMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getStoreTime, getSuggestionMgr, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isClassPresent, isCommunity, isDeadlockException, isEnterprise, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreSharedDb, isMultiStoreShareProducts, isMultiVendor, isUnix, manageThrowable, releaseLock, updateStaticVariablesNowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcacheThisProduct, createEncodedProductIdFromProductQuantityEncodedKey, createOptionsFromProductQuantityEncodedKey, createProductQuantityEncodedKeyFromEncodedProductId, createProductQuantityEncodedKeyFromOptions, doesProductExist, editDigitalDownload, editDigitalDownload, getAddressesPerProduct, getAllProductRelationships, getAllProducts, getAllProductsWithOptions, getAllSpecials, getAlsoPurchased, getAlsoPurchasedWithOptions, getBestSellers, getBestSellersWithOptions, getBundlesThatProductBelongsTo, getBundlesThatProductsBelongTo, getCatalogPerKey, getCustomAttrsFromXML, getDigitalDownloadById, getDigitalDownloadById, getDigitalDownloads, getDigitalDownloadsWithOptions, getOption, getOrderHistory, getOrderHistoryWithOptions, getPaymentScheduleId, getPriceId, getProduct, getProduct, getProductImages, getProductPerSku, getProductPerSkuWithOptions, getProductQuantity, getProductQuantityWithOptions, getProductReorderLevel, getProductsFromIds, getProductsFromIdsWithOptions, getProductsFromIdsWithOptions, getProductsPerCategory, getProductsPerCategoryPerManufacturer, getProductsPerCategoryPerManufacturerWithOptions, getProductsPerCategoryWithOptions, getProductsPerManufacturer, getProductsPerManufacturerWithOptions, getProductViewCountMaxRetries, getProductWithOptions, getProductWithOptions, getRelatedProducts, getRelatedProductsWithOptions, getSku, getSpecialsPerCategory, getTag, getTagGroup, getTagGroupsPerCategory, getTagGroupsPerCategoryWithOptions, getTagsPerCategory, getTaxClassId, getXMLFromCustomAttrs, insertDigitalDownload, insertDigitalDownload, insertGiftCertificateDigitalDownload, refreshConfigs, removeStockReservationsForBasketItems, removeStockReservationsForBasketItems, removeStockReservationsForIds, removeStockReservationsForIds, removeStockReservationsForOrderProducts, removeStockReservationsForOrderProducts, reserveStock, searchForProducts, searchForProductsWithOptions, setProductViewCountMaxRetries, updateDigitalDownloadCount, updateDigitalDownloadCountById, updateProductQuantity, updateProductQuantity, updateProductQuantityWithOptions, updateProductReviewInfo, updateProductsOrdered, updateProductViewedCountprotected static com.fasterxml.jackson.databind.ObjectMapper mapper
public ProductMgrWond(KKEngIf eng) throws java.lang.Exception
eng - the engjava.lang.Exception - an unexpected exceptionpublic void init()
throws java.lang.Exception
init in class ProductMgrEEjava.lang.Exception - an unexpected exceptionprotected Products searchForProductsPrivate(KKCriteria criteria, java.lang.String apiCall, java.lang.String sessionId, DataDescriptorIf dataDescriptor, ProductSearchIf productSearch, java.util.ArrayList<java.lang.Integer> productIdList, int languageId, FetchProductOptionsIf options) throws java.lang.Exception
ProductMgrsearchForProductsPrivate in class ProductMgrcriteria - the criteriaapiCall - the apiCallsessionId - the sessionIddataDescriptor - the dataDescriptorproductSearch - the productSearchproductIdList - If not null, it must contain a list of productIds which will be added to an IN
clause.languageId - the languageIdoptions - the optionsjava.lang.Exception - an unexpected exceptionpublic int updateProductLockItems(java.lang.String productId,
java.lang.String shopIds)
throws java.lang.Exception
shopIdsupdateProductLockItems in interface ProductMgrIfupdateProductLockItems in class ProductMgrEEproductId - WOND-Product-ID for which the Lock should be setshopIds - ;-Separated-List with shop-Ids where the Product should be lockedcom.konakart.app.KKException - an unexpected KKException exceptionjava.lang.Exception - an unexpected KKException exceptionpublic int updateProductNotLockedItems(java.lang.String[] productIds)
throws java.lang.Exception
productIdsupdateProductNotLockedItems in interface ProductMgrIfupdateProductNotLockedItems in class ProductMgrEEproductIds - List with acutaly Locked Products (WOND-Id)com.konakart.app.KKException - an unexpected KKException exceptionjava.lang.Exception - an unexpected KKException exceptionprotected Product getProductWithOptions(int productId, java.lang.String catalogId, int priceId, int langId, FetchProductOptionsIf options) throws java.lang.Exception
getProductWithOptions in class ProductMgrEEproductId - the productIdcatalogId - the catalogIdpriceId - the priceIdlangId - the langIdoptions - the optionsjava.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.