Class PCGroupInputBuilder


public class PCGroupInputBuilder extends AbstractProductAndCustomerInputBuilder<PCGroupInputBuilder,String>
Builder class for input type ProductGroup, CustomerGroup and SellerGroup. (InputType.PRODUCTGROUP, InputType.CUSTOMERGROUP and InputType.SELLERGROUP).
  • Constructor Details

  • Method Details

    • setPaSearchable

      public PCGroupInputBuilder setPaSearchable(Boolean paSearchable)
      Sets the 'paSearchable' property for ProductGroup, CustomerGroup or SellerGroup inputs created via api.inputBuilderFactory. For example, for ProductGroupEntry, it determines whether Product Extensions (PX) with "Allow Analytics Search" set to true will be available in the corresponding ProductGroup Advanced Filter.

      When paSearchable is set to true, the input behaves similarly to api.datamartProductGroupEntry, enabling users to search on PX tables marked with "Allow Analytics Search" enabled.

      When paSearchable is set to false (default), the input allows only searches on PX tables where "Allow Search" is enabled.

      Example:

      
       def builder = api.inputBuilderFactory()
            .createProductGroupEntry("ProductGroup")
            .setPaSearchable(true)
            .buildContextParameter();
       
      Parameters:
      paSearchable - A Boolean indicating whether to enable ('true') or disable ('false') the advanced search on PX/CX/SX tables marked as "Allow Analytics Search". A 'false' value or omission defaults to allowing search only on PX tables with "Allow Search" enabled.
      Returns:
      This PCGroupInputBuilder instance
      Since:
      13.0 - Rampur
      See Also:
    • _getInput

      protected Object _getInput()
      Specified by:
      _getInput in class AbstractInputBuilder<PCGroupInputBuilder,String>