Interface ProductFeaturesDao

All Known Implementing Classes:
DefaultProductFeaturesDao

public interface ProductFeaturesDao
DAO for finding product features.
Spring Bean ID:
productFeaturesDao
  • 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 features
      assignments - 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 on excludes list.
      Parameters:
      product - the product for which find features
      assignments - the assignments
      excludes - 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 product
      assignment - the assignment
      Returns:
      the product feature max value position