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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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 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 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.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • 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​(de.hybris.platform.servicelayer.model.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getAnonymousCartRemovalAge()
      Generated method - Getter of the BaseSite.anonymousCartRemovalAge attribute defined at extension acceleratorservices.
      java.lang.Integer getCartRemovalAge()
      Generated method - Getter of the BaseSite.cartRemovalAge attribute defined at extension acceleratorservices.
      CartRemovalCronJobModel getCartRemovalCronJob()
      Generated method - Getter of the BaseSite.cartRemovalCronJob attribute defined at extension acceleratorservices.
      SiteChannel getChannel()
      Generated method - Getter of the BaseSite.channel attribute defined at extension commerceservices.
      LanguageModel getDefaultLanguage()
      Generated method - Getter of the BaseSite.defaultLanguage attribute defined at extension commerceservices.
      PromotionGroupModel getDefaultPromotionGroup()
      Generated method - Getter of the BaseSite.defaultPromotionGroup attribute defined at extension commerceservices.
      java.lang.String getLocale()
      Generated method - Getter of the BaseSite.locale attribute defined at extension commerceservices.
      java.lang.String getLocale​(java.util.Locale loc)
      Generated method - Getter of the BaseSite.locale attribute defined at extension commerceservices.
      java.lang.String getName()
      Generated method - Getter of the BaseSite.name attribute defined at extension basecommerce.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the BaseSite.name attribute defined at extension basecommerce.
      SolrFacetSearchConfigModel getSolrFacetSearchConfiguration()
      Generated method - Getter of the BaseSite.solrFacetSearchConfiguration attribute defined at extension commerceservices.
      java.util.List<BaseStoreModel> getStores()
      Generated method - Getter of the BaseSite.stores attribute defined at extension basecommerce.
      SiteTheme getTheme()
      Generated method - Getter of the BaseSite.theme attribute defined at extension commerceservices.
      java.lang.String getUid()
      Generated method - Getter of the BaseSite.uid attribute defined at extension basecommerce.
      UncollectedOrdersCronJobModel getUncollectedOrdersCronJob()
      Generated method - Getter of the BaseSite.uncollectedOrdersCronJob attribute defined at extension acceleratorservices.
      void setAnonymousCartRemovalAge​(java.lang.Integer value)
      Generated method - Setter of BaseSite.anonymousCartRemovalAge attribute defined at extension acceleratorservices.
      void setCartRemovalAge​(java.lang.Integer value)
      Generated method - Setter of BaseSite.cartRemovalAge attribute defined at extension acceleratorservices.
      void setCartRemovalCronJob​(CartRemovalCronJobModel value)
      Generated method - Setter of BaseSite.cartRemovalCronJob attribute defined at extension acceleratorservices.
      void setChannel​(SiteChannel value)
      Generated method - Setter of BaseSite.channel attribute defined at extension commerceservices.
      void setDefaultLanguage​(LanguageModel value)
      Generated method - Setter of BaseSite.defaultLanguage attribute defined at extension commerceservices.
      void setDefaultPromotionGroup​(PromotionGroupModel value)
      Generated method - Setter of BaseSite.defaultPromotionGroup attribute defined at extension commerceservices.
      void setLocale​(java.lang.String value)
      Generated method - Setter of BaseSite.locale attribute defined at extension commerceservices.
      void setLocale​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of BaseSite.locale attribute defined at extension commerceservices.
      void setName​(java.lang.String value)
      Generated method - Setter of BaseSite.name attribute defined at extension basecommerce.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of BaseSite.name attribute defined at extension basecommerce.
      void setSolrFacetSearchConfiguration​(SolrFacetSearchConfigModel value)
      Generated method - Setter of BaseSite.solrFacetSearchConfiguration attribute defined at extension commerceservices.
      void setStores​(java.util.List<BaseStoreModel> value)
      Generated method - Setter of BaseSite.stores attribute defined at extension basecommerce.
      void setTheme​(SiteTheme value)
      Generated method - Setter of BaseSite.theme attribute defined at extension commerceservices.
      void setUid​(java.lang.String value)
      Generated method - Setter of BaseSite.uid attribute defined at extension basecommerce.
      void setUncollectedOrdersCronJob​(UncollectedOrdersCronJobModel value)
      Generated method - Setter of BaseSite.uncollectedOrdersCronJob attribute defined at extension acceleratorservices.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        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
      • 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
    • Constructor Detail

      • BaseSiteModel

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

        public BaseSiteModel​(de.hybris.platform.servicelayer.model.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.
      • 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.
      • 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.
      • 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.
      • 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