Class ProductInterestModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.customerinterestsservices.model.ProductInterestModel
- All Implemented Interfaces:
Serializable
Generated model class for type ProductInterest first defined at extension customerinterestsservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCustomer2ProductInterestdefining source attributecustomerin extensioncustomerinterestsservices.static final StringGenerated relation code constant for relationProduct2ProductInterestdefining source attributeproductin extensioncustomerinterestsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.customerattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.emailEnabledattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.expiryDateattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.languageattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.productattribute defined at extensioncustomerinterestsservices.static final StringGenerated constant - Attribute key ofProductInterest.smsEnabledattribute defined at extensioncustomerinterestsservices.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.ProductInterestModel(BaseSiteModel _baseSite, BaseStoreModel _baseStore, LanguageModel _language, NotificationType _notificationType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductInterestModel(BaseSiteModel _baseSite, BaseStoreModel _baseStore, LanguageModel _language, NotificationType _notificationType, ItemModel _owner) 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.Generated method - Getter of theProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.Generated method - Getter of theProductInterest.customerattribute defined at extensioncustomerinterestsservices.Deprecated, for removal: This API element is subject to removal in a future version.since 6.7Deprecated, for removal: This API element is subject to removal in a future version.since 1905Generated method - Getter of theProductInterest.languageattribute defined at extensioncustomerinterestsservices.Generated method - Getter of theProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.Generated method - Getter of theProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.Generated method - Getter of theProductInterest.productattribute defined at extensioncustomerinterestsservices.Deprecated, for removal: This API element is subject to removal in a future version.since 6.7voidsetBaseSite(BaseSiteModel value) Generated method - Setter ofProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.voidsetBaseStore(BaseStoreModel value) Generated method - Setter ofProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.voidsetCustomer(CustomerModel value) Generated method - Setter ofProductInterest.customerattribute defined at extensioncustomerinterestsservices.voidsetEmailEnabled(Boolean value) Deprecated, for removal: This API element is subject to removal in a future version.since 6.7voidsetExpiryDate(Date value) Deprecated, for removal: This API element is subject to removal in a future version.since 1905voidsetLanguage(LanguageModel value) Generated method - Setter ofProductInterest.languageattribute defined at extensioncustomerinterestsservices.voidGenerated method - Setter ofProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.voidGenerated method - Setter ofProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.voidsetProduct(ProductModel value) Generated method - Setter ofProductInterest.productattribute defined at extensioncustomerinterestsservices.voidsetSmsEnabled(Boolean value) Deprecated, for removal: This API element is subject to removal in a future version.since 6.7Methods 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:
-
_CUSTOMER2PRODUCTINTEREST
Generated relation code constant for relationCustomer2ProductInterestdefining source attributecustomerin extensioncustomerinterestsservices.- See Also:
-
_PRODUCT2PRODUCTINTEREST
Generated relation code constant for relationProduct2ProductInterestdefining source attributeproductin extensioncustomerinterestsservices.- See Also:
-
EXPIRYDATE
Generated constant - Attribute key ofProductInterest.expiryDateattribute defined at extensioncustomerinterestsservices.- See Also:
-
BASESTORE
Generated constant - Attribute key ofProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.- See Also:
-
NOTIFICATIONTYPE
Generated constant - Attribute key ofProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.- See Also:
-
EMAILENABLED
Generated constant - Attribute key ofProductInterest.emailEnabledattribute defined at extensioncustomerinterestsservices.- See Also:
-
SMSENABLED
Generated constant - Attribute key ofProductInterest.smsEnabledattribute defined at extensioncustomerinterestsservices.- See Also:
-
NOTIFICATIONCHANNELS
Generated constant - Attribute key ofProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.- See Also:
-
BASESITE
Generated constant - Attribute key ofProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.- See Also:
-
LANGUAGE
Generated constant - Attribute key ofProductInterest.languageattribute defined at extensioncustomerinterestsservices.- See Also:
-
CUSTOMER
Generated constant - Attribute key ofProductInterest.customerattribute defined at extensioncustomerinterestsservices.- See Also:
-
PRODUCT
Generated constant - Attribute key ofProductInterest.productattribute defined at extensioncustomerinterestsservices.- See Also:
-
-
Constructor Details
-
ProductInterestModel
public ProductInterestModel()Generated constructor - Default constructor for generic creation. -
ProductInterestModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ProductInterestModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductInterestModel(BaseSiteModel _baseSite, BaseStoreModel _baseStore, LanguageModel _language, NotificationType _notificationType) 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:
_baseSite- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices_baseStore- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices_language- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices_notificationType- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices
-
ProductInterestModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductInterestModel(BaseSiteModel _baseSite, BaseStoreModel _baseStore, LanguageModel _language, NotificationType _notificationType, ItemModel _owner) 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:
_baseSite- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices_baseStore- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices_language- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices_notificationType- initial attribute declared by typeProductInterestat extensioncustomerinterestsservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getBaseSite
Generated method - Getter of theProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.- Returns:
- the baseSite - Attribute contains base site object that will be used in the process.
-
getBaseStore
Generated method - Getter of theProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.- Returns:
- the baseStore
-
getCustomer
Generated method - Getter of theProductInterest.customerattribute defined at extensioncustomerinterestsservices.- Returns:
- the customer
-
getEmailEnabled
@Deprecated(since="6.7", forRemoval=true) @Accessor(qualifier="emailEnabled", type=GETTER) public Boolean getEmailEnabled()Deprecated, for removal: This API element is subject to removal in a future version.since 6.7Generated method - Getter of theProductInterest.emailEnabledattribute defined at extensioncustomerinterestsservices.- Returns:
- the emailEnabled
-
getExpiryDate
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="expiryDate", type=GETTER) public Date getExpiryDate()Deprecated, for removal: This API element is subject to removal in a future version.since 1905Generated method - Getter of theProductInterest.expiryDateattribute defined at extensioncustomerinterestsservices.- Returns:
- the expiryDate - Deprecated since 1905, will be replaced by creation time plus expiryDay.
-
getLanguage
Generated method - Getter of theProductInterest.languageattribute defined at extensioncustomerinterestsservices.- Returns:
- the language
-
getNotificationChannels
@Accessor(qualifier="notificationChannels", type=GETTER) public Set<NotificationChannel> getNotificationChannels()Generated method - Getter of theProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the notificationChannels
-
getNotificationType
Generated method - Getter of theProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.- Returns:
- the notificationType
-
getProduct
Generated method - Getter of theProductInterest.productattribute defined at extensioncustomerinterestsservices.- Returns:
- the product
-
getSmsEnabled
@Deprecated(since="6.7", forRemoval=true) @Accessor(qualifier="smsEnabled", type=GETTER) public Boolean getSmsEnabled()Deprecated, for removal: This API element is subject to removal in a future version.since 6.7Generated method - Getter of theProductInterest.smsEnabledattribute defined at extensioncustomerinterestsservices.- Returns:
- the smsEnabled
-
setBaseSite
Generated method - Setter ofProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the baseSite - Attribute contains base site object that will be used in the process.
-
setBaseStore
Generated method - Setter ofProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the baseStore
-
setCustomer
Generated method - Setter ofProductInterest.customerattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the customer
-
setEmailEnabled
@Deprecated(since="6.7", forRemoval=true) @Accessor(qualifier="emailEnabled", type=SETTER) public void setEmailEnabled(Boolean value) Deprecated, for removal: This API element is subject to removal in a future version.since 6.7Generated method - Setter ofProductInterest.emailEnabledattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the emailEnabled
-
setExpiryDate
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="expiryDate", type=SETTER) public void setExpiryDate(Date value) Deprecated, for removal: This API element is subject to removal in a future version.since 1905Generated method - Setter ofProductInterest.expiryDateattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the expiryDate - Deprecated since 1905, will be replaced by creation time plus expiryDay.
-
setLanguage
Generated method - Setter ofProductInterest.languageattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the language
-
setNotificationChannels
@Accessor(qualifier="notificationChannels", type=SETTER) public void setNotificationChannels(Set<NotificationChannel> value) Generated method - Setter ofProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the notificationChannels
-
setNotificationType
@Accessor(qualifier="notificationType", type=SETTER) public void setNotificationType(NotificationType value) Generated method - Setter ofProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the notificationType
-
setProduct
Generated method - Setter ofProductInterest.productattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the product
-
setSmsEnabled
@Deprecated(since="6.7", forRemoval=true) @Accessor(qualifier="smsEnabled", type=SETTER) public void setSmsEnabled(Boolean value) Deprecated, for removal: This API element is subject to removal in a future version.since 6.7Generated method - Setter ofProductInterest.smsEnabledattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the smsEnabled
-