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:
java.io.Serializable
public class ProductInterestModel extends ItemModel
Generated model class for type ProductInterest first defined at extension customerinterestsservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CUSTOMER2PRODUCTINTERESTGenerated relation code constant for relationCustomer2ProductInterestdefining source attributecustomerin extensioncustomerinterestsservices.static java.lang.String_PRODUCT2PRODUCTINTERESTGenerated relation code constant for relationProduct2ProductInterestdefining source attributeproductin extensioncustomerinterestsservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBASESITEGenerated constant - Attribute key ofProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.static java.lang.StringBASESTOREGenerated constant - Attribute key ofProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.static java.lang.StringCUSTOMERGenerated constant - Attribute key ofProductInterest.customerattribute defined at extensioncustomerinterestsservices.static java.lang.StringEMAILENABLEDGenerated constant - Attribute key ofProductInterest.emailEnabledattribute defined at extensioncustomerinterestsservices.static java.lang.StringEXPIRYDATEGenerated constant - Attribute key ofProductInterest.expiryDateattribute defined at extensioncustomerinterestsservices.static java.lang.StringLANGUAGEGenerated constant - Attribute key ofProductInterest.languageattribute defined at extensioncustomerinterestsservices.static java.lang.StringNOTIFICATIONCHANNELSGenerated constant - Attribute key ofProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.static java.lang.StringNOTIFICATIONTYPEGenerated constant - Attribute key ofProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.static java.lang.StringPRODUCTGenerated constant - Attribute key ofProductInterest.productattribute defined at extensioncustomerinterestsservices.static java.lang.StringSMSENABLEDGenerated 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, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description ProductInterestModel()Generated 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 parametersProductInterestModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BaseSiteModelgetBaseSite()Generated method - Getter of theProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.BaseStoreModelgetBaseStore()Generated method - Getter of theProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.CustomerModelgetCustomer()Generated method - Getter of theProductInterest.customerattribute defined at extensioncustomerinterestsservices.java.lang.BooleangetEmailEnabled()Deprecated, for removal: This API element is subject to removal in a future version.since 6.7java.util.DategetExpiryDate()Deprecated, for removal: This API element is subject to removal in a future version.since 1905LanguageModelgetLanguage()Generated method - Getter of theProductInterest.languageattribute defined at extensioncustomerinterestsservices.java.util.Set<NotificationChannel>getNotificationChannels()Generated method - Getter of theProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.NotificationTypegetNotificationType()Generated method - Getter of theProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.ProductModelgetProduct()Generated method - Getter of theProductInterest.productattribute defined at extensioncustomerinterestsservices.java.lang.BooleangetSmsEnabled()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(java.lang.Boolean value)Deprecated, for removal: This API element is subject to removal in a future version.since 6.7voidsetExpiryDate(java.util.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.voidsetNotificationChannels(java.util.Set<NotificationChannel> value)Generated method - Setter ofProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.voidsetNotificationType(NotificationType value)Generated method - Setter ofProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.voidsetProduct(ProductModel value)Generated method - Setter ofProductInterest.productattribute defined at extensioncustomerinterestsservices.voidsetSmsEnabled(java.lang.Boolean value)Deprecated, for removal: This API element is subject to removal in a future version.since 6.7-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_CUSTOMER2PRODUCTINTEREST
public static final java.lang.String _CUSTOMER2PRODUCTINTEREST
Generated relation code constant for relationCustomer2ProductInterestdefining source attributecustomerin extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
_PRODUCT2PRODUCTINTEREST
public static final java.lang.String _PRODUCT2PRODUCTINTEREST
Generated relation code constant for relationProduct2ProductInterestdefining source attributeproductin extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
EXPIRYDATE
public static final java.lang.String EXPIRYDATE
Generated constant - Attribute key ofProductInterest.expiryDateattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
BASESTORE
public static final java.lang.String BASESTORE
Generated constant - Attribute key ofProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
NOTIFICATIONTYPE
public static final java.lang.String NOTIFICATIONTYPE
Generated constant - Attribute key ofProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
EMAILENABLED
public static final java.lang.String EMAILENABLED
Generated constant - Attribute key ofProductInterest.emailEnabledattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
SMSENABLED
public static final java.lang.String SMSENABLED
Generated constant - Attribute key ofProductInterest.smsEnabledattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
NOTIFICATIONCHANNELS
public static final java.lang.String NOTIFICATIONCHANNELS
Generated constant - Attribute key ofProductInterest.notificationChannelsattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
BASESITE
public static final java.lang.String BASESITE
Generated constant - Attribute key ofProductInterest.baseSiteattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
LANGUAGE
public static final java.lang.String LANGUAGE
Generated constant - Attribute key ofProductInterest.languageattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
CUSTOMER
public static final java.lang.String CUSTOMER
Generated constant - Attribute key ofProductInterest.customerattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
PRODUCT
public static final java.lang.String PRODUCT
Generated constant - Attribute key ofProductInterest.productattribute defined at extensioncustomerinterestsservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProductInterestModel
public ProductInterestModel()
Generated constructor - Default constructor for generic creation.
-
ProductInterestModel
public ProductInterestModel(ItemModelContext ctx)
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 Detail
-
getBaseSite
@Accessor(qualifier="baseSite", type=GETTER) public BaseSiteModel 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
@Accessor(qualifier="baseStore", type=GETTER) public BaseStoreModel getBaseStore()
Generated method - Getter of theProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.- Returns:
- the baseStore
-
getCustomer
@Accessor(qualifier="customer", type=GETTER) public CustomerModel 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 java.lang.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 java.util.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
@Accessor(qualifier="language", type=GETTER) public LanguageModel getLanguage()
Generated method - Getter of theProductInterest.languageattribute defined at extensioncustomerinterestsservices.- Returns:
- the language
-
getNotificationChannels
@Accessor(qualifier="notificationChannels", type=GETTER) public java.util.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
@Accessor(qualifier="notificationType", type=GETTER) public NotificationType getNotificationType()
Generated method - Getter of theProductInterest.notificationTypeattribute defined at extensioncustomerinterestsservices.- Returns:
- the notificationType
-
getProduct
@Accessor(qualifier="product", type=GETTER) public ProductModel 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 java.lang.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
@Accessor(qualifier="baseSite", type=SETTER) public void setBaseSite(BaseSiteModel value)
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
@Accessor(qualifier="baseStore", type=SETTER) public void setBaseStore(BaseStoreModel value)
Generated method - Setter ofProductInterest.baseStoreattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the baseStore
-
setCustomer
@Accessor(qualifier="customer", type=SETTER) public void setCustomer(CustomerModel value)
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(java.lang.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(java.util.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
@Accessor(qualifier="language", type=SETTER) public void setLanguage(LanguageModel value)
Generated method - Setter ofProductInterest.languageattribute defined at extensioncustomerinterestsservices.- Parameters:
value- the language
-
setNotificationChannels
@Accessor(qualifier="notificationChannels", type=SETTER) public void setNotificationChannels(java.util.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
@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
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(java.lang.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
-
-