sfcc-dev-mcp 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +338 -0
  3. package/dist/best-practices-client.d.ts +55 -0
  4. package/dist/best-practices-client.d.ts.map +1 -0
  5. package/dist/best-practices-client.js +201 -0
  6. package/dist/best-practices-client.js.map +1 -0
  7. package/dist/cache.d.ts +105 -0
  8. package/dist/cache.d.ts.map +1 -0
  9. package/dist/cache.js +225 -0
  10. package/dist/cache.js.map +1 -0
  11. package/dist/config.d.ts +26 -0
  12. package/dist/config.d.ts.map +1 -0
  13. package/dist/config.js +67 -0
  14. package/dist/config.js.map +1 -0
  15. package/dist/docs-client.d.ts +124 -0
  16. package/dist/docs-client.d.ts.map +1 -0
  17. package/dist/docs-client.js +442 -0
  18. package/dist/docs-client.js.map +1 -0
  19. package/dist/index.d.ts +18 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +18 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/log-client.d.ts +79 -0
  24. package/dist/log-client.d.ts.map +1 -0
  25. package/dist/log-client.js +226 -0
  26. package/dist/log-client.js.map +1 -0
  27. package/dist/main.d.ts +15 -0
  28. package/dist/main.d.ts.map +1 -0
  29. package/dist/main.js +110 -0
  30. package/dist/main.js.map +1 -0
  31. package/dist/server.d.ts +35 -0
  32. package/dist/server.d.ts.map +1 -0
  33. package/dist/server.js +539 -0
  34. package/dist/server.js.map +1 -0
  35. package/dist/types.d.ts +79 -0
  36. package/dist/types.d.ts.map +1 -0
  37. package/dist/types.js +8 -0
  38. package/dist/types.js.map +1 -0
  39. package/dist/utils.d.ts +46 -0
  40. package/dist/utils.d.ts.map +1 -0
  41. package/dist/utils.js +96 -0
  42. package/dist/utils.js.map +1 -0
  43. package/docs/TopLevel/APIException.md +68 -0
  44. package/docs/TopLevel/Array.md +897 -0
  45. package/docs/TopLevel/ArrayBuffer.md +79 -0
  46. package/docs/TopLevel/BigInt.md +132 -0
  47. package/docs/TopLevel/Boolean.md +62 -0
  48. package/docs/TopLevel/ConversionError.md +23 -0
  49. package/docs/TopLevel/DataView.md +352 -0
  50. package/docs/TopLevel/Date.md +924 -0
  51. package/docs/TopLevel/ES6Iterator.md +33 -0
  52. package/docs/TopLevel/Error.md +88 -0
  53. package/docs/TopLevel/EvalError.md +23 -0
  54. package/docs/TopLevel/Fault.md +87 -0
  55. package/docs/TopLevel/Float32Array.md +124 -0
  56. package/docs/TopLevel/Float64Array.md +124 -0
  57. package/docs/TopLevel/Function.md +105 -0
  58. package/docs/TopLevel/Generator.md +78 -0
  59. package/docs/TopLevel/IOError.md +62 -0
  60. package/docs/TopLevel/Int16Array.md +124 -0
  61. package/docs/TopLevel/Int32Array.md +124 -0
  62. package/docs/TopLevel/Int8Array.md +124 -0
  63. package/docs/TopLevel/InternalError.md +23 -0
  64. package/docs/TopLevel/Iterable.md +41 -0
  65. package/docs/TopLevel/Iterator.md +48 -0
  66. package/docs/TopLevel/JSON.md +162 -0
  67. package/docs/TopLevel/Map.md +216 -0
  68. package/docs/TopLevel/Math.md +865 -0
  69. package/docs/TopLevel/Module.md +45 -0
  70. package/docs/TopLevel/Namespace.md +96 -0
  71. package/docs/TopLevel/Number.md +375 -0
  72. package/docs/TopLevel/Object.md +641 -0
  73. package/docs/TopLevel/QName.md +96 -0
  74. package/docs/TopLevel/RangeError.md +23 -0
  75. package/docs/TopLevel/ReferenceError.md +23 -0
  76. package/docs/TopLevel/RegExp.md +109 -0
  77. package/docs/TopLevel/Set.md +165 -0
  78. package/docs/TopLevel/StopIteration.md +20 -0
  79. package/docs/TopLevel/String.md +1299 -0
  80. package/docs/TopLevel/Symbol.md +78 -0
  81. package/docs/TopLevel/SyntaxError.md +23 -0
  82. package/docs/TopLevel/SystemError.md +62 -0
  83. package/docs/TopLevel/TypeError.md +23 -0
  84. package/docs/TopLevel/URIError.md +23 -0
  85. package/docs/TopLevel/Uint16Array.md +124 -0
  86. package/docs/TopLevel/Uint32Array.md +124 -0
  87. package/docs/TopLevel/Uint8Array.md +124 -0
  88. package/docs/TopLevel/Uint8ClampedArray.md +124 -0
  89. package/docs/TopLevel/WeakMap.md +137 -0
  90. package/docs/TopLevel/WeakSet.md +92 -0
  91. package/docs/TopLevel/XML.md +937 -0
  92. package/docs/TopLevel/XMLList.md +484 -0
  93. package/docs/TopLevel/XMLStreamError.md +74 -0
  94. package/docs/TopLevel/arguments.md +34 -0
  95. package/docs/TopLevel/global.md +462 -0
  96. package/docs/best-practices/ocapi_hooks.md +295 -0
  97. package/docs/best-practices/scapi_custom_endpoint.md +176 -0
  98. package/docs/best-practices/scapi_hooks.md +295 -0
  99. package/docs/best-practices/sfra_controllers.md +190 -0
  100. package/docs/dw_campaign/ABTest.md +47 -0
  101. package/docs/dw_campaign/ABTestMgr.md +70 -0
  102. package/docs/dw_campaign/ABTestSegment.md +96 -0
  103. package/docs/dw_campaign/AmountDiscount.md +51 -0
  104. package/docs/dw_campaign/ApproachingDiscount.md +124 -0
  105. package/docs/dw_campaign/BonusChoiceDiscount.md +146 -0
  106. package/docs/dw_campaign/BonusDiscount.md +48 -0
  107. package/docs/dw_campaign/Campaign.md +365 -0
  108. package/docs/dw_campaign/CampaignMgr.md +395 -0
  109. package/docs/dw_campaign/CampaignStatusCodes.md +24 -0
  110. package/docs/dw_campaign/Coupon.md +292 -0
  111. package/docs/dw_campaign/CouponMgr.md +138 -0
  112. package/docs/dw_campaign/CouponRedemption.md +94 -0
  113. package/docs/dw_campaign/CouponStatusCodes.md +20 -0
  114. package/docs/dw_campaign/Discount.md +160 -0
  115. package/docs/dw_campaign/DiscountPlan.md +282 -0
  116. package/docs/dw_campaign/FixedPriceDiscount.md +52 -0
  117. package/docs/dw_campaign/FixedPriceShippingDiscount.md +52 -0
  118. package/docs/dw_campaign/FreeDiscount.md +17 -0
  119. package/docs/dw_campaign/FreeShippingDiscount.md +17 -0
  120. package/docs/dw_campaign/PercentageDiscount.md +52 -0
  121. package/docs/dw_campaign/PercentageOptionDiscount.md +48 -0
  122. package/docs/dw_campaign/PriceBookPriceDiscount.md +47 -0
  123. package/docs/dw_campaign/Promotion.md +826 -0
  124. package/docs/dw_campaign/PromotionMgr.md +386 -0
  125. package/docs/dw_campaign/PromotionPlan.md +318 -0
  126. package/docs/dw_campaign/SlotContent.md +144 -0
  127. package/docs/dw_campaign/SourceCodeGroup.md +72 -0
  128. package/docs/dw_campaign/SourceCodeInfo.md +126 -0
  129. package/docs/dw_campaign/SourceCodeStatusCodes.md +24 -0
  130. package/docs/dw_campaign/TotalFixedPriceDiscount.md +47 -0
  131. package/docs/dw_catalog/Catalog.md +122 -0
  132. package/docs/dw_catalog/CatalogMgr.md +182 -0
  133. package/docs/dw_catalog/Category.md +1296 -0
  134. package/docs/dw_catalog/CategoryAssignment.md +192 -0
  135. package/docs/dw_catalog/CategoryLink.md +96 -0
  136. package/docs/dw_catalog/PriceBook.md +242 -0
  137. package/docs/dw_catalog/PriceBookMgr.md +205 -0
  138. package/docs/dw_catalog/Product.md +2593 -0
  139. package/docs/dw_catalog/ProductActiveData.md +1275 -0
  140. package/docs/dw_catalog/ProductAttributeModel.md +277 -0
  141. package/docs/dw_catalog/ProductAvailabilityLevels.md +142 -0
  142. package/docs/dw_catalog/ProductAvailabilityModel.md +356 -0
  143. package/docs/dw_catalog/ProductInventoryList.md +140 -0
  144. package/docs/dw_catalog/ProductInventoryMgr.md +99 -0
  145. package/docs/dw_catalog/ProductInventoryRecord.md +563 -0
  146. package/docs/dw_catalog/ProductLink.md +96 -0
  147. package/docs/dw_catalog/ProductMgr.md +138 -0
  148. package/docs/dw_catalog/ProductOption.md +214 -0
  149. package/docs/dw_catalog/ProductOptionModel.md +246 -0
  150. package/docs/dw_catalog/ProductOptionValue.md +123 -0
  151. package/docs/dw_catalog/ProductPriceInfo.md +172 -0
  152. package/docs/dw_catalog/ProductPriceModel.md +745 -0
  153. package/docs/dw_catalog/ProductPriceTable.md +134 -0
  154. package/docs/dw_catalog/ProductSearchHit.md +545 -0
  155. package/docs/dw_catalog/ProductSearchModel.md +1912 -0
  156. package/docs/dw_catalog/ProductSearchRefinementDefinition.md +97 -0
  157. package/docs/dw_catalog/ProductSearchRefinementValue.md +73 -0
  158. package/docs/dw_catalog/ProductSearchRefinements.md +216 -0
  159. package/docs/dw_catalog/ProductVariationAttribute.md +100 -0
  160. package/docs/dw_catalog/ProductVariationAttributeValue.md +238 -0
  161. package/docs/dw_catalog/ProductVariationModel.md +849 -0
  162. package/docs/dw_catalog/Recommendation.md +296 -0
  163. package/docs/dw_catalog/SearchModel.md +877 -0
  164. package/docs/dw_catalog/SearchRefinementDefinition.md +146 -0
  165. package/docs/dw_catalog/SearchRefinementValue.md +185 -0
  166. package/docs/dw_catalog/SearchRefinements.md +156 -0
  167. package/docs/dw_catalog/SortingOption.md +120 -0
  168. package/docs/dw_catalog/SortingRule.md +47 -0
  169. package/docs/dw_catalog/Store.md +562 -0
  170. package/docs/dw_catalog/StoreGroup.md +96 -0
  171. package/docs/dw_catalog/StoreInventoryFilter.md +74 -0
  172. package/docs/dw_catalog/StoreInventoryFilterValue.md +74 -0
  173. package/docs/dw_catalog/StoreMgr.md +236 -0
  174. package/docs/dw_catalog/Variant.md +859 -0
  175. package/docs/dw_catalog/VariationGroup.md +792 -0
  176. package/docs/dw_content/Content.md +534 -0
  177. package/docs/dw_content/ContentMgr.md +160 -0
  178. package/docs/dw_content/ContentSearchModel.md +670 -0
  179. package/docs/dw_content/ContentSearchRefinementDefinition.md +49 -0
  180. package/docs/dw_content/ContentSearchRefinementValue.md +17 -0
  181. package/docs/dw_content/ContentSearchRefinements.md +208 -0
  182. package/docs/dw_content/Folder.md +467 -0
  183. package/docs/dw_content/Library.md +121 -0
  184. package/docs/dw_content/MarkupText.md +88 -0
  185. package/docs/dw_content/MediaFile.md +317 -0
  186. package/docs/dw_crypto/CertificateRef.md +42 -0
  187. package/docs/dw_crypto/Cipher.md +524 -0
  188. package/docs/dw_crypto/Encoding.md +220 -0
  189. package/docs/dw_crypto/JWE.md +182 -0
  190. package/docs/dw_crypto/JWS.md +264 -0
  191. package/docs/dw_crypto/JWSHeader.md +148 -0
  192. package/docs/dw_crypto/KeyRef.md +44 -0
  193. package/docs/dw_crypto/Mac.md +109 -0
  194. package/docs/dw_crypto/MessageDigest.md +139 -0
  195. package/docs/dw_crypto/SecureRandom.md +148 -0
  196. package/docs/dw_crypto/Signature.md +246 -0
  197. package/docs/dw_crypto/WeakCipher.md +532 -0
  198. package/docs/dw_crypto/WeakMac.md +109 -0
  199. package/docs/dw_crypto/WeakMessageDigest.md +139 -0
  200. package/docs/dw_crypto/WeakSignature.md +242 -0
  201. package/docs/dw_customer/AddressBook.md +163 -0
  202. package/docs/dw_customer/AgentUserMgr.md +83 -0
  203. package/docs/dw_customer/AgentUserStatusCodes.md +24 -0
  204. package/docs/dw_customer/AuthenticationStatus.md +96 -0
  205. package/docs/dw_customer/Credentials.md +494 -0
  206. package/docs/dw_customer/Customer.md +571 -0
  207. package/docs/dw_customer/CustomerActiveData.md +552 -0
  208. package/docs/dw_customer/CustomerAddress.md +852 -0
  209. package/docs/dw_customer/CustomerCDPData.md +70 -0
  210. package/docs/dw_customer/CustomerContextMgr.md +64 -0
  211. package/docs/dw_customer/CustomerGroup.md +134 -0
  212. package/docs/dw_customer/CustomerList.md +71 -0
  213. package/docs/dw_customer/CustomerMgr.md +735 -0
  214. package/docs/dw_customer/CustomerPasswordConstraints.md +142 -0
  215. package/docs/dw_customer/CustomerPaymentInstrument.md +125 -0
  216. package/docs/dw_customer/CustomerStatusCodes.md +24 -0
  217. package/docs/dw_customer/EncryptedObject.md +18 -0
  218. package/docs/dw_customer/ExternalProfile.md +160 -0
  219. package/docs/dw_customer/OrderHistory.md +111 -0
  220. package/docs/dw_customer/ProductList.md +952 -0
  221. package/docs/dw_customer/ProductListItem.md +492 -0
  222. package/docs/dw_customer/ProductListItemPurchase.md +145 -0
  223. package/docs/dw_customer/ProductListMgr.md +234 -0
  224. package/docs/dw_customer/ProductListRegistrant.md +193 -0
  225. package/docs/dw_customer/Profile.md +1128 -0
  226. package/docs/dw_customer/Wallet.md +118 -0
  227. package/docs/dw_extensions.applepay/ApplePayHookResult.md +161 -0
  228. package/docs/dw_extensions.applepay/ApplePayHooks.md +255 -0
  229. package/docs/dw_extensions.facebook/FacebookFeedHooks.md +47 -0
  230. package/docs/dw_extensions.facebook/FacebookProduct.md +1483 -0
  231. package/docs/dw_extensions.paymentrequest/PaymentRequestHookResult.md +159 -0
  232. package/docs/dw_extensions.paymentrequest/PaymentRequestHooks.md +160 -0
  233. package/docs/dw_extensions.payments/SalesforceBancontactPaymentDetails.md +79 -0
  234. package/docs/dw_extensions.payments/SalesforceCardPaymentDetails.md +103 -0
  235. package/docs/dw_extensions.payments/SalesforceEpsPaymentDetails.md +51 -0
  236. package/docs/dw_extensions.payments/SalesforceIdealPaymentDetails.md +51 -0
  237. package/docs/dw_extensions.payments/SalesforceKlarnaPaymentDetails.md +51 -0
  238. package/docs/dw_extensions.payments/SalesforcePayPalOrder.md +234 -0
  239. package/docs/dw_extensions.payments/SalesforcePayPalOrderAddress.md +191 -0
  240. package/docs/dw_extensions.payments/SalesforcePayPalOrderPayer.md +118 -0
  241. package/docs/dw_extensions.payments/SalesforcePayPalPaymentDetails.md +79 -0
  242. package/docs/dw_extensions.payments/SalesforcePaymentDetails.md +57 -0
  243. package/docs/dw_extensions.payments/SalesforcePaymentIntent.md +269 -0
  244. package/docs/dw_extensions.payments/SalesforcePaymentMethod.md +304 -0
  245. package/docs/dw_extensions.payments/SalesforcePaymentRequest.md +622 -0
  246. package/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +45 -0
  247. package/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +592 -0
  248. package/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +95 -0
  249. package/docs/dw_extensions.payments/SalesforceSepaDebitPaymentDetails.md +51 -0
  250. package/docs/dw_extensions.payments/SalesforceVenmoPaymentDetails.md +79 -0
  251. package/docs/dw_extensions.pinterest/PinterestAvailability.md +86 -0
  252. package/docs/dw_extensions.pinterest/PinterestFeedHooks.md +69 -0
  253. package/docs/dw_extensions.pinterest/PinterestOrder.md +172 -0
  254. package/docs/dw_extensions.pinterest/PinterestOrderHooks.md +45 -0
  255. package/docs/dw_extensions.pinterest/PinterestProduct.md +814 -0
  256. package/docs/dw_io/CSVStreamReader.md +80 -0
  257. package/docs/dw_io/CSVStreamWriter.md +60 -0
  258. package/docs/dw_io/File.md +554 -0
  259. package/docs/dw_io/FileReader.md +41 -0
  260. package/docs/dw_io/FileWriter.md +103 -0
  261. package/docs/dw_io/InputStream.md +34 -0
  262. package/docs/dw_io/OutputStream.md +34 -0
  263. package/docs/dw_io/PrintWriter.md +71 -0
  264. package/docs/dw_io/RandomAccessFileReader.md +167 -0
  265. package/docs/dw_io/Reader.md +274 -0
  266. package/docs/dw_io/StringWriter.md +81 -0
  267. package/docs/dw_io/Writer.md +92 -0
  268. package/docs/dw_io/XMLIndentingStreamWriter.md +112 -0
  269. package/docs/dw_io/XMLStreamConstants.md +24 -0
  270. package/docs/dw_io/XMLStreamReader.md +1043 -0
  271. package/docs/dw_io/XMLStreamWriter.md +572 -0
  272. package/docs/dw_net/FTPClient.md +675 -0
  273. package/docs/dw_net/FTPFileInfo.md +122 -0
  274. package/docs/dw_net/HTTPClient.md +769 -0
  275. package/docs/dw_net/HTTPRequestPart.md +206 -0
  276. package/docs/dw_net/Mail.md +431 -0
  277. package/docs/dw_net/SFTPClient.md +579 -0
  278. package/docs/dw_net/SFTPFileInfo.md +122 -0
  279. package/docs/dw_net/WebDAVClient.md +667 -0
  280. package/docs/dw_net/WebDAVFileInfo.md +184 -0
  281. package/docs/dw_object/ActiveData.md +75 -0
  282. package/docs/dw_object/CustomAttributes.md +16 -0
  283. package/docs/dw_object/CustomObject.md +73 -0
  284. package/docs/dw_object/CustomObjectMgr.md +291 -0
  285. package/docs/dw_object/Extensible.md +64 -0
  286. package/docs/dw_object/ExtensibleObject.md +68 -0
  287. package/docs/dw_object/Note.md +121 -0
  288. package/docs/dw_object/ObjectAttributeDefinition.md +373 -0
  289. package/docs/dw_object/ObjectAttributeGroup.md +170 -0
  290. package/docs/dw_object/ObjectAttributeValueDefinition.md +72 -0
  291. package/docs/dw_object/ObjectTypeDefinition.md +216 -0
  292. package/docs/dw_object/PersistentObject.md +94 -0
  293. package/docs/dw_object/SimpleExtensible.md +46 -0
  294. package/docs/dw_object/SystemObjectMgr.md +153 -0
  295. package/docs/dw_order/AbstractItem.md +244 -0
  296. package/docs/dw_order/AbstractItemCtnr.md +240 -0
  297. package/docs/dw_order/Appeasement.md +325 -0
  298. package/docs/dw_order/AppeasementItem.md +90 -0
  299. package/docs/dw_order/Basket.md +362 -0
  300. package/docs/dw_order/BasketMgr.md +402 -0
  301. package/docs/dw_order/BonusDiscountLineItem.md +248 -0
  302. package/docs/dw_order/CouponLineItem.md +272 -0
  303. package/docs/dw_order/CreateAgentBasketLimitExceededException.md +18 -0
  304. package/docs/dw_order/CreateBasketFromOrderException.md +26 -0
  305. package/docs/dw_order/CreateCouponLineItemException.md +26 -0
  306. package/docs/dw_order/CreateOrderException.md +18 -0
  307. package/docs/dw_order/CreateTemporaryBasketLimitExceededException.md +18 -0
  308. package/docs/dw_order/GiftCertificate.md +545 -0
  309. package/docs/dw_order/GiftCertificateLineItem.md +324 -0
  310. package/docs/dw_order/GiftCertificateMgr.md +161 -0
  311. package/docs/dw_order/GiftCertificateStatusCodes.md +24 -0
  312. package/docs/dw_order/Invoice.md +316 -0
  313. package/docs/dw_order/InvoiceItem.md +222 -0
  314. package/docs/dw_order/LineItem.md +532 -0
  315. package/docs/dw_order/LineItemCtnr.md +2317 -0
  316. package/docs/dw_order/Order.md +2441 -0
  317. package/docs/dw_order/OrderAddress.md +807 -0
  318. package/docs/dw_order/OrderItem.md +476 -0
  319. package/docs/dw_order/OrderMgr.md +535 -0
  320. package/docs/dw_order/OrderPaymentInstrument.md +220 -0
  321. package/docs/dw_order/OrderProcessStatusCodes.md +24 -0
  322. package/docs/dw_order/PaymentCard.md +217 -0
  323. package/docs/dw_order/PaymentInstrument.md +1414 -0
  324. package/docs/dw_order/PaymentMethod.md +242 -0
  325. package/docs/dw_order/PaymentMgr.md +117 -0
  326. package/docs/dw_order/PaymentProcessor.md +70 -0
  327. package/docs/dw_order/PaymentStatusCodes.md +24 -0
  328. package/docs/dw_order/PaymentTransaction.md +304 -0
  329. package/docs/dw_order/PriceAdjustment.md +640 -0
  330. package/docs/dw_order/PriceAdjustmentLimitTypes.md +20 -0
  331. package/docs/dw_order/ProductLineItem.md +1821 -0
  332. package/docs/dw_order/ProductShippingCost.md +96 -0
  333. package/docs/dw_order/ProductShippingLineItem.md +320 -0
  334. package/docs/dw_order/ProductShippingModel.md +125 -0
  335. package/docs/dw_order/Return.md +318 -0
  336. package/docs/dw_order/ReturnCase.md +340 -0
  337. package/docs/dw_order/ReturnCaseItem.md +343 -0
  338. package/docs/dw_order/ReturnItem.md +362 -0
  339. package/docs/dw_order/Shipment.md +1227 -0
  340. package/docs/dw_order/ShipmentShippingCost.md +46 -0
  341. package/docs/dw_order/ShipmentShippingModel.md +146 -0
  342. package/docs/dw_order/ShippingLineItem.md +272 -0
  343. package/docs/dw_order/ShippingLocation.md +366 -0
  344. package/docs/dw_order/ShippingMethod.md +266 -0
  345. package/docs/dw_order/ShippingMgr.md +158 -0
  346. package/docs/dw_order/ShippingOrder.md +507 -0
  347. package/docs/dw_order/ShippingOrderItem.md +331 -0
  348. package/docs/dw_order/SumItem.md +147 -0
  349. package/docs/dw_order/TaxGroup.md +143 -0
  350. package/docs/dw_order/TaxItem.md +74 -0
  351. package/docs/dw_order/TaxMgr.md +215 -0
  352. package/docs/dw_order/TrackingInfo.md +312 -0
  353. package/docs/dw_order/TrackingRef.md +113 -0
  354. package/docs/dw_order.hooks/CalculateHooks.md +77 -0
  355. package/docs/dw_order.hooks/OrderHooks.md +41 -0
  356. package/docs/dw_order.hooks/PaymentHooks.md +180 -0
  357. package/docs/dw_order.hooks/ReturnHooks.md +135 -0
  358. package/docs/dw_order.hooks/ShippingOrderHooks.md +245 -0
  359. package/docs/dw_rpc/SOAPUtil.md +333 -0
  360. package/docs/dw_rpc/Stub.md +259 -0
  361. package/docs/dw_rpc/WebReference.md +83 -0
  362. package/docs/dw_suggest/BrandSuggestions.md +17 -0
  363. package/docs/dw_suggest/CategorySuggestions.md +53 -0
  364. package/docs/dw_suggest/ContentSuggestions.md +53 -0
  365. package/docs/dw_suggest/CustomSuggestions.md +17 -0
  366. package/docs/dw_suggest/ProductSuggestions.md +53 -0
  367. package/docs/dw_suggest/SearchPhraseSuggestions.md +117 -0
  368. package/docs/dw_suggest/SuggestModel.md +397 -0
  369. package/docs/dw_suggest/SuggestedCategory.md +46 -0
  370. package/docs/dw_suggest/SuggestedContent.md +46 -0
  371. package/docs/dw_suggest/SuggestedPhrase.md +70 -0
  372. package/docs/dw_suggest/SuggestedProduct.md +47 -0
  373. package/docs/dw_suggest/SuggestedTerm.md +143 -0
  374. package/docs/dw_suggest/SuggestedTerms.md +132 -0
  375. package/docs/dw_suggest/Suggestions.md +179 -0
  376. package/docs/dw_svc/FTPService.md +118 -0
  377. package/docs/dw_svc/FTPServiceDefinition.md +69 -0
  378. package/docs/dw_svc/HTTPFormService.md +18 -0
  379. package/docs/dw_svc/HTTPFormServiceDefinition.md +18 -0
  380. package/docs/dw_svc/HTTPService.md +415 -0
  381. package/docs/dw_svc/HTTPServiceDefinition.md +303 -0
  382. package/docs/dw_svc/LocalServiceRegistry.md +43 -0
  383. package/docs/dw_svc/Result.md +255 -0
  384. package/docs/dw_svc/SOAPService.md +115 -0
  385. package/docs/dw_svc/SOAPServiceDefinition.md +17 -0
  386. package/docs/dw_svc/Service.md +295 -0
  387. package/docs/dw_svc/ServiceCallback.md +268 -0
  388. package/docs/dw_svc/ServiceConfig.md +120 -0
  389. package/docs/dw_svc/ServiceCredential.md +150 -0
  390. package/docs/dw_svc/ServiceDefinition.md +176 -0
  391. package/docs/dw_svc/ServiceProfile.md +168 -0
  392. package/docs/dw_svc/ServiceRegistry.md +109 -0
  393. package/docs/dw_system/AgentUserStatusCodes.md +21 -0
  394. package/docs/dw_system/Cache.md +102 -0
  395. package/docs/dw_system/CacheMgr.md +42 -0
  396. package/docs/dw_system/HookMgr.md +66 -0
  397. package/docs/dw_system/InternalObject.md +56 -0
  398. package/docs/dw_system/JobProcessMonitor.md +124 -0
  399. package/docs/dw_system/Log.md +237 -0
  400. package/docs/dw_system/LogNDC.md +88 -0
  401. package/docs/dw_system/Logger.md +263 -0
  402. package/docs/dw_system/OrganizationPreferences.md +18 -0
  403. package/docs/dw_system/Pipeline.md +73 -0
  404. package/docs/dw_system/PipelineDictionary.md +16 -0
  405. package/docs/dw_system/RESTErrorResponse.md +66 -0
  406. package/docs/dw_system/RESTResponseMgr.md +258 -0
  407. package/docs/dw_system/RESTSuccessResponse.md +39 -0
  408. package/docs/dw_system/RemoteInclude.md +74 -0
  409. package/docs/dw_system/Request.md +839 -0
  410. package/docs/dw_system/RequestHooks.md +59 -0
  411. package/docs/dw_system/Response.md +318 -0
  412. package/docs/dw_system/SearchStatus.md +91 -0
  413. package/docs/dw_system/Session.md +476 -0
  414. package/docs/dw_system/Site.md +567 -0
  415. package/docs/dw_system/SitePreferences.md +49 -0
  416. package/docs/dw_system/Status.md +273 -0
  417. package/docs/dw_system/StatusItem.md +273 -0
  418. package/docs/dw_system/System.md +182 -0
  419. package/docs/dw_system/Transaction.md +84 -0
  420. package/docs/dw_util/ArrayList.md +50 -0
  421. package/docs/dw_util/Assert.md +391 -0
  422. package/docs/dw_util/BigInteger.md +326 -0
  423. package/docs/dw_util/Bytes.md +246 -0
  424. package/docs/dw_util/Calendar.md +663 -0
  425. package/docs/dw_util/Collection.md +338 -0
  426. package/docs/dw_util/Currency.md +163 -0
  427. package/docs/dw_util/DateUtils.md +86 -0
  428. package/docs/dw_util/Decimal.md +438 -0
  429. package/docs/dw_util/FilteringCollection.md +87 -0
  430. package/docs/dw_util/Geolocation.md +271 -0
  431. package/docs/dw_util/HashMap.md +43 -0
  432. package/docs/dw_util/HashSet.md +46 -0
  433. package/docs/dw_util/Iterator.md +97 -0
  434. package/docs/dw_util/LinkedHashMap.md +43 -0
  435. package/docs/dw_util/LinkedHashSet.md +46 -0
  436. package/docs/dw_util/List.md +519 -0
  437. package/docs/dw_util/Locale.md +267 -0
  438. package/docs/dw_util/Map.md +313 -0
  439. package/docs/dw_util/MapEntry.md +70 -0
  440. package/docs/dw_util/MappingKey.md +76 -0
  441. package/docs/dw_util/MappingMgr.md +122 -0
  442. package/docs/dw_util/PropertyComparator.md +51 -0
  443. package/docs/dw_util/SecureEncoder.md +350 -0
  444. package/docs/dw_util/SecureFilter.md +350 -0
  445. package/docs/dw_util/SeekableIterator.md +176 -0
  446. package/docs/dw_util/Set.md +19 -0
  447. package/docs/dw_util/SortedMap.md +148 -0
  448. package/docs/dw_util/SortedSet.md +151 -0
  449. package/docs/dw_util/StringUtils.md +717 -0
  450. package/docs/dw_util/Template.md +88 -0
  451. package/docs/dw_util/UUIDUtils.md +38 -0
  452. package/docs/dw_value/EnumValue.md +92 -0
  453. package/docs/dw_value/MimeEncodedText.md +103 -0
  454. package/docs/dw_value/Money.md +604 -0
  455. package/docs/dw_value/Quantity.md +376 -0
  456. package/docs/dw_web/CSRFProtection.md +83 -0
  457. package/docs/dw_web/ClickStream.md +157 -0
  458. package/docs/dw_web/ClickStreamEntry.md +289 -0
  459. package/docs/dw_web/Cookie.md +390 -0
  460. package/docs/dw_web/Cookies.md +46 -0
  461. package/docs/dw_web/Form.md +74 -0
  462. package/docs/dw_web/FormAction.md +199 -0
  463. package/docs/dw_web/FormElement.md +220 -0
  464. package/docs/dw_web/FormElementValidationResult.md +157 -0
  465. package/docs/dw_web/FormField.md +603 -0
  466. package/docs/dw_web/FormFieldOption.md +238 -0
  467. package/docs/dw_web/FormFieldOptions.md +42 -0
  468. package/docs/dw_web/FormGroup.md +199 -0
  469. package/docs/dw_web/FormList.md +126 -0
  470. package/docs/dw_web/FormListItem.md +48 -0
  471. package/docs/dw_web/Forms.md +16 -0
  472. package/docs/dw_web/HttpParameter.md +513 -0
  473. package/docs/dw_web/HttpParameterMap.md +185 -0
  474. package/docs/dw_web/LoopIterator.md +261 -0
  475. package/docs/dw_web/PageMetaData.md +230 -0
  476. package/docs/dw_web/PageMetaTag.md +142 -0
  477. package/docs/dw_web/PagingModel.md +365 -0
  478. package/docs/dw_web/Resource.md +126 -0
  479. package/docs/dw_web/URL.md +213 -0
  480. package/docs/dw_web/URLAction.md +26 -0
  481. package/docs/dw_web/URLParameter.md +22 -0
  482. package/docs/dw_web/URLRedirect.md +71 -0
  483. package/docs/dw_web/URLRedirectMgr.md +73 -0
  484. package/docs/dw_web/URLUtils.md +1246 -0
  485. package/package.json +43 -0
  486. package/scripts/convert-docs.js +617 -0
  487. package/src/best-practices-client.ts +243 -0
  488. package/src/cache.ts +291 -0
  489. package/src/config.ts +77 -0
  490. package/src/docs-client.ts +540 -0
  491. package/src/index.ts +22 -0
  492. package/src/log-client.ts +260 -0
  493. package/src/main.ts +133 -0
  494. package/src/server.ts +614 -0
  495. package/src/types.ts +83 -0
  496. package/src/utils.ts +103 -0
  497. package/tsconfig.json +21 -0
@@ -0,0 +1,1296 @@
1
+ ## Package: dw.catalog
2
+
3
+ # Class Category
4
+
5
+ ## Inheritance Hierarchy
6
+
7
+ - Object
8
+ - dw.object.PersistentObject
9
+ - dw.object.ExtensibleObject
10
+ - dw.catalog.Category
11
+
12
+ ## Description
13
+
14
+ Represents a category in a product catalog.
15
+
16
+ ## Constants
17
+
18
+ ## Properties
19
+
20
+ ### allRecommendations
21
+
22
+ **Type:** Collection (Read Only)
23
+
24
+ All outgoing recommendations for this category. The
25
+ recommendations are sorted by their explicitly set order.
26
+
27
+ ### categoryAssignments
28
+
29
+ **Type:** Collection (Read Only)
30
+
31
+ A collection of category assignments of the category.
32
+
33
+ ### defaultSortingRule
34
+
35
+ **Type:** SortingRule (Read Only)
36
+
37
+ The default sorting rule configured for this category,
38
+ or null if there is no default rule to be applied for it.
39
+
40
+ This method returns the default rule for the parent category if this
41
+ category inherits one. The parent category may inherit its default
42
+ rule from its parent, and so on, up to the root category.
43
+
44
+ This method returns null if no ancestor category for this
45
+ category has a default rule.
46
+
47
+ ### description
48
+
49
+ **Type:** String (Read Only)
50
+
51
+ The description of the catalog category for the current locale.
52
+
53
+ ### displayMode
54
+
55
+ **Type:** Number
56
+
57
+ The Variation Groups Display Mode of the category or null if no display mode is defined.
58
+
59
+ ### displayName
60
+
61
+ **Type:** String (Read Only)
62
+
63
+ The display name of the of the catalog category for the current locale.
64
+
65
+ This value is intended to be used as the
66
+ external visible name of the catalog category.
67
+
68
+ ### ID
69
+
70
+ **Type:** String (Read Only)
71
+
72
+ The id of the category.
73
+
74
+ ### image
75
+
76
+ **Type:** MediaFile (Read Only)
77
+
78
+ The image reference of this catalog category.
79
+
80
+ ### incomingCategoryLinks
81
+
82
+ **Type:** Collection (Read Only)
83
+
84
+ The collection of CategoryLink objects for which this category
85
+ is the target. If the source category of a link belongs to a different
86
+ catalog than the catalog owning this category, it is not returned.
87
+
88
+ ### online
89
+
90
+ **Type:** boolean (Read Only)
91
+
92
+ The value indicating whether the catalog category is "currently
93
+ online". A category is currently online if its online flag equals true
94
+ and the current site date is within the date range defined by the
95
+ onlineFrom and onlineTo attributes.
96
+
97
+ ### onlineCategoryAssignments
98
+
99
+ **Type:** Collection (Read Only)
100
+
101
+ A collection of category assignments of the category where the
102
+ referenced product is currently online. When checking the online status
103
+ of the product, the online flag and the online from & to dates are taken
104
+ into account. Online flag, online from & to dates set for the current site
105
+ takes precedence over the default values.
106
+
107
+ ### onlineFlag
108
+
109
+ **Type:** boolean (Read Only)
110
+
111
+ The online status flag of the category.
112
+
113
+ ### onlineFrom
114
+
115
+ **Type:** Date (Read Only)
116
+
117
+ The date from which the category is online or valid.
118
+
119
+ ### onlineIncomingCategoryLinks
120
+
121
+ **Type:** Collection (Read Only)
122
+
123
+ The collection of CategoryLink objects for
124
+ which this category is the target. If the source category of a link
125
+ belongs to a different catalog than the catalog owning this category, it
126
+ is not returned. Additionally, this method will only return a link if the
127
+ source category is currently online. A category is currently online if
128
+ its online flag equals true and the current site date is within the date
129
+ range defined by the onlineFrom and onlineTo attributes.
130
+
131
+ ### onlineOutgoingCategoryLinks
132
+
133
+ **Type:** Collection (Read Only)
134
+
135
+ The collection of CategoryLink objects for
136
+ which this category is the source. If the target category of a link
137
+ belongs to a different catalog than the catalog owning this category, it
138
+ is not returned. Additionally, this method will only return a link if the
139
+ target category is currently online. A category is currently online if
140
+ its online flag equals true and the current site date is within the date
141
+ range defined by the onlineFrom and onlineTo attributes.
142
+
143
+ ### onlineProducts
144
+
145
+ **Type:** Collection (Read Only)
146
+
147
+ Returns online products assigned to this category.
148
+ Offline products are not included in the returned collection.
149
+ When checking the online status of the product,
150
+ the online flag and the online from & to dates are taken into account.
151
+ Online flag, online from & to dates set for the current site takes precedence
152
+ over the default values.
153
+
154
+ The order of products in the returned collection corresponds to the
155
+ defined explicit sorting of products in this category.
156
+
157
+ ### onlineSubCategories
158
+
159
+ **Type:** Collection (Read Only)
160
+
161
+ A sorted collection of currently online subcategories of this
162
+ catalog category.
163
+
164
+
165
+ A category is currently online if its online flag
166
+ equals true and the current site date is within the date range defined by
167
+ the onlineFrom and onlineTo attributes.
168
+
169
+
170
+ The returned collection is sorted by position. Subcategories marked as
171
+ "unsorted" always appear after those marked as "sorted" but are otherwise
172
+ not in any guaranteed order.
173
+
174
+
175
+ The returned collection contains direct subcategories only.
176
+
177
+ ### onlineTo
178
+
179
+ **Type:** Date (Read Only)
180
+
181
+ The date until which the category is online or valid.
182
+
183
+ ### orderableRecommendations
184
+
185
+ **Type:** Collection (Read Only)
186
+
187
+ A list of outgoing recommendations for this category. This method
188
+ behaves similarly to getRecommendations() but additionally filters out
189
+ recommendations for which the target product is unorderable according to
190
+ its product availability model.
191
+
192
+ ### outgoingCategoryLinks
193
+
194
+ **Type:** Collection (Read Only)
195
+
196
+ The collection of CategoryLink objects for which this category
197
+ is the source. If the target category of a link belongs to a different
198
+ catalog than the catalog owning this category, it is not returned.
199
+ The collection of links is sorted by the explicitly defined order
200
+ for this category with unsorted links appearing at the end.
201
+
202
+ ### pageDescription
203
+
204
+ **Type:** String (Read Only)
205
+
206
+ The page description of this category for the default locale or null if not defined.
207
+
208
+ ### pageKeywords
209
+
210
+ **Type:** String (Read Only)
211
+
212
+ The page keywords of this category for the default locale or null if not defined.
213
+
214
+ ### pageTitle
215
+
216
+ **Type:** String (Read Only)
217
+
218
+ The page title of this category for the default locale or null if not defined.
219
+
220
+ ### pageURL
221
+
222
+ **Type:** String (Read Only)
223
+
224
+ The page URL property of this category or null if not defined.
225
+
226
+ ### parent
227
+
228
+ **Type:** Category (Read Only)
229
+
230
+ The parent of this category.
231
+
232
+ ### productAttributeModel
233
+
234
+ **Type:** ProductAttributeModel (Read Only)
235
+
236
+ Returns this category's ProductAttributeModel, which makes access to the
237
+ category's attribute information convenient. The model is calculated
238
+ based on the attribute definitions assigned to this category and the
239
+ global attribute definitions for the object type 'Product'.
240
+
241
+ ### products
242
+
243
+ **Type:** Collection (Read Only)
244
+
245
+ All products assigned to this category.
246
+ The order of products in the returned collection corresponds to the
247
+ defined explicit sorting of products in this category.
248
+
249
+ ### recommendations
250
+
251
+ **Type:** Collection (Read Only)
252
+
253
+ The outgoing recommendations for this category. If this category
254
+ is not in the site catalog, or there is no site catalog, an empty
255
+ collection is returned. Only recommendations for which the target
256
+ product exists and is assigned to the site catalog are returned. The
257
+ recommendations are sorted by their explicitly set order.
258
+
259
+ ### root
260
+
261
+ **Type:** boolean (Read Only)
262
+
263
+ Identifies if the category is the root category of its catalog.
264
+
265
+ ### searchPlacement
266
+
267
+ **Type:** Number
268
+
269
+ The search placement of the category or null of no search placement is defined.
270
+
271
+ ### searchRank
272
+
273
+ **Type:** Number
274
+
275
+ The search rank of the category or null of no search rank is defined.
276
+
277
+ ### siteMapChangeFrequency
278
+
279
+ **Type:** String (Read Only)
280
+
281
+ The category's sitemap change frequency.
282
+
283
+ ### siteMapIncluded
284
+
285
+ **Type:** Number (Read Only)
286
+
287
+ The category's sitemap inclusion.
288
+
289
+ ### siteMapPriority
290
+
291
+ **Type:** Number (Read Only)
292
+
293
+ The category's sitemap priority.
294
+
295
+ ### subCategories
296
+
297
+ **Type:** Collection (Read Only)
298
+
299
+ A sorted collection of the subcategories of this catalog category,
300
+ including both online and offline subcategories.
301
+
302
+
303
+ The returned collection is sorted by position. Subcategories marked as
304
+ "unsorted" always appear after those marked as "sorted" but are otherwise
305
+ not in any guaranteed order.
306
+
307
+
308
+ The returned collection contains direct subcategories only.
309
+
310
+ ### template
311
+
312
+ **Type:** String (Read Only)
313
+
314
+ The template property value , which is the file name of the template
315
+ used to display the catalog category.
316
+
317
+ ### thumbnail
318
+
319
+ **Type:** MediaFile (Read Only)
320
+
321
+ The thumbnail image reference of this catalog category.
322
+
323
+ ### topLevel
324
+
325
+ **Type:** boolean (Read Only)
326
+
327
+ Returns true if the category is a top level category, but not the root
328
+ category.
329
+
330
+ ## Constructor Summary
331
+
332
+ ## Method Summary
333
+
334
+ ### getAllRecommendations
335
+
336
+ **Signature:** `getAllRecommendations() : Collection`
337
+
338
+ Returns all outgoing recommendations for this category.
339
+
340
+ ### getAllRecommendations
341
+
342
+ **Signature:** `getAllRecommendations(type : Number) : Collection`
343
+
344
+ Returns all outgoing recommendations for this category which are of the specified type.
345
+
346
+ ### getCategoryAssignments
347
+
348
+ **Signature:** `getCategoryAssignments() : Collection`
349
+
350
+ Returns a collection of category assignments of the category.
351
+
352
+ ### getDefaultSortingRule
353
+
354
+ **Signature:** `getDefaultSortingRule() : SortingRule`
355
+
356
+ Returns the default sorting rule configured for this category, or null if there is no default rule to be applied for it.
357
+
358
+ ### getDescription
359
+
360
+ **Signature:** `getDescription() : String`
361
+
362
+ Returns the description of the catalog category for the current locale.
363
+
364
+ ### getDisplayMode
365
+
366
+ **Signature:** `getDisplayMode() : Number`
367
+
368
+ Returns the Variation Groups Display Mode of the category or null if no display mode is defined.
369
+
370
+ ### getDisplayName
371
+
372
+ **Signature:** `getDisplayName() : String`
373
+
374
+ Returns the display name of the of the catalog category for the current locale.
375
+
376
+ ### getID
377
+
378
+ **Signature:** `getID() : String`
379
+
380
+ Returns the id of the category.
381
+
382
+ ### getImage
383
+
384
+ **Signature:** `getImage() : MediaFile`
385
+
386
+ Returns the image reference of this catalog category.
387
+
388
+ ### getIncomingCategoryLinks
389
+
390
+ **Signature:** `getIncomingCategoryLinks() : Collection`
391
+
392
+ Returns the collection of CategoryLink objects for which this category is the target.
393
+
394
+ ### getIncomingCategoryLinks
395
+
396
+ **Signature:** `getIncomingCategoryLinks(type : Number) : Collection`
397
+
398
+ Returns the collection of CategoryLink objects for which this category is the target and which are of the specified type.
399
+
400
+ ### getOnlineCategoryAssignments
401
+
402
+ **Signature:** `getOnlineCategoryAssignments() : Collection`
403
+
404
+ Returns a collection of category assignments of the category where the referenced product is currently online.
405
+
406
+ ### getOnlineFlag
407
+
408
+ **Signature:** `getOnlineFlag() : boolean`
409
+
410
+ Returns the online status flag of the category.
411
+
412
+ ### getOnlineFrom
413
+
414
+ **Signature:** `getOnlineFrom() : Date`
415
+
416
+ Returns the date from which the category is online or valid.
417
+
418
+ ### getOnlineIncomingCategoryLinks
419
+
420
+ **Signature:** `getOnlineIncomingCategoryLinks() : Collection`
421
+
422
+ Returns the collection of CategoryLink objects for which this category is the target.
423
+
424
+ ### getOnlineOutgoingCategoryLinks
425
+
426
+ **Signature:** `getOnlineOutgoingCategoryLinks() : Collection`
427
+
428
+ Returns the collection of CategoryLink objects for which this category is the source.
429
+
430
+ ### getOnlineProducts
431
+
432
+ **Signature:** `getOnlineProducts() : Collection`
433
+
434
+ Returns online products assigned to this category.
435
+
436
+ ### getOnlineSubCategories
437
+
438
+ **Signature:** `getOnlineSubCategories() : Collection`
439
+
440
+ Returns a sorted collection of currently online subcategories of this catalog category.
441
+
442
+ ### getOnlineTo
443
+
444
+ **Signature:** `getOnlineTo() : Date`
445
+
446
+ Returns the date until which the category is online or valid.
447
+
448
+ ### getOrderableRecommendations
449
+
450
+ **Signature:** `getOrderableRecommendations() : Collection`
451
+
452
+ Returns a list of outgoing recommendations for this category.
453
+
454
+ ### getOrderableRecommendations
455
+
456
+ **Signature:** `getOrderableRecommendations(type : Number) : Collection`
457
+
458
+ Returns a list of outgoing recommendations for this category.
459
+
460
+ ### getOutgoingCategoryLinks
461
+
462
+ **Signature:** `getOutgoingCategoryLinks() : Collection`
463
+
464
+ Returns the collection of CategoryLink objects for which this category is the source.
465
+
466
+ ### getOutgoingCategoryLinks
467
+
468
+ **Signature:** `getOutgoingCategoryLinks(type : Number) : Collection`
469
+
470
+ Returns the collection of CategoryLink objects for which this category is the source and which are of the specified type.
471
+
472
+ ### getPageDescription
473
+
474
+ **Signature:** `getPageDescription() : String`
475
+
476
+ Returns the page description of this category for the default locale or null if not defined.
477
+
478
+ ### getPageKeywords
479
+
480
+ **Signature:** `getPageKeywords() : String`
481
+
482
+ Returns the page keywords of this category for the default locale or null if not defined.
483
+
484
+ ### getPageTitle
485
+
486
+ **Signature:** `getPageTitle() : String`
487
+
488
+ Returns the page title of this category for the default locale or null if not defined.
489
+
490
+ ### getPageURL
491
+
492
+ **Signature:** `getPageURL() : String`
493
+
494
+ Returns the page URL property of this category or null if not defined.
495
+
496
+ ### getParent
497
+
498
+ **Signature:** `getParent() : Category`
499
+
500
+ Returns the parent of this category.
501
+
502
+ ### getProductAttributeModel
503
+
504
+ **Signature:** `getProductAttributeModel() : ProductAttributeModel`
505
+
506
+ Returns this category's ProductAttributeModel, which makes access to the category's attribute information convenient.
507
+
508
+ ### getProducts
509
+
510
+ **Signature:** `getProducts() : Collection`
511
+
512
+ Returns all products assigned to this category.
513
+
514
+ ### getRecommendations
515
+
516
+ **Signature:** `getRecommendations() : Collection`
517
+
518
+ Returns the outgoing recommendations for this category.
519
+
520
+ ### getRecommendations
521
+
522
+ **Signature:** `getRecommendations(type : Number) : Collection`
523
+
524
+ Returns the outgoing recommendations for this category which are of the specified type.
525
+
526
+ ### getSearchPlacement
527
+
528
+ **Signature:** `getSearchPlacement() : Number`
529
+
530
+ Returns the search placement of the category or null of no search placement is defined.
531
+
532
+ ### getSearchRank
533
+
534
+ **Signature:** `getSearchRank() : Number`
535
+
536
+ Returns the search rank of the category or null of no search rank is defined.
537
+
538
+ ### getSiteMapChangeFrequency
539
+
540
+ **Signature:** `getSiteMapChangeFrequency() : String`
541
+
542
+ Returns the category's sitemap change frequency.
543
+
544
+ ### getSiteMapIncluded
545
+
546
+ **Signature:** `getSiteMapIncluded() : Number`
547
+
548
+ Returns the category's sitemap inclusion.
549
+
550
+ ### getSiteMapPriority
551
+
552
+ **Signature:** `getSiteMapPriority() : Number`
553
+
554
+ Returns the category's sitemap priority.
555
+
556
+ ### getSubCategories
557
+
558
+ **Signature:** `getSubCategories() : Collection`
559
+
560
+ Returns a sorted collection of the subcategories of this catalog category, including both online and offline subcategories.
561
+
562
+ ### getTemplate
563
+
564
+ **Signature:** `getTemplate() : String`
565
+
566
+ Returns the template property value , which is the file name of the template used to display the catalog category.
567
+
568
+ ### getThumbnail
569
+
570
+ **Signature:** `getThumbnail() : MediaFile`
571
+
572
+ Returns the thumbnail image reference of this catalog category.
573
+
574
+ ### hasOnlineProducts
575
+
576
+ **Signature:** `hasOnlineProducts() : boolean`
577
+
578
+ Returns true if this catalog category has any online products assigned.
579
+
580
+ ### hasOnlineSubCategories
581
+
582
+ **Signature:** `hasOnlineSubCategories() : boolean`
583
+
584
+ Returns true if this catalog category has any online subcategories.
585
+
586
+ ### isDirectSubCategoryOf
587
+
588
+ **Signature:** `isDirectSubCategoryOf(parent : Category) : boolean`
589
+
590
+ Returns true if this category is a direct sub-category of the provided category.
591
+
592
+ ### isOnline
593
+
594
+ **Signature:** `isOnline() : boolean`
595
+
596
+ Returns the value indicating whether the catalog category is "currently online".
597
+
598
+ ### isRoot
599
+
600
+ **Signature:** `isRoot() : boolean`
601
+
602
+ Identifies if the category is the root category of its catalog.
603
+
604
+ ### isSubCategoryOf
605
+
606
+ **Signature:** `isSubCategoryOf(ancestor : Category) : boolean`
607
+
608
+ Returns true if this category is a sub-category of the provided category.
609
+
610
+ ### isTopLevel
611
+
612
+ **Signature:** `isTopLevel() : boolean`
613
+
614
+ Returns true if the category is a top level category, but not the root category.
615
+
616
+ ### setDisplayMode
617
+
618
+ **Signature:** `setDisplayMode(displayMode : Number) : void`
619
+
620
+ Set the category's Variation Groups Display Mode.
621
+
622
+ ### setSearchPlacement
623
+
624
+ **Signature:** `setSearchPlacement(placement : Number) : void`
625
+
626
+ Set the category's search placement.
627
+
628
+ ### setSearchRank
629
+
630
+ **Signature:** `setSearchRank(rank : Number) : void`
631
+
632
+ Set the category's search rank.
633
+
634
+ ## Method Detail
635
+
636
+ ## Method Details
637
+
638
+ ### getAllRecommendations
639
+
640
+ **Signature:** `getAllRecommendations() : Collection`
641
+
642
+ **Description:** Returns all outgoing recommendations for this category. The recommendations are sorted by their explicitly set order.
643
+
644
+ **Returns:**
645
+
646
+ the sorted collection of recommendations, never null but possibly empty.
647
+
648
+ ---
649
+
650
+ ### getAllRecommendations
651
+
652
+ **Signature:** `getAllRecommendations(type : Number) : Collection`
653
+
654
+ **Description:** Returns all outgoing recommendations for this category which are of the specified type. The recommendations are sorted by their explicitly set order.
655
+
656
+ **Parameters:**
657
+
658
+ - `type`: the recommendation type.
659
+
660
+ **Returns:**
661
+
662
+ the sorted collection of recommendations, never null but possibly empty.
663
+
664
+ ---
665
+
666
+ ### getCategoryAssignments
667
+
668
+ **Signature:** `getCategoryAssignments() : Collection`
669
+
670
+ **Description:** Returns a collection of category assignments of the category.
671
+
672
+ **Returns:**
673
+
674
+ Collection of category assignments of the category.
675
+
676
+ ---
677
+
678
+ ### getDefaultSortingRule
679
+
680
+ **Signature:** `getDefaultSortingRule() : SortingRule`
681
+
682
+ **Description:** Returns the default sorting rule configured for this category, or null if there is no default rule to be applied for it. This method returns the default rule for the parent category if this category inherits one. The parent category may inherit its default rule from its parent, and so on, up to the root category. This method returns null if no ancestor category for this category has a default rule.
683
+
684
+ **Returns:**
685
+
686
+ the default SortingRule or null.
687
+
688
+ ---
689
+
690
+ ### getDescription
691
+
692
+ **Signature:** `getDescription() : String`
693
+
694
+ **Description:** Returns the description of the catalog category for the current locale.
695
+
696
+ **Returns:**
697
+
698
+ The value of the property for the current locale, or null if it wasn't found.
699
+
700
+ ---
701
+
702
+ ### getDisplayMode
703
+
704
+ **Signature:** `getDisplayMode() : Number`
705
+
706
+ **Description:** Returns the Variation Groups Display Mode of the category or null if no display mode is defined.
707
+
708
+ **Returns:**
709
+
710
+ the value of the attribute 'displayMode' which is either DISPLAY_MODE_MERGED or DISPLAY_MODE_INDIVIDUAL or null if category is set to inherit the display mode.
711
+
712
+ ---
713
+
714
+ ### getDisplayName
715
+
716
+ **Signature:** `getDisplayName() : String`
717
+
718
+ **Description:** Returns the display name of the of the catalog category for the current locale. This value is intended to be used as the external visible name of the catalog category.
719
+
720
+ **Returns:**
721
+
722
+ The value of the property for the current locale, or null if it wasn't found.
723
+
724
+ ---
725
+
726
+ ### getID
727
+
728
+ **Signature:** `getID() : String`
729
+
730
+ **Description:** Returns the id of the category.
731
+
732
+ **Returns:**
733
+
734
+ the id of the category.
735
+
736
+ ---
737
+
738
+ ### getImage
739
+
740
+ **Signature:** `getImage() : MediaFile`
741
+
742
+ **Description:** Returns the image reference of this catalog category.
743
+
744
+ **Returns:**
745
+
746
+ the image reference for this category.
747
+
748
+ ---
749
+
750
+ ### getIncomingCategoryLinks
751
+
752
+ **Signature:** `getIncomingCategoryLinks() : Collection`
753
+
754
+ **Description:** Returns the collection of CategoryLink objects for which this category is the target. If the source category of a link belongs to a different catalog than the catalog owning this category, it is not returned.
755
+
756
+ **Returns:**
757
+
758
+ a collection of CategoryLink objects, possibly empty but not null.
759
+
760
+ ---
761
+
762
+ ### getIncomingCategoryLinks
763
+
764
+ **Signature:** `getIncomingCategoryLinks(type : Number) : Collection`
765
+
766
+ **Description:** Returns the collection of CategoryLink objects for which this category is the target and which are of the specified type. If the source category of a link belongs to a different catalog than the catalog owning this category, it is not returned.
767
+
768
+ **Parameters:**
769
+
770
+ - `type`: the link type type.
771
+
772
+ **Returns:**
773
+
774
+ a collection of CategoryLink objects, possibly empty but not null.
775
+
776
+ ---
777
+
778
+ ### getOnlineCategoryAssignments
779
+
780
+ **Signature:** `getOnlineCategoryAssignments() : Collection`
781
+
782
+ **Description:** Returns a collection of category assignments of the category where the referenced product is currently online. When checking the online status of the product, the online flag and the online from & to dates are taken into account. Online flag, online from & to dates set for the current site takes precedence over the default values.
783
+
784
+ **Returns:**
785
+
786
+ Collection of online category assignments of the category.
787
+
788
+ ---
789
+
790
+ ### getOnlineFlag
791
+
792
+ **Signature:** `getOnlineFlag() : boolean`
793
+
794
+ **Description:** Returns the online status flag of the category.
795
+
796
+ **Returns:**
797
+
798
+ the online status flag of the category.
799
+
800
+ ---
801
+
802
+ ### getOnlineFrom
803
+
804
+ **Signature:** `getOnlineFrom() : Date`
805
+
806
+ **Description:** Returns the date from which the category is online or valid.
807
+
808
+ **Returns:**
809
+
810
+ the date from which the category is online or valid.
811
+
812
+ ---
813
+
814
+ ### getOnlineIncomingCategoryLinks
815
+
816
+ **Signature:** `getOnlineIncomingCategoryLinks() : Collection`
817
+
818
+ **Description:** Returns the collection of CategoryLink objects for which this category is the target. If the source category of a link belongs to a different catalog than the catalog owning this category, it is not returned. Additionally, this method will only return a link if the source category is currently online. A category is currently online if its online flag equals true and the current site date is within the date range defined by the onlineFrom and onlineTo attributes.
819
+
820
+ **Returns:**
821
+
822
+ a collection of CategoryLink objects, possibly empty but not null.
823
+
824
+ ---
825
+
826
+ ### getOnlineOutgoingCategoryLinks
827
+
828
+ **Signature:** `getOnlineOutgoingCategoryLinks() : Collection`
829
+
830
+ **Description:** Returns the collection of CategoryLink objects for which this category is the source. If the target category of a link belongs to a different catalog than the catalog owning this category, it is not returned. Additionally, this method will only return a link if the target category is currently online. A category is currently online if its online flag equals true and the current site date is within the date range defined by the onlineFrom and onlineTo attributes.
831
+
832
+ **Returns:**
833
+
834
+ a collection of CategoryLink objects, possibly empty but not null.
835
+
836
+ ---
837
+
838
+ ### getOnlineProducts
839
+
840
+ **Signature:** `getOnlineProducts() : Collection`
841
+
842
+ **Description:** Returns online products assigned to this category. Offline products are not included in the returned collection. When checking the online status of the product, the online flag and the online from & to dates are taken into account. Online flag, online from & to dates set for the current site takes precedence over the default values. The order of products in the returned collection corresponds to the defined explicit sorting of products in this category.
843
+
844
+ **Returns:**
845
+
846
+ a sorted collection of online products of this category.
847
+
848
+ **See Also:**
849
+
850
+ hasOnlineProducts()
851
+
852
+ ---
853
+
854
+ ### getOnlineSubCategories
855
+
856
+ **Signature:** `getOnlineSubCategories() : Collection`
857
+
858
+ **Description:** Returns a sorted collection of currently online subcategories of this catalog category. A category is currently online if its online flag equals true and the current site date is within the date range defined by the onlineFrom and onlineTo attributes. The returned collection is sorted by position. Subcategories marked as "unsorted" always appear after those marked as "sorted" but are otherwise not in any guaranteed order. The returned collection contains direct subcategories only.
859
+
860
+ **Returns:**
861
+
862
+ a sorted collection of currently online subcategories.
863
+
864
+ **See Also:**
865
+
866
+ hasOnlineSubCategories()
867
+
868
+ ---
869
+
870
+ ### getOnlineTo
871
+
872
+ **Signature:** `getOnlineTo() : Date`
873
+
874
+ **Description:** Returns the date until which the category is online or valid.
875
+
876
+ **Returns:**
877
+
878
+ the date until which the category is online or valid.
879
+
880
+ ---
881
+
882
+ ### getOrderableRecommendations
883
+
884
+ **Signature:** `getOrderableRecommendations() : Collection`
885
+
886
+ **Description:** Returns a list of outgoing recommendations for this category. This method behaves similarly to getRecommendations() but additionally filters out recommendations for which the target product is unorderable according to its product availability model.
887
+
888
+ **Returns:**
889
+
890
+ the sorted collection of recommendations, never null but possibly empty.
891
+
892
+ **See Also:**
893
+
894
+ ProductAvailabilityModel.isOrderable()
895
+
896
+ ---
897
+
898
+ ### getOrderableRecommendations
899
+
900
+ **Signature:** `getOrderableRecommendations(type : Number) : Collection`
901
+
902
+ **Description:** Returns a list of outgoing recommendations for this category. This method behaves similarly to getRecommendations(Number) but additionally filters out recommendations for which the target product is unorderable according to its product availability model.
903
+
904
+ **Parameters:**
905
+
906
+ - `type`: the recommendation type.
907
+
908
+ **Returns:**
909
+
910
+ the sorted collection of recommendations, never null but possibly empty.
911
+
912
+ **See Also:**
913
+
914
+ ProductAvailabilityModel.isOrderable()
915
+
916
+ ---
917
+
918
+ ### getOutgoingCategoryLinks
919
+
920
+ **Signature:** `getOutgoingCategoryLinks() : Collection`
921
+
922
+ **Description:** Returns the collection of CategoryLink objects for which this category is the source. If the target category of a link belongs to a different catalog than the catalog owning this category, it is not returned. The collection of links is sorted by the explicitly defined order for this category with unsorted links appearing at the end.
923
+
924
+ **Returns:**
925
+
926
+ a collection of CategoryLink objects, possibly empty but not null.
927
+
928
+ ---
929
+
930
+ ### getOutgoingCategoryLinks
931
+
932
+ **Signature:** `getOutgoingCategoryLinks(type : Number) : Collection`
933
+
934
+ **Description:** Returns the collection of CategoryLink objects for which this category is the source and which are of the specified type. If the target category of a link belongs to a different catalog than the catalog owning this category, it is not returned. The collection of links is sorted by the explicitly defined order for this category with unsorted links appearing at the end.
935
+
936
+ **Parameters:**
937
+
938
+ - `type`: the link type type.
939
+
940
+ **Returns:**
941
+
942
+ a collection of CategoryLink objects, possibly empty but not null.
943
+
944
+ ---
945
+
946
+ ### getPageDescription
947
+
948
+ **Signature:** `getPageDescription() : String`
949
+
950
+ **Description:** Returns the page description of this category for the default locale or null if not defined.
951
+
952
+ **Returns:**
953
+
954
+ the value of the attribute 'pageDescription'.
955
+
956
+ ---
957
+
958
+ ### getPageKeywords
959
+
960
+ **Signature:** `getPageKeywords() : String`
961
+
962
+ **Description:** Returns the page keywords of this category for the default locale or null if not defined.
963
+
964
+ **Returns:**
965
+
966
+ the value of the attribute 'pageKeywords'.
967
+
968
+ ---
969
+
970
+ ### getPageTitle
971
+
972
+ **Signature:** `getPageTitle() : String`
973
+
974
+ **Description:** Returns the page title of this category for the default locale or null if not defined.
975
+
976
+ **Returns:**
977
+
978
+ the value of the attribute 'pageTitle'.
979
+
980
+ ---
981
+
982
+ ### getPageURL
983
+
984
+ **Signature:** `getPageURL() : String`
985
+
986
+ **Description:** Returns the page URL property of this category or null if not defined.
987
+
988
+ **Returns:**
989
+
990
+ the value of the attribute 'pageURL'.
991
+
992
+ ---
993
+
994
+ ### getParent
995
+
996
+ **Signature:** `getParent() : Category`
997
+
998
+ **Description:** Returns the parent of this category.
999
+
1000
+ **Returns:**
1001
+
1002
+ a CatalogCategory instance representing the parent of this CatalogCategory or null.
1003
+
1004
+ ---
1005
+
1006
+ ### getProductAttributeModel
1007
+
1008
+ **Signature:** `getProductAttributeModel() : ProductAttributeModel`
1009
+
1010
+ **Description:** Returns this category's ProductAttributeModel, which makes access to the category's attribute information convenient. The model is calculated based on the attribute definitions assigned to this category and the global attribute definitions for the object type 'Product'.
1011
+
1012
+ **Returns:**
1013
+
1014
+ the ProductAttributeModel for this category.
1015
+
1016
+ ---
1017
+
1018
+ ### getProducts
1019
+
1020
+ **Signature:** `getProducts() : Collection`
1021
+
1022
+ **Description:** Returns all products assigned to this category. The order of products in the returned collection corresponds to the defined explicit sorting of products in this category.
1023
+
1024
+ **Returns:**
1025
+
1026
+ a sorted collection of all products of this category.
1027
+
1028
+ **See Also:**
1029
+
1030
+ getOnlineProducts()
1031
+
1032
+ ---
1033
+
1034
+ ### getRecommendations
1035
+
1036
+ **Signature:** `getRecommendations() : Collection`
1037
+
1038
+ **Description:** Returns the outgoing recommendations for this category. If this category is not in the site catalog, or there is no site catalog, an empty collection is returned. Only recommendations for which the target product exists and is assigned to the site catalog are returned. The recommendations are sorted by their explicitly set order.
1039
+
1040
+ **Returns:**
1041
+
1042
+ the sorted collection of recommendations, never null but possibly empty.
1043
+
1044
+ ---
1045
+
1046
+ ### getRecommendations
1047
+
1048
+ **Signature:** `getRecommendations(type : Number) : Collection`
1049
+
1050
+ **Description:** Returns the outgoing recommendations for this category which are of the specified type. Behaves the same as getRecommendations() but additionally filters by recommendation type.
1051
+
1052
+ **Parameters:**
1053
+
1054
+ - `type`: the recommendation type.
1055
+
1056
+ **Returns:**
1057
+
1058
+ the sorted collection of recommendations, never null but possibly empty.
1059
+
1060
+ ---
1061
+
1062
+ ### getSearchPlacement
1063
+
1064
+ **Signature:** `getSearchPlacement() : Number`
1065
+
1066
+ **Description:** Returns the search placement of the category or null of no search placement is defined.
1067
+
1068
+ **Returns:**
1069
+
1070
+ the value of the attribute 'searchPlacement'.
1071
+
1072
+ ---
1073
+
1074
+ ### getSearchRank
1075
+
1076
+ **Signature:** `getSearchRank() : Number`
1077
+
1078
+ **Description:** Returns the search rank of the category or null of no search rank is defined.
1079
+
1080
+ **Returns:**
1081
+
1082
+ the value of the attribute 'searchRank'.
1083
+
1084
+ ---
1085
+
1086
+ ### getSiteMapChangeFrequency
1087
+
1088
+ **Signature:** `getSiteMapChangeFrequency() : String`
1089
+
1090
+ **Description:** Returns the category's sitemap change frequency.
1091
+
1092
+ **Returns:**
1093
+
1094
+ the value of the attribute 'siteMapChangeFrequency'.
1095
+
1096
+ ---
1097
+
1098
+ ### getSiteMapIncluded
1099
+
1100
+ **Signature:** `getSiteMapIncluded() : Number`
1101
+
1102
+ **Description:** Returns the category's sitemap inclusion.
1103
+
1104
+ **Returns:**
1105
+
1106
+ the value of the attribute 'siteMapIncluded'.
1107
+
1108
+ ---
1109
+
1110
+ ### getSiteMapPriority
1111
+
1112
+ **Signature:** `getSiteMapPriority() : Number`
1113
+
1114
+ **Description:** Returns the category's sitemap priority.
1115
+
1116
+ **Returns:**
1117
+
1118
+ the value of the attribute 'siteMapPriority'.
1119
+
1120
+ ---
1121
+
1122
+ ### getSubCategories
1123
+
1124
+ **Signature:** `getSubCategories() : Collection`
1125
+
1126
+ **Description:** Returns a sorted collection of the subcategories of this catalog category, including both online and offline subcategories. The returned collection is sorted by position. Subcategories marked as "unsorted" always appear after those marked as "sorted" but are otherwise not in any guaranteed order. The returned collection contains direct subcategories only.
1127
+
1128
+ **Returns:**
1129
+
1130
+ a sorted collection of the subcategories.
1131
+
1132
+ **See Also:**
1133
+
1134
+ getOnlineSubCategories()
1135
+
1136
+ ---
1137
+
1138
+ ### getTemplate
1139
+
1140
+ **Signature:** `getTemplate() : String`
1141
+
1142
+ **Description:** Returns the template property value , which is the file name of the template used to display the catalog category.
1143
+
1144
+ **Returns:**
1145
+
1146
+ the value of the property 'template'.
1147
+
1148
+ ---
1149
+
1150
+ ### getThumbnail
1151
+
1152
+ **Signature:** `getThumbnail() : MediaFile`
1153
+
1154
+ **Description:** Returns the thumbnail image reference of this catalog category.
1155
+
1156
+ **Returns:**
1157
+
1158
+ the thumbnail image reference for this category.
1159
+
1160
+ ---
1161
+
1162
+ ### hasOnlineProducts
1163
+
1164
+ **Signature:** `hasOnlineProducts() : boolean`
1165
+
1166
+ **Description:** Returns true if this catalog category has any online products assigned. When checking the online status of the product, the online flag and the online from & to dates are taken into account. Online flag, online from & to dates set for the current site takes precedence over the default values.
1167
+
1168
+ **Returns:**
1169
+
1170
+ true, if this category has at least one online product assigned, false otherwise.
1171
+
1172
+ **See Also:**
1173
+
1174
+ getOnlineProducts()
1175
+
1176
+ ---
1177
+
1178
+ ### hasOnlineSubCategories
1179
+
1180
+ **Signature:** `hasOnlineSubCategories() : boolean`
1181
+
1182
+ **Description:** Returns true if this catalog category has any online subcategories. A category is currently online if its online flag equals true and the current site date is within the date range defined by the onlineFrom and onlineTo attributes. Only direct subcategories are considered.
1183
+
1184
+ **Returns:**
1185
+
1186
+ true, if this category has at least one online subcategory, false otherwise.
1187
+
1188
+ **See Also:**
1189
+
1190
+ getOnlineSubCategories()
1191
+
1192
+ ---
1193
+
1194
+ ### isDirectSubCategoryOf
1195
+
1196
+ **Signature:** `isDirectSubCategoryOf(parent : Category) : boolean`
1197
+
1198
+ **Description:** Returns true if this category is a direct sub-category of the provided category.
1199
+
1200
+ **Parameters:**
1201
+
1202
+ - `parent`: The parent category, must not be null.
1203
+
1204
+ **Returns:**
1205
+
1206
+ True if this category is a direct sub-category of parent, false otherwise.
1207
+
1208
+ ---
1209
+
1210
+ ### isOnline
1211
+
1212
+ **Signature:** `isOnline() : boolean`
1213
+
1214
+ **Description:** Returns the value indicating whether the catalog category is "currently online". A category is currently online if its online flag equals true and the current site date is within the date range defined by the onlineFrom and onlineTo attributes.
1215
+
1216
+ **Returns:**
1217
+
1218
+ true if the category is currently online, false otherwise.
1219
+
1220
+ ---
1221
+
1222
+ ### isRoot
1223
+
1224
+ **Signature:** `isRoot() : boolean`
1225
+
1226
+ **Description:** Identifies if the category is the root category of its catalog.
1227
+
1228
+ **Returns:**
1229
+
1230
+ 'true' if the category is the root category of its catalog, 'false' otherwise.
1231
+
1232
+ ---
1233
+
1234
+ ### isSubCategoryOf
1235
+
1236
+ **Signature:** `isSubCategoryOf(ancestor : Category) : boolean`
1237
+
1238
+ **Description:** Returns true if this category is a sub-category of the provided category. This can be either a direct or an indirect sub-category.
1239
+
1240
+ **Parameters:**
1241
+
1242
+ - `ancestor`: The ancestor category, must not be null.
1243
+
1244
+ **Returns:**
1245
+
1246
+ true if this category is a sub-category of ancestor, false otherwise.
1247
+
1248
+ ---
1249
+
1250
+ ### isTopLevel
1251
+
1252
+ **Signature:** `isTopLevel() : boolean`
1253
+
1254
+ **Description:** Returns true if the category is a top level category, but not the root category.
1255
+
1256
+ **Returns:**
1257
+
1258
+ True if the category is a direct sub-category of the root category, false otherwise.
1259
+
1260
+ ---
1261
+
1262
+ ### setDisplayMode
1263
+
1264
+ **Signature:** `setDisplayMode(displayMode : Number) : void`
1265
+
1266
+ **Description:** Set the category's Variation Groups Display Mode.
1267
+
1268
+ **Parameters:**
1269
+
1270
+ - `displayMode`: The category's variation groups display mode which is either DISPLAY_MODE_MERGED or DISPLAY_MODE_INDIVIDUAL or null if category is set to inherit the display mode.
1271
+
1272
+ ---
1273
+
1274
+ ### setSearchPlacement
1275
+
1276
+ **Signature:** `setSearchPlacement(placement : Number) : void`
1277
+
1278
+ **Description:** Set the category's search placement.
1279
+
1280
+ **Parameters:**
1281
+
1282
+ - `placement`: The category's search placement.
1283
+
1284
+ ---
1285
+
1286
+ ### setSearchRank
1287
+
1288
+ **Signature:** `setSearchRank(rank : Number) : void`
1289
+
1290
+ **Description:** Set the category's search rank.
1291
+
1292
+ **Parameters:**
1293
+
1294
+ - `rank`: The category's search rank.
1295
+
1296
+ ---