Class BaseSiteModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CMSSiteModel

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String _GIGYACONFIG2CMSSITE
      Generated relation code constant for relation GigyaConfig2CMSSite defining source attribute gigyaConfig in extension gigyaloginaddon.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ANONYMOUSCARTREMOVALAGE
      Generated constant - Attribute key of BaseSite.anonymousCartRemovalAge attribute defined at extension acceleratorservices.
      static java.lang.String CARTREMOVALAGE
      Generated constant - Attribute key of BaseSite.cartRemovalAge attribute defined at extension acceleratorservices.
      static java.lang.String CARTREMOVALCRONJOB
      Generated constant - Attribute key of BaseSite.cartRemovalCronJob attribute defined at extension acceleratorservices.
      static java.lang.String CHANNEL
      Generated constant - Attribute key of BaseSite.channel attribute defined at extension commerceservices.
      static java.lang.String CXCONFIG
      Generated constant - Attribute key of BaseSite.cxConfig attribute defined at extension personalizationservices.
      static java.lang.String DEFAULTLANGUAGE
      Generated constant - Attribute key of BaseSite.defaultLanguage attribute defined at extension commerceservices.
      static java.lang.String DEFAULTPROMOTIONGROUP
      Generated constant - Attribute key of BaseSite.defaultPromotionGroup attribute defined at extension commerceservices.
      static java.lang.String GIGYACONFIG
      Generated constant - Attribute key of BaseSite.gigyaConfig attribute defined at extension gigyaloginaddon.
      static java.lang.String LOCALE
      Generated constant - Attribute key of BaseSite.locale attribute defined at extension commerceservices.
      static java.lang.String NAME
      Generated constant - Attribute key of BaseSite.name attribute defined at extension basecommerce.
      static java.lang.String SOLRFACETSEARCHCONFIGURATION
      Generated constant - Attribute key of BaseSite.solrFacetSearchConfiguration attribute defined at extension commerceservices.
      static java.lang.String STORES
      Generated constant - Attribute key of BaseSite.stores attribute defined at extension basecommerce.
      static java.lang.String THEME
      Generated constant - Attribute key of BaseSite.theme attribute defined at extension commerceservices.
      static java.lang.String UID
      Generated constant - Attribute key of BaseSite.uid attribute defined at extension basecommerce.
      static java.lang.String UNCOLLECTEDORDERSCRONJOB
      Generated constant - Attribute key of BaseSite.uncollectedOrdersCronJob attribute defined at extension acceleratorservices.
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseSiteModel()
      Generated constructor - Default constructor for generic creation.
      BaseSiteModel​(ItemModel _owner, java.lang.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
      BaseSiteModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      BaseSiteModel​(java.lang.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
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _GIGYACONFIG2CMSSITE

        public static final java.lang.String _GIGYACONFIG2CMSSITE
        Generated relation code constant for relation GigyaConfig2CMSSite defining source attribute gigyaConfig in extension gigyaloginaddon.
        See Also:
        Constant Field Values
      • UID

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

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

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

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

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

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

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

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

        public static final java.lang.String SOLRFACETSEARCHCONFIGURATION
        Generated constant - Attribute key of BaseSite.solrFacetSearchConfiguration attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • CXCONFIG

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

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

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

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

        public static final java.lang.String UNCOLLECTEDORDERSCRONJOB
        Generated constant - Attribute key of BaseSite.uncollectedOrdersCronJob attribute defined at extension acceleratorservices.
        See Also:
        Constant Field Values
      • GIGYACONFIG

        public static final java.lang.String GIGYACONFIG
        Generated constant - Attribute key of BaseSite.gigyaConfig attribute defined at extension gigyaloginaddon.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.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,
                             java.lang.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 Detail

      • getAnonymousCartRemovalAge

        @Accessor(qualifier="anonymousCartRemovalAge",
                  type=GETTER)
        public java.lang.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 java.lang.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.
      • getGigyaConfig

        @Accessor(qualifier="gigyaConfig",
                  type=GETTER)
        public GigyaConfigModel getGigyaConfig()
        Generated method - Getter of the BaseSite.gigyaConfig attribute defined at extension gigyaloginaddon.
        Returns:
        the gigyaConfig
      • getLocale

        @Accessor(qualifier="locale",
                  type=GETTER)
        public java.lang.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 java.lang.String getLocale​(java.util.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:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getName

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

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName​(java.util.Locale loc)
        Generated method - Getter of the BaseSite.name attribute defined at extension basecommerce.
        Parameters:
        loc - the value localization key
        Returns:
        the name
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • 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 java.util.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 java.lang.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
      • setAnonymousCartRemovalAge

        @Accessor(qualifier="anonymousCartRemovalAge",
                  type=SETTER)
        public void setAnonymousCartRemovalAge​(java.lang.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​(java.lang.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.
      • setGigyaConfig

        @Accessor(qualifier="gigyaConfig",
                  type=SETTER)
        public void setGigyaConfig​(GigyaConfigModel value)
        Generated method - Setter of BaseSite.gigyaConfig attribute defined at extension gigyaloginaddon.
        Parameters:
        value - the gigyaConfig
      • setLocale

        @Accessor(qualifier="locale",
                  type=SETTER)
        public void setLocale​(java.lang.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​(java.lang.String value,
                              java.util.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:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.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​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of BaseSite.name attribute defined at extension basecommerce.
        Parameters:
        value - the name
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • 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​(java.util.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​(java.lang.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