Interface ProductFeaturesDao
- All Known Implementing Classes:
DefaultProductFeaturesDao
public interface ProductFeaturesDao
DAO for finding product features.
- Spring Bean ID:
- productFeaturesDao
-
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.
-
Method Details
-
findProductFeaturesByProductAndAssignment
List<List<ItemModel>> findProductFeaturesByProductAndAssignment(ProductModel product, List<ClassAttributeAssignmentModel> assignments) Find product features by product and assignment.- Parameters:
product- the product for which find featuresassignments- the assignments- Returns:
- the result list
-
findProductFeaturesByProductAndAssignment
List<List<ItemModel>> findProductFeaturesByProductAndAssignment(ProductModel product, List<ClassAttributeAssignmentModel> assignments, List<ProductFeatureModel> excludes) Find product features by product and assignment without these onexcludeslist.- Parameters:
product- the product for which find featuresassignments- the assignmentsexcludes- the excludes- Returns:
- the result list
-
getProductFeatureMaxValuePosition
List<Integer> getProductFeatureMaxValuePosition(ProductModel product, ClassAttributeAssignmentModel assignment) Gets the product feature's max value position.- Parameters:
product- the productassignment- the assignment- Returns:
- the product feature max value position
-