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

public class ProductInterestModel extends ItemModel
Generated model class for type ProductInterest first defined at extension customerinterestsservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _CUSTOMER2PRODUCTINTEREST

      public static final String _CUSTOMER2PRODUCTINTEREST
      Generated relation code constant for relation Customer2ProductInterest defining source attribute customer in extension customerinterestsservices.
      See Also:
    • _PRODUCT2PRODUCTINTEREST

      public static final String _PRODUCT2PRODUCTINTEREST
      Generated relation code constant for relation Product2ProductInterest defining source attribute product in extension customerinterestsservices.
      See Also:
    • EXPIRYDATE

      public static final String EXPIRYDATE
      Generated constant - Attribute key of ProductInterest.expiryDate attribute defined at extension customerinterestsservices.
      See Also:
    • BASESTORE

      public static final String BASESTORE
      Generated constant - Attribute key of ProductInterest.baseStore attribute defined at extension customerinterestsservices.
      See Also:
    • NOTIFICATIONTYPE

      public static final String NOTIFICATIONTYPE
      Generated constant - Attribute key of ProductInterest.notificationType attribute defined at extension customerinterestsservices.
      See Also:
    • EMAILENABLED

      public static final String EMAILENABLED
      Generated constant - Attribute key of ProductInterest.emailEnabled attribute defined at extension customerinterestsservices.
      See Also:
    • SMSENABLED

      public static final String SMSENABLED
      Generated constant - Attribute key of ProductInterest.smsEnabled attribute defined at extension customerinterestsservices.
      See Also:
    • NOTIFICATIONCHANNELS

      public static final String NOTIFICATIONCHANNELS
      Generated constant - Attribute key of ProductInterest.notificationChannels attribute defined at extension customerinterestsservices.
      See Also:
    • BASESITE

      public static final String BASESITE
      Generated constant - Attribute key of ProductInterest.baseSite attribute defined at extension customerinterestsservices.
      See Also:
    • LANGUAGE

      public static final String LANGUAGE
      Generated constant - Attribute key of ProductInterest.language attribute defined at extension customerinterestsservices.
      See Also:
    • CUSTOMER

      public static final String CUSTOMER
      Generated constant - Attribute key of ProductInterest.customer attribute defined at extension customerinterestsservices.
      See Also:
    • PRODUCT

      public static final String PRODUCT
      Generated constant - Attribute key of ProductInterest.product attribute defined at extension customerinterestsservices.
      See Also:
  • Constructor Details

    • 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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _baseSite - initial attribute declared by type ProductInterest at extension customerinterestsservices
      _baseStore - initial attribute declared by type ProductInterest at extension customerinterestsservices
      _language - initial attribute declared by type ProductInterest at extension customerinterestsservices
      _notificationType - initial attribute declared by type ProductInterest at extension customerinterestsservices
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _baseSite - initial attribute declared by type ProductInterest at extension customerinterestsservices
      _baseStore - initial attribute declared by type ProductInterest at extension customerinterestsservices
      _language - initial attribute declared by type ProductInterest at extension customerinterestsservices
      _notificationType - initial attribute declared by type ProductInterest at extension customerinterestsservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getBaseSite

      @Accessor(qualifier="baseSite", type=GETTER) public BaseSiteModel getBaseSite()
      Generated method - Getter of the ProductInterest.baseSite attribute defined at extension customerinterestsservices.
      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 the ProductInterest.baseStore attribute defined at extension customerinterestsservices.
      Returns:
      the baseStore
    • getCustomer

      @Accessor(qualifier="customer", type=GETTER) public CustomerModel getCustomer()
      Generated method - Getter of the ProductInterest.customer attribute defined at extension customerinterestsservices.
      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.7
      Generated method - Getter of the ProductInterest.emailEnabled attribute defined at extension customerinterestsservices.
      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 1905
      Generated method - Getter of the ProductInterest.expiryDate attribute defined at extension customerinterestsservices.
      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 the ProductInterest.language attribute defined at extension customerinterestsservices.
      Returns:
      the language
    • getNotificationChannels

      @Accessor(qualifier="notificationChannels", type=GETTER) public Set<NotificationChannel> getNotificationChannels()
      Generated method - Getter of the ProductInterest.notificationChannels attribute defined at extension customerinterestsservices. 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 the ProductInterest.notificationType attribute defined at extension customerinterestsservices.
      Returns:
      the notificationType
    • getProduct

      @Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
      Generated method - Getter of the ProductInterest.product attribute defined at extension customerinterestsservices.
      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.7
      Generated method - Getter of the ProductInterest.smsEnabled attribute defined at extension customerinterestsservices.
      Returns:
      the smsEnabled
    • setBaseSite

      @Accessor(qualifier="baseSite", type=SETTER) public void setBaseSite(BaseSiteModel value)
      Generated method - Setter of ProductInterest.baseSite attribute defined at extension customerinterestsservices.
      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 of ProductInterest.baseStore attribute defined at extension customerinterestsservices.
      Parameters:
      value - the baseStore
    • setCustomer

      @Accessor(qualifier="customer", type=SETTER) public void setCustomer(CustomerModel value)
      Generated method - Setter of ProductInterest.customer attribute defined at extension customerinterestsservices.
      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.7
      Generated method - Setter of ProductInterest.emailEnabled attribute defined at extension customerinterestsservices.
      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 1905
      Generated method - Setter of ProductInterest.expiryDate attribute defined at extension customerinterestsservices.
      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 of ProductInterest.language attribute defined at extension customerinterestsservices.
      Parameters:
      value - the language
    • setNotificationChannels

      @Accessor(qualifier="notificationChannels", type=SETTER) public void setNotificationChannels(Set<NotificationChannel> value)
      Generated method - Setter of ProductInterest.notificationChannels attribute defined at extension customerinterestsservices.
      Parameters:
      value - the notificationChannels
    • setNotificationType

      @Accessor(qualifier="notificationType", type=SETTER) public void setNotificationType(NotificationType value)
      Generated method - Setter of ProductInterest.notificationType attribute defined at extension customerinterestsservices.
      Parameters:
      value - the notificationType
    • setProduct

      @Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
      Generated method - Setter of ProductInterest.product attribute defined at extension customerinterestsservices.
      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.7
      Generated method - Setter of ProductInterest.smsEnabled attribute defined at extension customerinterestsservices.
      Parameters:
      value - the smsEnabled