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).-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInputBuilder
AbstractInputBuilder.InputWidth -
Field Summary
Fields inherited from class AbstractProductAndCustomerInputBuilder
attributeName, filterFormulaName, filterFormulaParamFields inherited from class AbstractInputBuilder
builderContext, cp -
Constructor Summary
ConstructorsConstructorDescriptionPCGroupInputBuilder(InputBuilderContext builderContext, InputType type, String paramName) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectsetPaSearchable(Boolean paSearchable) Sets the 'paSearchable' property for ProductGroup, CustomerGroup or SellerGroup inputs created viaapi.inputBuilderFactory.Methods inherited from class AbstractProductAndCustomerInputBuilder
getOrCreateFilterFormula, setAttributeName, setFilterFormulaName, setFilterFormulaParamMethods inherited from class AbstractInputBuilder
addOrUpdateInput, addToConfiguratorEntry, addToConfiguratorEntry, buildContextParameter, buildMap, getInput, self, setAccessCode, setAlign, setAllValueTypesTracking, setAlwaysEditable, setAppearance, setAutoComplete, setAutoFocus, setCaption, setConfigValues, setCustomAttributeName, setCustomAttributeValue, setDefaultValueTracking, setDefaultWidth, setDisabled, setDisplayMode, setErrorMessage, setExportable, setFirstRunTracking, setFlex, setHelpLink, setHelpText, setIcon, setIconPosition, setImportable, setLabel, setLabelPlacement, setLabelStyle, setLabelTranslations, setLayoutGridName, setLogActivity, setNoRefresh, setParameterGroup, setPlaceholderText, setPreviousValueTracking, setReadOnly, setRequired, setShowInline, setSize, setStoreAuditTrail, setSuccessMessage, setTab, setTheme, setTitle, setTrackedValue, setUserGroupEdit, setUserGroupEdit, setUserGroupView, setUserGroupView, setValue, setValueChangeTracking, setValueHint, setWarningMessage, setWidth
-
Constructor Details
-
PCGroupInputBuilder
-
-
Method Details
-
setPaSearchable
Sets the 'paSearchable' property for ProductGroup, CustomerGroup or SellerGroup inputs created viaapi.inputBuilderFactory. For example, for ProductGroupEntry, it determines whether Product Extensions (PX) with "Allow Analytics Search" set totruewill be available in the corresponding ProductGroup Advanced Filter.When
paSearchableis set totrue, the input behaves similarly toapi.datamartProductGroupEntry, enabling users to search on PX tables marked with "Allow Analytics Search" enabled.When
paSearchableis set tofalse(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- ABooleanindicating 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
PCGroupInputBuilderinstance - Since:
- 13.0 - Rampur
- See Also:
-
_getInput
- Specified by:
_getInputin classAbstractInputBuilder<PCGroupInputBuilder,String>
-