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, filterFormulaParam
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
Constructor Summary
ConstructorDescriptionPCGroupInputBuilder
(InputBuilderContext builderContext, InputType type, String paramName) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
setPaSearchable
(Boolean paSearchable) Sets the 'paSearchable' property for ProductGroup, CustomerGroup or SellerGroup inputs created viaapi.inputBuilderFactory
.Methods inherited from class AbstractProductAndCustomerInputBuilder
getOrCreateFilterFormula, setAttributeName, setFilterFormulaName, setFilterFormulaParam
Methods inherited from class AbstractInputBuilder
addOrUpdateInput, addToConfiguratorEntry, addToConfiguratorEntry, buildContextParameter, buildMap, getInput, self, setAccessCode, setAlign, setAlwaysEditable, setAppearance, setAutoComplete, setAutoFocus, setCaption, setConfigValues, setCustomAttributeName, setCustomAttributeValue, setDefaultWidth, setDisabled, setDisplayMode, setErrorMessage, setExportable, setFlex, setHelpLink, setHelpText, setIcon, setIconPosition, setImportable, setLabel, setLabelPlacement, setLabelStyle, setLabelTranslations, setLayoutGridName, setNoRefresh, setParameterGroup, setPlaceholderText, setReadOnly, setRequired, setShowInline, setSize, setSuccessMessage, setTheme, setTitle, setUserGroupEdit, setUserGroupView, setValue, 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 totrue
will be available in the corresponding ProductGroup Advanced Filter.When
paSearchable
is set totrue
, the input behaves similarly toapi.datamartProductGroupEntry
, enabling users to search on PX tables marked with "Allow Analytics Search" enabled.When
paSearchable
is 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
- ABoolean
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
- Specified by:
_getInput
in classAbstractInputBuilder<PCGroupInputBuilder,
String>
-