Class MerchSnConfigModel

All Implemented Interfaces:
Serializable

public class MerchSnConfigModel extends ItemModel
Generated model class for type MerchSnConfig first defined at extension merchandisingservices.

Merchandising Configuration.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • SNINDEXTYPE

      public static final String SNINDEXTYPE
      Generated constant - Attribute key of MerchSnConfig.snIndexType attribute defined at extension merchandisingservices.
      See Also:
    • ENABLED

      public static final String ENABLED
      Generated constant - Attribute key of MerchSnConfig.enabled attribute defined at extension merchandisingservices.
      See Also:
    • BASESITE

      public static final String BASESITE
      Generated constant - Attribute key of MerchSnConfig.baseSite attribute defined at extension merchandisingservices.
      See Also:
    • DEFAULTLANGUAGE

      public static final String DEFAULTLANGUAGE
      Generated constant - Attribute key of MerchSnConfig.defaultLanguage attribute defined at extension merchandisingservices.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of MerchSnConfig.currency attribute defined at extension merchandisingservices.
      See Also:
    • BASEIMAGEURL

      public static final String BASEIMAGEURL
      Generated constant - Attribute key of MerchSnConfig.baseImageUrl attribute defined at extension merchandisingservices.
      See Also:
    • BASECATALOGPAGEURL

      public static final String BASECATALOGPAGEURL
      Generated constant - Attribute key of MerchSnConfig.baseCatalogPageUrl attribute defined at extension merchandisingservices.
      See Also:
    • ROLLUPSTRATEGY

      public static final String ROLLUPSTRATEGY
      Generated constant - Attribute key of MerchSnConfig.rollUpStrategy attribute defined at extension merchandisingservices.
      See Also:
    • ROLLUPSTRATEGYFIELD

      public static final String ROLLUPSTRATEGYFIELD
      Generated constant - Attribute key of MerchSnConfig.rollUpStrategyField attribute defined at extension merchandisingservices.
      See Also:
    • CDSIDENTIFIER

      public static final String CDSIDENTIFIER
      Generated constant - Attribute key of MerchSnConfig.cdsIdentifier attribute defined at extension merchandisingservices.
      See Also:
    • DISPLAYNAME

      public static final String DISPLAYNAME
      Generated constant - Attribute key of MerchSnConfig.displayName attribute defined at extension merchandisingservices.
      See Also:
    • MERCHSNFIELDS

      public static final String MERCHSNFIELDS
      Generated constant - Attribute key of MerchSnConfig.merchSnFields attribute defined at extension merchandisingservices.
      See Also:
  • Constructor Details

    • MerchSnConfigModel

      public MerchSnConfigModel()
      Generated constructor - Default constructor for generic creation.
    • MerchSnConfigModel

      public MerchSnConfigModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • MerchSnConfigModel

      @Deprecated(since="4.1.1", forRemoval=true) public MerchSnConfigModel(BaseSiteModel _baseSite, CurrencyModel _currency, LanguageModel _defaultLanguage, String _displayName, String _rollUpStrategyField, SnIndexTypeModel _snIndexType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _baseSite - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _currency - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _defaultLanguage - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _displayName - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _rollUpStrategyField - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _snIndexType - initial attribute declared by type MerchSnConfig at extension merchandisingservices
    • MerchSnConfigModel

      @Deprecated(since="4.1.1", forRemoval=true) public MerchSnConfigModel(BaseSiteModel _baseSite, CurrencyModel _currency, LanguageModel _defaultLanguage, String _displayName, ItemModel _owner, String _rollUpStrategyField, SnIndexTypeModel _snIndexType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _baseSite - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _currency - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _defaultLanguage - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _displayName - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _owner - initial attribute declared by type Item at extension core
      _rollUpStrategyField - initial attribute declared by type MerchSnConfig at extension merchandisingservices
      _snIndexType - initial attribute declared by type MerchSnConfig at extension merchandisingservices
  • Method Details

    • getBaseCatalogPageUrl

      @Accessor(qualifier="baseCatalogPageUrl", type=GETTER) public String getBaseCatalogPageUrl()
      Generated method - Getter of the MerchSnConfig.baseCatalogPageUrl attribute defined at extension merchandisingservices.
      Returns:
      the baseCatalogPageUrl - Domain used for links to products and categories
    • getBaseImageUrl

      @Accessor(qualifier="baseImageUrl", type=GETTER) public String getBaseImageUrl()
      Generated method - Getter of the MerchSnConfig.baseImageUrl attribute defined at extension merchandisingservices.
      Returns:
      the baseImageUrl - Domain from which product images are served
    • getBaseSite

      @Accessor(qualifier="baseSite", type=GETTER) public BaseSiteModel getBaseSite()
      Generated method - Getter of the MerchSnConfig.baseSite attribute defined at extension merchandisingservices.
      Returns:
      the baseSite - Base site for which configuration is defined
    • getCdsIdentifier

      @Accessor(qualifier="cdsIdentifier", type=GETTER) public String getCdsIdentifier()
      Generated method - Getter of the MerchSnConfig.cdsIdentifier attribute defined at extension merchandisingservices.
      Returns:
      the cdsIdentifier - Product directory identifier
    • getCurrency

      @Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
      Generated method - Getter of the MerchSnConfig.currency attribute defined at extension merchandisingservices.
      Returns:
      the currency - Default currency
    • getDefaultLanguage

      @Accessor(qualifier="defaultLanguage", type=GETTER) public LanguageModel getDefaultLanguage()
      Generated method - Getter of the MerchSnConfig.defaultLanguage attribute defined at extension merchandisingservices.
      Returns:
      the defaultLanguage - Default language
    • getDisplayName

      @Accessor(qualifier="displayName", type=GETTER) public String getDisplayName()
      Generated method - Getter of the MerchSnConfig.displayName attribute defined at extension merchandisingservices.
      Returns:
      the displayName - Display name
    • getMerchSnFields

      @Accessor(qualifier="merchSnFields", type=GETTER) public List<MerchSnFieldModel> getMerchSnFields()
      Generated method - Getter of the MerchSnConfig.merchSnFields attribute defined at extension merchandisingservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the merchSnFields
    • getRollUpStrategy

      @Accessor(qualifier="rollUpStrategy", type=GETTER) public String getRollUpStrategy()
      Generated method - Getter of the MerchSnConfig.rollUpStrategy attribute defined at extension merchandisingservices.
      Returns:
      the rollUpStrategy - Roll Up Strategy
    • getRollUpStrategyField

      @Accessor(qualifier="rollUpStrategyField", type=GETTER) public String getRollUpStrategyField()
      Generated method - Getter of the MerchSnConfig.rollUpStrategyField attribute defined at extension merchandisingservices.
      Returns:
      the rollUpStrategyField - Roll Up Strategy Field
    • getSnIndexType

      @Accessor(qualifier="snIndexType", type=GETTER) public SnIndexTypeModel getSnIndexType()
      Generated method - Getter of the MerchSnConfig.snIndexType attribute defined at extension merchandisingservices.
      Returns:
      the snIndexType - Indexed type
    • isEnabled

      @Accessor(qualifier="enabled", type=GETTER) public boolean isEnabled()
      Generated method - Getter of the MerchSnConfig.enabled attribute defined at extension merchandisingservices.
      Returns:
      the enabled - Flag indicating if configuration is enabled
    • setBaseCatalogPageUrl

      @Accessor(qualifier="baseCatalogPageUrl", type=SETTER) public void setBaseCatalogPageUrl(String value)
      Generated method - Setter of MerchSnConfig.baseCatalogPageUrl attribute defined at extension merchandisingservices.
      Parameters:
      value - the baseCatalogPageUrl - Domain used for links to products and categories
    • setBaseImageUrl

      @Accessor(qualifier="baseImageUrl", type=SETTER) public void setBaseImageUrl(String value)
      Generated method - Setter of MerchSnConfig.baseImageUrl attribute defined at extension merchandisingservices.
      Parameters:
      value - the baseImageUrl - Domain from which product images are served
    • setBaseSite

      @Accessor(qualifier="baseSite", type=SETTER) public void setBaseSite(BaseSiteModel value)
      Generated method - Setter of MerchSnConfig.baseSite attribute defined at extension merchandisingservices.
      Parameters:
      value - the baseSite - Base site for which configuration is defined
    • setCdsIdentifier

      @Accessor(qualifier="cdsIdentifier", type=SETTER) public void setCdsIdentifier(String value)
      Generated method - Setter of MerchSnConfig.cdsIdentifier attribute defined at extension merchandisingservices.
      Parameters:
      value - the cdsIdentifier - Product directory identifier
    • setCurrency

      @Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
      Generated method - Setter of MerchSnConfig.currency attribute defined at extension merchandisingservices.
      Parameters:
      value - the currency - Default currency
    • setDefaultLanguage

      @Accessor(qualifier="defaultLanguage", type=SETTER) public void setDefaultLanguage(LanguageModel value)
      Generated method - Setter of MerchSnConfig.defaultLanguage attribute defined at extension merchandisingservices.
      Parameters:
      value - the defaultLanguage - Default language
    • setDisplayName

      @Accessor(qualifier="displayName", type=SETTER) public void setDisplayName(String value)
      Generated method - Setter of MerchSnConfig.displayName attribute defined at extension merchandisingservices.
      Parameters:
      value - the displayName - Display name
    • setEnabled

      @Accessor(qualifier="enabled", type=SETTER) public void setEnabled(boolean value)
      Generated method - Setter of MerchSnConfig.enabled attribute defined at extension merchandisingservices.
      Parameters:
      value - the enabled - Flag indicating if configuration is enabled
    • setMerchSnFields

      @Accessor(qualifier="merchSnFields", type=SETTER) public void setMerchSnFields(List<MerchSnFieldModel> value)
      Generated method - Setter of MerchSnConfig.merchSnFields attribute defined at extension merchandisingservices.
      Parameters:
      value - the merchSnFields
    • setRollUpStrategy

      @Accessor(qualifier="rollUpStrategy", type=SETTER) public void setRollUpStrategy(String value)
      Generated method - Setter of MerchSnConfig.rollUpStrategy attribute defined at extension merchandisingservices.
      Parameters:
      value - the rollUpStrategy - Roll Up Strategy
    • setRollUpStrategyField

      @Accessor(qualifier="rollUpStrategyField", type=SETTER) public void setRollUpStrategyField(String value)
      Generated method - Setter of MerchSnConfig.rollUpStrategyField attribute defined at extension merchandisingservices.
      Parameters:
      value - the rollUpStrategyField - Roll Up Strategy Field
    • setSnIndexType

      @Accessor(qualifier="snIndexType", type=SETTER) public void setSnIndexType(SnIndexTypeModel value)
      Generated method - Initial setter of MerchSnConfig.snIndexType attribute defined at extension merchandisingservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the snIndexType - Indexed type