Interface ProductFeaturesDao

  • All Known Implementing Classes:
    DefaultProductFeaturesDao

    public interface ProductFeaturesDao
    DAO for finding product features.
    Spring Bean ID:
    productFeaturesDao
    • Method Detail

      • findProductFeaturesByProductAndAssignment

        java.util.List<java.util.List<ItemModel>> findProductFeaturesByProductAndAssignment​(ProductModel product,
                                                                                            java.util.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

        java.util.List<java.util.List<ItemModel>> findProductFeaturesByProductAndAssignment​(ProductModel product,
                                                                                            java.util.List<ClassAttributeAssignmentModel> assignments,
                                                                                            java.util.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

        java.util.List<java.lang.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