Class 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
    • 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 relation Customer2ProductInterest defining source attribute customer in extension customerinterestsservices.
        See Also:
        Constant Field Values
      • _PRODUCT2PRODUCTINTEREST

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

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

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

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

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

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

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

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

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

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

        public static final java.lang.String PRODUCT
        Generated constant - Attribute key of ProductInterest.product attribute defined at extension customerinterestsservices.
        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 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 Detail

      • 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 java.lang.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 java.util.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 java.util.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 java.lang.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​(java.lang.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​(java.util.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​(java.util.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​(java.lang.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