Class CMSSAPRecommendationComponentModel

All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

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

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

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

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

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

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

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

      public static final String INCLUDERECENT
      Generated constant - Attribute key of CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation.
      See Also:
  • Constructor Details

    • CMSSAPRecommendationComponentModel

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

      public CMSSAPRecommendationComponentModel(de.hybris.platform.servicelayer.model.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, 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, 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 Details

    • getCartitemdstype

      @Accessor(qualifier="cartitemdstype", type=GETTER) public 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 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 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 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 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 String getTitle(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:
      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(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(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(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(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(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(String value, 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:
      IllegalArgumentException - if localization key cannot be mapped to data language