Interface VariantTypeDao

All Superinterfaces:
Dao
All Known Implementing Classes:
DefaultVariantTypeDao

public interface VariantTypeDao extends Dao
Spring Bean ID:
variantTypeDao
  • Method Details

    • findAllVariantTypes

      List<VariantTypeModel> findAllVariantTypes()
      Finds all VariantTypeModels.
      Returns:
      a List of all VariantTypeModels
    • getBaseProductCount

      int getBaseProductCount(VariantTypeModel variantType)
      Returns the amount of products which use the given variant type.
      Parameters:
      variantType - the variant type
      Returns:
      the amount of products which use this variant type