Package de.hybris.platform.product.daos
Interface VariantTypeDao
- All Superinterfaces:
Dao
- All Known Implementing Classes:
DefaultVariantTypeDao
The
VariantTypeModel DAO.- Spring Bean ID:
- variantTypeDao
-
Method Summary
Modifier and TypeMethodDescriptionFinds allVariantTypeModels.intgetBaseProductCount(VariantTypeModel variantType) Returns the amount of products which use the given variant type.
-
Method Details
-
findAllVariantTypes
List<VariantTypeModel> findAllVariantTypes()Finds allVariantTypeModels.- Returns:
- a List of all
VariantTypeModels
-
getBaseProductCount
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
-