Class BaseSiteModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CMSSiteModel

public class BaseSiteModel extends ItemModel
Generated model class for type BaseSite first defined at extension basecommerce.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _MERCHPRODUCTDIR2BASESITE
      Generated relation code constant for relation MerchProductDir2BaseSite defining source attribute merchProductDirectoryConfig in extension merchandisingservices.
      See Also:
    • UID

      public static final String UID
      Generated constant - Attribute key of BaseSite.uid attribute defined at extension basecommerce.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of BaseSite.name attribute defined at extension basecommerce.
      See Also:
    • STORES

      public static final String STORES
      Generated constant - Attribute key of BaseSite.stores attribute defined at extension basecommerce.
      See Also:
    • THEME

      public static final String THEME
      Generated constant - Attribute key of BaseSite.theme attribute defined at extension commerceservices.
      See Also:
    • DEFAULTLANGUAGE

      public static final String DEFAULTLANGUAGE
      Generated constant - Attribute key of BaseSite.defaultLanguage attribute defined at extension commerceservices.
      See Also:
    • LOCALE

      public static final String LOCALE
      Generated constant - Attribute key of BaseSite.locale attribute defined at extension commerceservices.
      See Also:
    • CHANNEL

      public static final String CHANNEL
      Generated constant - Attribute key of BaseSite.channel attribute defined at extension commerceservices.
      See Also:
    • DEFAULTPROMOTIONGROUP

      public static final String DEFAULTPROMOTIONGROUP
      Generated constant - Attribute key of BaseSite.defaultPromotionGroup attribute defined at extension commerceservices.
      See Also:
    • SOLRFACETSEARCHCONFIGURATION

      public static final String SOLRFACETSEARCHCONFIGURATION
      Generated constant - Attribute key of BaseSite.solrFacetSearchConfiguration attribute defined at extension commerceservices.
      See Also:
    • DEFAULTSTOCKLEVELTHRESHOLD

      public static final String DEFAULTSTOCKLEVELTHRESHOLD
      Generated constant - Attribute key of BaseSite.defaultStockLevelThreshold attribute defined at extension commerceservices.
      See Also:
    • PRODUCTINDEXTYPE

      public static final String PRODUCTINDEXTYPE
      Generated constant - Attribute key of BaseSite.productIndexType attribute defined at extension commerceservices.
      See Also:
    • REQUIRESAUTHENTICATION

      public static final String REQUIRESAUTHENTICATION
      Generated constant - Attribute key of BaseSite.requiresAuthentication attribute defined at extension b2bcommerce.
      See Also:
    • ENABLEREGISTRATION

      public static final String ENABLEREGISTRATION
      Generated constant - Attribute key of BaseSite.enableRegistration attribute defined at extension b2bcommerce.
      See Also:
    • MERCHPRODUCTDIRECTORYCONFIGPOS

      public static final String MERCHPRODUCTDIRECTORYCONFIGPOS
      Generated constant - Attribute key of BaseSite.merchProductDirectoryConfigPOS attribute defined at extension merchandisingservices.
      See Also:
    • MERCHPRODUCTDIRECTORYCONFIG

      public static final String MERCHPRODUCTDIRECTORYCONFIG
      Generated constant - Attribute key of BaseSite.merchProductDirectoryConfig attribute defined at extension merchandisingservices.
      See Also:
    • CXCONFIG

      public static final String CXCONFIG
      Generated constant - Attribute key of BaseSite.cxConfig attribute defined at extension personalizationservices.
      See Also:
    • CARTREMOVALAGE

      public static final String CARTREMOVALAGE
      Generated constant - Attribute key of BaseSite.cartRemovalAge attribute defined at extension acceleratorservices.
      See Also:
    • ANONYMOUSCARTREMOVALAGE

      public static final String ANONYMOUSCARTREMOVALAGE
      Generated constant - Attribute key of BaseSite.anonymousCartRemovalAge attribute defined at extension acceleratorservices.
      See Also:
    • CARTREMOVALCRONJOB

      public static final String CARTREMOVALCRONJOB
      Generated constant - Attribute key of BaseSite.cartRemovalCronJob attribute defined at extension acceleratorservices.
      See Also:
    • UNCOLLECTEDORDERSCRONJOB

      public static final String UNCOLLECTEDORDERSCRONJOB
      Generated constant - Attribute key of BaseSite.uncollectedOrdersCronJob attribute defined at extension acceleratorservices.
      See Also:
  • Constructor Details

    • BaseSiteModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public BaseSiteModel(String _uid)
      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:
      _uid - initial attribute declared by type BaseSite at extension basecommerce
    • BaseSiteModel

      @Deprecated(since="4.1.1", forRemoval=true) public BaseSiteModel(ItemModel _owner, String _uid)
      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:
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type BaseSite at extension basecommerce
  • Method Details

    • getAnonymousCartRemovalAge

      @Accessor(qualifier="anonymousCartRemovalAge", type=GETTER) public Integer getAnonymousCartRemovalAge()
      Generated method - Getter of the BaseSite.anonymousCartRemovalAge attribute defined at extension acceleratorservices.
      Returns:
      the anonymousCartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 14 days.
    • getCartRemovalAge

      @Accessor(qualifier="cartRemovalAge", type=GETTER) public Integer getCartRemovalAge()
      Generated method - Getter of the BaseSite.cartRemovalAge attribute defined at extension acceleratorservices.
      Returns:
      the cartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 28 days.
    • getCartRemovalCronJob

      @Accessor(qualifier="cartRemovalCronJob", type=GETTER) public CartRemovalCronJobModel getCartRemovalCronJob()
      Generated method - Getter of the BaseSite.cartRemovalCronJob attribute defined at extension acceleratorservices.
      Returns:
      the cartRemovalCronJob
    • getChannel

      @Accessor(qualifier="channel", type=GETTER) public SiteChannel getChannel()
      Generated method - Getter of the BaseSite.channel attribute defined at extension commerceservices.
      Returns:
      the channel - The channel for this site.
    • getCxConfig

      @Accessor(qualifier="cxConfig", type=GETTER) public CxConfigModel getCxConfig()
      Generated method - Getter of the BaseSite.cxConfig attribute defined at extension personalizationservices.
      Returns:
      the cxConfig
    • getDefaultLanguage

      @Accessor(qualifier="defaultLanguage", type=GETTER) public LanguageModel getDefaultLanguage()
      Generated method - Getter of the BaseSite.defaultLanguage attribute defined at extension commerceservices.
      Returns:
      the defaultLanguage - The default language for the site.
    • getDefaultPromotionGroup

      @Accessor(qualifier="defaultPromotionGroup", type=GETTER) public PromotionGroupModel getDefaultPromotionGroup()
      Generated method - Getter of the BaseSite.defaultPromotionGroup attribute defined at extension commerceservices.
      Returns:
      the defaultPromotionGroup - The default promotion group for the site.
    • getDefaultStockLevelThreshold

      @Accessor(qualifier="defaultStockLevelThreshold", type=GETTER) public Integer getDefaultStockLevelThreshold()
      Generated method - Getter of the BaseSite.defaultStockLevelThreshold attribute defined at extension commerceservices.
      Returns:
      the defaultStockLevelThreshold - Indicates the threshold default value.
    • getLocale

      @Accessor(qualifier="locale", type=GETTER) public String getLocale()
      Generated method - Getter of the BaseSite.locale attribute defined at extension commerceservices.
      Returns:
      the locale - The locale to use for each language.
    • getLocale

      @Accessor(qualifier="locale", type=GETTER) public String getLocale(Locale loc)
      Generated method - Getter of the BaseSite.locale attribute defined at extension commerceservices.
      Parameters:
      loc - the value localization key
      Returns:
      the locale - The locale to use for each language.
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getMerchProductDirectoryConfig

      @Accessor(qualifier="merchProductDirectoryConfig", type=GETTER) public MerchProductDirectoryConfigModel getMerchProductDirectoryConfig()
      Generated method - Getter of the BaseSite.merchProductDirectoryConfig attribute defined at extension merchandisingservices.
      Returns:
      the merchProductDirectoryConfig
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the BaseSite.name attribute defined at extension basecommerce.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the BaseSite.name attribute defined at extension basecommerce.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getProductIndexType

      @Accessor(qualifier="productIndexType", type=GETTER) public SnIndexTypeModel getProductIndexType()
      Generated method - Getter of the BaseSite.productIndexType attribute defined at extension commerceservices.
      Returns:
      the productIndexType
    • getSolrFacetSearchConfiguration

      @Accessor(qualifier="solrFacetSearchConfiguration", type=GETTER) public SolrFacetSearchConfigModel getSolrFacetSearchConfiguration()
      Generated method - Getter of the BaseSite.solrFacetSearchConfiguration attribute defined at extension commerceservices.
      Returns:
      the solrFacetSearchConfiguration - Solr search configuration for this site.
    • getStores

      @Accessor(qualifier="stores", type=GETTER) public List<BaseStoreModel> getStores()
      Generated method - Getter of the BaseSite.stores attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the stores
    • getTheme

      @Accessor(qualifier="theme", type=GETTER) public SiteTheme getTheme()
      Generated method - Getter of the BaseSite.theme attribute defined at extension commerceservices.
      Returns:
      the theme - The site theme that is used in this site.
    • getUid

      @Accessor(qualifier="uid", type=GETTER) public String getUid()
      Generated method - Getter of the BaseSite.uid attribute defined at extension basecommerce.
      Returns:
      the uid
    • getUncollectedOrdersCronJob

      @Accessor(qualifier="uncollectedOrdersCronJob", type=GETTER) public UncollectedOrdersCronJobModel getUncollectedOrdersCronJob()
      Generated method - Getter of the BaseSite.uncollectedOrdersCronJob attribute defined at extension acceleratorservices.
      Returns:
      the uncollectedOrdersCronJob
    • isEnableRegistration

      @Accessor(qualifier="enableRegistration", type=GETTER) public boolean isEnableRegistration()
      Generated method - Getter of the BaseSite.enableRegistration attribute defined at extension b2bcommerce.
      Returns:
      the enableRegistration - Indicates if the website supports registration request.
    • isRequiresAuthentication

      @Accessor(qualifier="requiresAuthentication", type=GETTER) public boolean isRequiresAuthentication()
      Generated method - Getter of the BaseSite.requiresAuthentication attribute defined at extension b2bcommerce.
      Returns:
      the requiresAuthentication - Indicates if the website requires authentication or not.
    • setAnonymousCartRemovalAge

      @Accessor(qualifier="anonymousCartRemovalAge", type=SETTER) public void setAnonymousCartRemovalAge(Integer value)
      Generated method - Setter of BaseSite.anonymousCartRemovalAge attribute defined at extension acceleratorservices.
      Parameters:
      value - the anonymousCartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 14 days.
    • setCartRemovalAge

      @Accessor(qualifier="cartRemovalAge", type=SETTER) public void setCartRemovalAge(Integer value)
      Generated method - Setter of BaseSite.cartRemovalAge attribute defined at extension acceleratorservices.
      Parameters:
      value - the cartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 28 days.
    • setCartRemovalCronJob

      @Accessor(qualifier="cartRemovalCronJob", type=SETTER) public void setCartRemovalCronJob(CartRemovalCronJobModel value)
      Generated method - Setter of BaseSite.cartRemovalCronJob attribute defined at extension acceleratorservices.
      Parameters:
      value - the cartRemovalCronJob
    • setChannel

      @Accessor(qualifier="channel", type=SETTER) public void setChannel(SiteChannel value)
      Generated method - Setter of BaseSite.channel attribute defined at extension commerceservices.
      Parameters:
      value - the channel - The channel for this site.
    • setCxConfig

      @Accessor(qualifier="cxConfig", type=SETTER) public void setCxConfig(CxConfigModel value)
      Generated method - Setter of BaseSite.cxConfig attribute defined at extension personalizationservices.
      Parameters:
      value - the cxConfig
    • setDefaultLanguage

      @Accessor(qualifier="defaultLanguage", type=SETTER) public void setDefaultLanguage(LanguageModel value)
      Generated method - Setter of BaseSite.defaultLanguage attribute defined at extension commerceservices.
      Parameters:
      value - the defaultLanguage - The default language for the site.
    • setDefaultPromotionGroup

      @Accessor(qualifier="defaultPromotionGroup", type=SETTER) public void setDefaultPromotionGroup(PromotionGroupModel value)
      Generated method - Setter of BaseSite.defaultPromotionGroup attribute defined at extension commerceservices.
      Parameters:
      value - the defaultPromotionGroup - The default promotion group for the site.
    • setDefaultStockLevelThreshold

      @Accessor(qualifier="defaultStockLevelThreshold", type=SETTER) public void setDefaultStockLevelThreshold(Integer value)
      Generated method - Setter of BaseSite.defaultStockLevelThreshold attribute defined at extension commerceservices.
      Parameters:
      value - the defaultStockLevelThreshold - Indicates the threshold default value.
    • setEnableRegistration

      @Accessor(qualifier="enableRegistration", type=SETTER) public void setEnableRegistration(boolean value)
      Generated method - Setter of BaseSite.enableRegistration attribute defined at extension b2bcommerce.
      Parameters:
      value - the enableRegistration - Indicates if the website supports registration request.
    • setLocale

      @Accessor(qualifier="locale", type=SETTER) public void setLocale(String value)
      Generated method - Setter of BaseSite.locale attribute defined at extension commerceservices.
      Parameters:
      value - the locale - The locale to use for each language.
    • setLocale

      @Accessor(qualifier="locale", type=SETTER) public void setLocale(String value, Locale loc)
      Generated method - Setter of BaseSite.locale attribute defined at extension commerceservices.
      Parameters:
      value - the locale - The locale to use for each language.
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setMerchProductDirectoryConfig

      @Accessor(qualifier="merchProductDirectoryConfig", type=SETTER) public void setMerchProductDirectoryConfig(MerchProductDirectoryConfigModel value)
      Generated method - Setter of BaseSite.merchProductDirectoryConfig attribute defined at extension merchandisingservices.
      Parameters:
      value - the merchProductDirectoryConfig
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of BaseSite.name attribute defined at extension basecommerce.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of BaseSite.name attribute defined at extension basecommerce.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setProductIndexType

      @Accessor(qualifier="productIndexType", type=SETTER) public void setProductIndexType(SnIndexTypeModel value)
      Generated method - Setter of BaseSite.productIndexType attribute defined at extension commerceservices.
      Parameters:
      value - the productIndexType
    • setRequiresAuthentication

      @Accessor(qualifier="requiresAuthentication", type=SETTER) public void setRequiresAuthentication(boolean value)
      Generated method - Setter of BaseSite.requiresAuthentication attribute defined at extension b2bcommerce.
      Parameters:
      value - the requiresAuthentication - Indicates if the website requires authentication or not.
    • setSolrFacetSearchConfiguration

      @Accessor(qualifier="solrFacetSearchConfiguration", type=SETTER) public void setSolrFacetSearchConfiguration(SolrFacetSearchConfigModel value)
      Generated method - Setter of BaseSite.solrFacetSearchConfiguration attribute defined at extension commerceservices.
      Parameters:
      value - the solrFacetSearchConfiguration - Solr search configuration for this site.
    • setStores

      @Accessor(qualifier="stores", type=SETTER) public void setStores(List<BaseStoreModel> value)
      Generated method - Setter of BaseSite.stores attribute defined at extension basecommerce.
      Parameters:
      value - the stores
    • setTheme

      @Accessor(qualifier="theme", type=SETTER) public void setTheme(SiteTheme value)
      Generated method - Setter of BaseSite.theme attribute defined at extension commerceservices.
      Parameters:
      value - the theme - The site theme that is used in this site.
    • setUid

      @Accessor(qualifier="uid", type=SETTER) public void setUid(String value)
      Generated method - Setter of BaseSite.uid attribute defined at extension basecommerce.
      Parameters:
      value - the uid
    • setUncollectedOrdersCronJob

      @Accessor(qualifier="uncollectedOrdersCronJob", type=SETTER) public void setUncollectedOrdersCronJob(UncollectedOrdersCronJobModel value)
      Generated method - Setter of BaseSite.uncollectedOrdersCronJob attribute defined at extension acceleratorservices.
      Parameters:
      value - the uncollectedOrdersCronJob