Class DefaultProductFeatureModelFactory

java.lang.Object
de.hybris.platform.integrationservices.model.impl.DefaultProductFeatureModelFactory
All Implemented Interfaces:
ProductFeatureModelFactory

public class DefaultProductFeatureModelFactory extends Object implements ProductFeatureModelFactory
Default implementation of ProductFeatureModelFactory.
  • Constructor Details

    • DefaultProductFeatureModelFactory

      public DefaultProductFeatureModelFactory()
  • Method Details

    • create

      public ProductFeatureModel create(ProductModel product, ClassAttributeAssignmentModel classAttributeAssignment, Object value, int valuePosition)
      Description copied from interface: ProductFeatureModelFactory
      Creates a feature for product with classification attribute.
      Specified by:
      create in interface ProductFeatureModelFactory
      Parameters:
      product - product to create features for
      classAttributeAssignment - classification attribute assignment for the feature
      value - values to assign to the feature
      valuePosition - the position to place the feature in the product
      Returns:
      new product feature model
    • create

      public ProductFeatureModel create(ProductModel product, ClassAttributeAssignmentModel classAttributeAssignment, Object value, int valuePosition, LanguageModel language)
      Description copied from interface: ProductFeatureModelFactory
      Creates a feature for product with classification attribute for the given language.
      Specified by:
      create in interface ProductFeatureModelFactory
      Parameters:
      product - product to create features for
      classAttributeAssignment - classification attribute assignment for the feature
      value - values to assign to the feature
      valuePosition - the position to place the feature in the product
      language - the language of the feature value
      Returns:
      new product feature model
    • setModelService

      public void setModelService(ModelService modelService)