Class BaseSiteModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.basecommerce.model.site.BaseSiteModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CMSSiteModel
Generated model class for type BaseSite first defined at extension basecommerce.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationSiteEmpGrp2BaseSiteReldefining source attributesiteEmployeeGroupsin extensioncommerceservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofBaseSite.anonymousCartRemovalAgeattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofBaseSite.cartRemovalAgeattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofBaseSite.cartRemovalCronJobattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofBaseSite.channelattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.dataIsolationEnabledattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.defaultLanguageattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.defaultPromotionGroupattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.defaultStockLevelThresholdattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.enableRegistrationattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofBaseSite.localeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.nameattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofBaseSite.productIndexTypeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.requiresAuthenticationattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.siteEmployeeGroupsattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.solrFacetSearchConfigurationattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.storesattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofBaseSite.themeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofBaseSite.uidattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofBaseSite.uncollectedOrdersCronJobattribute defined at extensionacceleratorservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.BaseSiteModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextBaseSiteModel(Boolean _dataIsolationEnabled, 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 parametersBaseSiteModel(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theBaseSite.anonymousCartRemovalAgeattribute defined at extensionacceleratorservices.Generated method - Getter of theBaseSite.cartRemovalAgeattribute defined at extensionacceleratorservices.Generated method - Getter of theBaseSite.cartRemovalCronJobattribute defined at extensionacceleratorservices.Generated method - Getter of theBaseSite.channelattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.dataIsolationEnabledattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.defaultLanguageattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.defaultPromotionGroupattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.defaultStockLevelThresholdattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.localeattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.localeattribute defined at extensioncommerceservices.getName()Generated method - Getter of theBaseSite.nameattribute defined at extensionbasecommerce.Generated method - Getter of theBaseSite.nameattribute defined at extensionbasecommerce.Generated method - Getter of theBaseSite.productIndexTypeattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.siteEmployeeGroupsattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.solrFacetSearchConfigurationattribute defined at extensioncommerceservices.Generated method - Getter of theBaseSite.storesattribute defined at extensionbasecommerce.getTheme()Generated method - Getter of theBaseSite.themeattribute defined at extensioncommerceservices.getUid()Generated method - Getter of theBaseSite.uidattribute defined at extensionbasecommerce.Generated method - Getter of theBaseSite.uncollectedOrdersCronJobattribute defined at extensionacceleratorservices.booleanGenerated method - Getter of theBaseSite.enableRegistrationattribute defined at extensionb2bcommerce.booleanGenerated method - Getter of theBaseSite.requiresAuthenticationattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.anonymousCartRemovalAgeattribute defined at extensionacceleratorservices.voidsetCartRemovalAge(Integer value) Generated method - Setter ofBaseSite.cartRemovalAgeattribute defined at extensionacceleratorservices.voidGenerated method - Setter ofBaseSite.cartRemovalCronJobattribute defined at extensionacceleratorservices.voidsetChannel(SiteChannel value) Generated method - Setter ofBaseSite.channelattribute defined at extensioncommerceservices.voidsetDataIsolationEnabled(Boolean value) Generated method - Initial setter ofBaseSite.dataIsolationEnabledattribute defined at extensioncommerceservices.voidsetDefaultLanguage(LanguageModel value) Generated method - Setter ofBaseSite.defaultLanguageattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.defaultPromotionGroupattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.defaultStockLevelThresholdattribute defined at extensioncommerceservices.voidsetEnableRegistration(boolean value) Generated method - Setter ofBaseSite.enableRegistrationattribute defined at extensionb2bcommerce.voidGenerated method - Setter ofBaseSite.localeattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.localeattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofBaseSite.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofBaseSite.productIndexTypeattribute defined at extensioncommerceservices.voidsetRequiresAuthentication(boolean value) Generated method - Setter ofBaseSite.requiresAuthenticationattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.siteEmployeeGroupsattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.solrFacetSearchConfigurationattribute defined at extensioncommerceservices.voidsetStores(List<BaseStoreModel> value) Generated method - Setter ofBaseSite.storesattribute defined at extensionbasecommerce.voidGenerated method - Setter ofBaseSite.themeattribute defined at extensioncommerceservices.voidGenerated method - Setter ofBaseSite.uidattribute defined at extensionbasecommerce.voidGenerated method - Setter ofBaseSite.uncollectedOrdersCronJobattribute defined at extensionacceleratorservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_SITEEMPGRP2BASESITEREL
Generated relation code constant for relationSiteEmpGrp2BaseSiteReldefining source attributesiteEmployeeGroupsin extensioncommerceservices.- See Also:
-
UID
Generated constant - Attribute key ofBaseSite.uidattribute defined at extensionbasecommerce.- See Also:
-
NAME
Generated constant - Attribute key ofBaseSite.nameattribute defined at extensionbasecommerce.- See Also:
-
STORES
Generated constant - Attribute key ofBaseSite.storesattribute defined at extensionbasecommerce.- See Also:
-
REQUIRESAUTHENTICATION
Generated constant - Attribute key ofBaseSite.requiresAuthenticationattribute defined at extensioncommerceservices.- See Also:
-
THEME
Generated constant - Attribute key ofBaseSite.themeattribute defined at extensioncommerceservices.- See Also:
-
DEFAULTLANGUAGE
Generated constant - Attribute key ofBaseSite.defaultLanguageattribute defined at extensioncommerceservices.- See Also:
-
LOCALE
Generated constant - Attribute key ofBaseSite.localeattribute defined at extensioncommerceservices.- See Also:
-
CHANNEL
Generated constant - Attribute key ofBaseSite.channelattribute defined at extensioncommerceservices.- See Also:
-
DEFAULTPROMOTIONGROUP
Generated constant - Attribute key ofBaseSite.defaultPromotionGroupattribute defined at extensioncommerceservices.- See Also:
-
SOLRFACETSEARCHCONFIGURATION
Generated constant - Attribute key ofBaseSite.solrFacetSearchConfigurationattribute defined at extensioncommerceservices.- See Also:
-
DEFAULTSTOCKLEVELTHRESHOLD
Generated constant - Attribute key ofBaseSite.defaultStockLevelThresholdattribute defined at extensioncommerceservices.- See Also:
-
DATAISOLATIONENABLED
Generated constant - Attribute key ofBaseSite.dataIsolationEnabledattribute defined at extensioncommerceservices.- See Also:
-
SITEEMPLOYEEGROUPS
Generated constant - Attribute key ofBaseSite.siteEmployeeGroupsattribute defined at extensioncommerceservices.- See Also:
-
PRODUCTINDEXTYPE
Generated constant - Attribute key ofBaseSite.productIndexTypeattribute defined at extensioncommerceservices.- See Also:
-
ENABLEREGISTRATION
Generated constant - Attribute key ofBaseSite.enableRegistrationattribute defined at extensionb2bcommerce.- See Also:
-
CARTREMOVALAGE
Generated constant - Attribute key ofBaseSite.cartRemovalAgeattribute defined at extensionacceleratorservices.- See Also:
-
ANONYMOUSCARTREMOVALAGE
Generated constant - Attribute key ofBaseSite.anonymousCartRemovalAgeattribute defined at extensionacceleratorservices.- See Also:
-
CARTREMOVALCRONJOB
Generated constant - Attribute key ofBaseSite.cartRemovalCronJobattribute defined at extensionacceleratorservices.- See Also:
-
UNCOLLECTEDORDERSCRONJOB
Generated constant - Attribute key ofBaseSite.uncollectedOrdersCronJobattribute defined at extensionacceleratorservices.- See Also:
-
-
Constructor Details
-
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, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_uid- initial attribute declared by typeBaseSiteat extensionbasecommerce
-
BaseSiteModel
@Deprecated(since="4.1.1", forRemoval=true) public BaseSiteModel(Boolean _dataIsolationEnabled, 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_dataIsolationEnabled- initial attribute declared by typeBaseSiteat extensioncommerceservices_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeBaseSiteat extensionbasecommerce
-
-
Method Details
-
getAnonymousCartRemovalAge
@Accessor(qualifier="anonymousCartRemovalAge", type=GETTER) public Integer getAnonymousCartRemovalAge()Generated method - Getter of theBaseSite.anonymousCartRemovalAgeattribute defined at extensionacceleratorservices.- Returns:
- the anonymousCartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 14 days.
-
getCartRemovalAge
Generated method - Getter of theBaseSite.cartRemovalAgeattribute defined at extensionacceleratorservices.- 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 theBaseSite.cartRemovalCronJobattribute defined at extensionacceleratorservices.- Returns:
- the cartRemovalCronJob
-
getChannel
Generated method - Getter of theBaseSite.channelattribute defined at extensioncommerceservices.- Returns:
- the channel - The channel for this site.
-
getDataIsolationEnabled
Generated method - Getter of theBaseSite.dataIsolationEnabledattribute defined at extensioncommerceservices.- Returns:
- the dataIsolationEnabled - Indicates whether customer data isolation is enabled for this site.
-
getDefaultLanguage
Generated method - Getter of theBaseSite.defaultLanguageattribute defined at extensioncommerceservices.- Returns:
- the defaultLanguage - The default language for the site.
-
getDefaultPromotionGroup
@Accessor(qualifier="defaultPromotionGroup", type=GETTER) public PromotionGroupModel getDefaultPromotionGroup()Generated method - Getter of theBaseSite.defaultPromotionGroupattribute defined at extensioncommerceservices.- Returns:
- the defaultPromotionGroup - The default promotion group for the site.
-
getDefaultStockLevelThreshold
@Accessor(qualifier="defaultStockLevelThreshold", type=GETTER) public Integer getDefaultStockLevelThreshold()Generated method - Getter of theBaseSite.defaultStockLevelThresholdattribute defined at extensioncommerceservices.- Returns:
- the defaultStockLevelThreshold - Indicates the threshold default value.
-
getLocale
Generated method - Getter of theBaseSite.localeattribute defined at extensioncommerceservices.- Returns:
- the locale - The locale to use for each language.
-
getLocale
Generated method - Getter of theBaseSite.localeattribute defined at extensioncommerceservices.- 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
-
getName
Generated method - Getter of theBaseSite.nameattribute defined at extensionbasecommerce.- Returns:
- the name
-
getName
Generated method - Getter of theBaseSite.nameattribute defined at extensionbasecommerce.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getProductIndexType
Generated method - Getter of theBaseSite.productIndexTypeattribute defined at extensioncommerceservices.- Returns:
- the productIndexType
-
getSiteEmployeeGroups
@Accessor(qualifier="siteEmployeeGroups", type=GETTER) public Set<SiteEmployeeGroupModel> getSiteEmployeeGroups()Generated method - Getter of theBaseSite.siteEmployeeGroupsattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the siteEmployeeGroups
-
getSolrFacetSearchConfiguration
@Accessor(qualifier="solrFacetSearchConfiguration", type=GETTER) public SolrFacetSearchConfigModel getSolrFacetSearchConfiguration()Generated method - Getter of theBaseSite.solrFacetSearchConfigurationattribute defined at extensioncommerceservices.- Returns:
- the solrFacetSearchConfiguration - Solr search configuration for this site.
-
getStores
Generated method - Getter of theBaseSite.storesattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the stores
-
getTheme
Generated method - Getter of theBaseSite.themeattribute defined at extensioncommerceservices.- Returns:
- the theme - The site theme that is used in this site.
-
getUid
Generated method - Getter of theBaseSite.uidattribute defined at extensionbasecommerce.- Returns:
- the uid
-
getUncollectedOrdersCronJob
@Accessor(qualifier="uncollectedOrdersCronJob", type=GETTER) public UncollectedOrdersCronJobModel getUncollectedOrdersCronJob()Generated method - Getter of theBaseSite.uncollectedOrdersCronJobattribute defined at extensionacceleratorservices.- Returns:
- the uncollectedOrdersCronJob
-
isEnableRegistration
@Accessor(qualifier="enableRegistration", type=GETTER) public boolean isEnableRegistration()Generated method - Getter of theBaseSite.enableRegistrationattribute defined at extensionb2bcommerce.- Returns:
- the enableRegistration - Indicates if the website supports registration request.
-
isRequiresAuthentication
@Accessor(qualifier="requiresAuthentication", type=GETTER) public boolean isRequiresAuthentication()Generated method - Getter of theBaseSite.requiresAuthenticationattribute defined at extensioncommerceservices.- 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 ofBaseSite.anonymousCartRemovalAgeattribute defined at extensionacceleratorservices.- Parameters:
value- the anonymousCartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 14 days.
-
setCartRemovalAge
Generated method - Setter ofBaseSite.cartRemovalAgeattribute defined at extensionacceleratorservices.- 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 ofBaseSite.cartRemovalCronJobattribute defined at extensionacceleratorservices.- Parameters:
value- the cartRemovalCronJob
-
setChannel
Generated method - Setter ofBaseSite.channelattribute defined at extensioncommerceservices.- Parameters:
value- the channel - The channel for this site.
-
setDataIsolationEnabled
@Accessor(qualifier="dataIsolationEnabled", type=SETTER) public void setDataIsolationEnabled(Boolean value) Generated method - Initial setter ofBaseSite.dataIsolationEnabledattribute defined at extensioncommerceservices. Can only be used at creation of model - before first save.- Parameters:
value- the dataIsolationEnabled - Indicates whether customer data isolation is enabled for this site.
-
setDefaultLanguage
@Accessor(qualifier="defaultLanguage", type=SETTER) public void setDefaultLanguage(LanguageModel value) Generated method - Setter ofBaseSite.defaultLanguageattribute defined at extensioncommerceservices.- Parameters:
value- the defaultLanguage - The default language for the site.
-
setDefaultPromotionGroup
@Accessor(qualifier="defaultPromotionGroup", type=SETTER) public void setDefaultPromotionGroup(PromotionGroupModel value) Generated method - Setter ofBaseSite.defaultPromotionGroupattribute defined at extensioncommerceservices.- 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 ofBaseSite.defaultStockLevelThresholdattribute defined at extensioncommerceservices.- Parameters:
value- the defaultStockLevelThreshold - Indicates the threshold default value.
-
setEnableRegistration
@Accessor(qualifier="enableRegistration", type=SETTER) public void setEnableRegistration(boolean value) Generated method - Setter ofBaseSite.enableRegistrationattribute defined at extensionb2bcommerce.- Parameters:
value- the enableRegistration - Indicates if the website supports registration request.
-
setLocale
Generated method - Setter ofBaseSite.localeattribute defined at extensioncommerceservices.- Parameters:
value- the locale - The locale to use for each language.
-
setLocale
Generated method - Setter ofBaseSite.localeattribute defined at extensioncommerceservices.- 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
-
setName
Generated method - Setter ofBaseSite.nameattribute defined at extensionbasecommerce.- Parameters:
value- the name
-
setName
Generated method - Setter ofBaseSite.nameattribute defined at extensionbasecommerce.- Parameters:
value- the nameloc- 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 ofBaseSite.productIndexTypeattribute defined at extensioncommerceservices.- Parameters:
value- the productIndexType
-
setRequiresAuthentication
@Accessor(qualifier="requiresAuthentication", type=SETTER) public void setRequiresAuthentication(boolean value) Generated method - Setter ofBaseSite.requiresAuthenticationattribute defined at extensioncommerceservices.- Parameters:
value- the requiresAuthentication - Indicates if the website requires authentication or not.
-
setSiteEmployeeGroups
@Accessor(qualifier="siteEmployeeGroups", type=SETTER) public void setSiteEmployeeGroups(Set<SiteEmployeeGroupModel> value) Generated method - Setter ofBaseSite.siteEmployeeGroupsattribute defined at extensioncommerceservices.- Parameters:
value- the siteEmployeeGroups
-
setSolrFacetSearchConfiguration
@Accessor(qualifier="solrFacetSearchConfiguration", type=SETTER) public void setSolrFacetSearchConfiguration(SolrFacetSearchConfigModel value) Generated method - Setter ofBaseSite.solrFacetSearchConfigurationattribute defined at extensioncommerceservices.- Parameters:
value- the solrFacetSearchConfiguration - Solr search configuration for this site.
-
setStores
Generated method - Setter ofBaseSite.storesattribute defined at extensionbasecommerce.- Parameters:
value- the stores
-
setTheme
Generated method - Setter ofBaseSite.themeattribute defined at extensioncommerceservices.- Parameters:
value- the theme - The site theme that is used in this site.
-
setUid
Generated method - Setter ofBaseSite.uidattribute defined at extensionbasecommerce.- Parameters:
value- the uid
-
setUncollectedOrdersCronJob
@Accessor(qualifier="uncollectedOrdersCronJob", type=SETTER) public void setUncollectedOrdersCronJob(UncollectedOrdersCronJobModel value) Generated method - Setter ofBaseSite.uncollectedOrdersCronJobattribute defined at extensionacceleratorservices.- Parameters:
value- the uncollectedOrdersCronJob
-