ccrz.ccLogicProductUrlFor.process

Overrides the base ccrz.ccLogic.process method, and invokes the other methods for this class.

Compatibility

This reference applies to:

Release Managed Package Version API Version
B2B Commerce for Visualforce Winter ’21 4.13 12
B2B Commerce for Visualforce Spring ’20 4.12 11
B2B Commerce for Visualforce Summer ’19 4.11 10

Signature

global virtual Map<String, Object> process(Map<String, Object>)

Inputs (Required)

This method accepts a Map<String, Object>, which was the input data for the ccrz.ccApiProduct.getUrlFor method.

Logic Performed

This method invokes other methods of the ccrz.ccLogicProductUrlFor class in the following order:

  1. processInput
  2. fetchProductCategories or fetchProducts
  3. fetchCategoryUrls
  4. mapProductUrl
  5. prepReturn

Outputs

This method returns the resulting Map<String, Object> after all inner methods have completed.

This method doesn't catch any exceptions that occur as the method executes.

Note