Class DefaultProductFeaturesDao
java.lang.Object
de.hybris.platform.classification.daos.impl.DefaultProductFeaturesDao
- All Implemented Interfaces:
ProductFeaturesDao
Default implementation of
ProductFeaturesDao.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindProductFeaturesByProductAndAssignment(ProductModel product, List<ClassAttributeAssignmentModel> assignments) Find product features by product and assignment.findProductFeaturesByProductAndAssignment(ProductModel product, List<ClassAttributeAssignmentModel> assignments, List<ProductFeatureModel> excludes) Find product features by product and assignment without these onexcludeslist.getProductFeatureMaxValuePosition(ProductModel product, ClassAttributeAssignmentModel assignment) Gets the product feature's max value position.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
Constructor Details
-
DefaultProductFeaturesDao
public DefaultProductFeaturesDao()
-
-
Method Details
-
findProductFeaturesByProductAndAssignment
public List<List<ItemModel>> findProductFeaturesByProductAndAssignment(ProductModel product, List<ClassAttributeAssignmentModel> assignments, List<ProductFeatureModel> excludes) Description copied from interface:ProductFeaturesDaoFind product features by product and assignment without these onexcludeslist.- Specified by:
findProductFeaturesByProductAndAssignmentin interfaceProductFeaturesDao- Parameters:
product- the product for which find featuresassignments- the assignmentsexcludes- the excludes- Returns:
- the result list
-
findProductFeaturesByProductAndAssignment
public List<List<ItemModel>> findProductFeaturesByProductAndAssignment(ProductModel product, List<ClassAttributeAssignmentModel> assignments) Description copied from interface:ProductFeaturesDaoFind product features by product and assignment.- Specified by:
findProductFeaturesByProductAndAssignmentin interfaceProductFeaturesDao- Parameters:
product- the product for which find featuresassignments- the assignments- Returns:
- the result list
-
getProductFeatureMaxValuePosition
public List<Integer> getProductFeatureMaxValuePosition(ProductModel product, ClassAttributeAssignmentModel assignment) Description copied from interface:ProductFeaturesDaoGets the product feature's max value position.- Specified by:
getProductFeatureMaxValuePositionin interfaceProductFeaturesDao- Parameters:
product- the productassignment- the assignment- Returns:
- the product feature max value position
-
setFlexibleSearchService
-