Package de.hybris.platform.product.daos
Interface VariantTypeDao
-
- All Superinterfaces:
Dao
- All Known Implementing Classes:
DefaultVariantTypeDao
public interface VariantTypeDao extends Dao
TheVariantTypeModelDAO.- Spring Bean ID:
- variantTypeDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<VariantTypeModel>findAllVariantTypes()Finds allVariantTypeModels.intgetBaseProductCount(VariantTypeModel variantType)Returns the amount of products which use the given variant type.
-
-
-
Method Detail
-
findAllVariantTypes
java.util.List<VariantTypeModel> findAllVariantTypes()
Finds allVariantTypeModels.- 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
-
-