Class CMSSAPRecommendationComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CMSSAPRecommendationComponentModel
    extends SimpleCMSComponentModel
    Generated model class for type CMSSAPRecommendationComponent first defined at extension sapymktrecommendation.

    Represents product recommendations for given context from SAP Marketing.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • TITLE

        public static final java.lang.String TITLE
        Generated constant - Attribute key of CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • RECOTYPE

        public static final java.lang.String RECOTYPE
        Generated constant - Attribute key of CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • LEADINGITEMTYPE

        public static final java.lang.String LEADINGITEMTYPE
        Generated constant - Attribute key of CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • LEADINGITEMDSTYPE

        public static final java.lang.String LEADINGITEMDSTYPE
        Generated constant - Attribute key of CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • CARTITEMDSTYPE

        public static final java.lang.String CARTITEMDSTYPE
        Generated constant - Attribute key of CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • INCLUDECART

        public static final java.lang.String INCLUDECART
        Generated constant - Attribute key of CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • INCLUDERECENT

        public static final java.lang.String INCLUDERECENT
        Generated constant - Attribute key of CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSSAPRecommendationComponentModel

        public CMSSAPRecommendationComponentModel()
        Generated constructor - Default constructor for generic creation.
      • CMSSAPRecommendationComponentModel

        public CMSSAPRecommendationComponentModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CMSSAPRecommendationComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSSAPRecommendationComponentModel​(CatalogVersionModel _catalogVersion,
                                                  java.lang.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
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • CMSSAPRecommendationComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSSAPRecommendationComponentModel​(CatalogVersionModel _catalogVersion,
                                                  ItemModel _owner,
                                                  java.lang.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
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getCartitemdstype

        @Accessor(qualifier="cartitemdstype",
                  type=GETTER)
        public java.lang.String getCartitemdstype()
        Generated method - Getter of the CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation.
        Returns:
        the cartitemdstype - Attribute that stores the cart data source type to be used
      • getLeadingitemdstype

        @Accessor(qualifier="leadingitemdstype",
                  type=GETTER)
        public java.lang.String getLeadingitemdstype()
        Generated method - Getter of the CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.
        Returns:
        the leadingitemdstype - Attribute that stores the leading item data source type to be used
      • getLeadingitemtype

        @Accessor(qualifier="leadingitemtype",
                  type=GETTER)
        public java.lang.String getLeadingitemtype()
        Generated method - Getter of the CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation.
        Returns:
        the leadingitemtype - Attribute that stores the item type to be used
      • getRecotype

        @Accessor(qualifier="recotype",
                  type=GETTER)
        public java.lang.String getRecotype()
        Generated method - Getter of the CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation.
        Returns:
        the recotype - Attribute that stores the recommendation scenario to be used
      • getTitle

        @Accessor(qualifier="title",
                  type=GETTER)
        public java.lang.String getTitle()
        Generated method - Getter of the CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.
        Returns:
        the title - Attribute that stores the section title.
      • getTitle

        @Accessor(qualifier="title",
                  type=GETTER)
        public java.lang.String getTitle​(java.util.Locale loc)
        Generated method - Getter of the CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.
        Parameters:
        loc - the value localization key
        Returns:
        the title - Attribute that stores the section title.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • isIncludecart

        @Accessor(qualifier="includecart",
                  type=GETTER)
        public boolean isIncludecart()
        Generated method - Getter of the CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation.
        Returns:
        the includecart - Include the basket items as leading items
      • isIncluderecent

        @Accessor(qualifier="includerecent",
                  type=GETTER)
        public boolean isIncluderecent()
        Generated method - Getter of the CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation.
        Returns:
        the includerecent - Include the recently visited products as leading items
      • setCartitemdstype

        @Accessor(qualifier="cartitemdstype",
                  type=SETTER)
        public void setCartitemdstype​(java.lang.String value)
        Generated method - Setter of CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the cartitemdstype - Attribute that stores the cart data source type to be used
      • setIncludecart

        @Accessor(qualifier="includecart",
                  type=SETTER)
        public void setIncludecart​(boolean value)
        Generated method - Setter of CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the includecart - Include the basket items as leading items
      • setIncluderecent

        @Accessor(qualifier="includerecent",
                  type=SETTER)
        public void setIncluderecent​(boolean value)
        Generated method - Setter of CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the includerecent - Include the recently visited products as leading items
      • setLeadingitemdstype

        @Accessor(qualifier="leadingitemdstype",
                  type=SETTER)
        public void setLeadingitemdstype​(java.lang.String value)
        Generated method - Setter of CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the leadingitemdstype - Attribute that stores the leading item data source type to be used
      • setLeadingitemtype

        @Accessor(qualifier="leadingitemtype",
                  type=SETTER)
        public void setLeadingitemtype​(java.lang.String value)
        Generated method - Setter of CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the leadingitemtype - Attribute that stores the item type to be used
      • setRecotype

        @Accessor(qualifier="recotype",
                  type=SETTER)
        public void setRecotype​(java.lang.String value)
        Generated method - Setter of CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the recotype - Attribute that stores the recommendation scenario to be used
      • setTitle

        @Accessor(qualifier="title",
                  type=SETTER)
        public void setTitle​(java.lang.String value)
        Generated method - Setter of CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the title - Attribute that stores the section title.
      • setTitle

        @Accessor(qualifier="title",
                  type=SETTER)
        public void setTitle​(java.lang.String value,
                             java.util.Locale loc)
        Generated method - Setter of CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the title - Attribute that stores the section title.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language