Class DefaultTmaProductSpecificationDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<M>
de.hybris.platform.b2ctelcoservices.daos.impl.DefaultGenericSearchDao<TmaProductSpecificationModel>
de.hybris.platform.b2ctelcoservices.daos.impl.DefaultTmaProductSpecificationDao
- All Implemented Interfaces:
GenericSearchDao<TmaProductSpecificationModel>,TmaProductSpecificationDao,de.hybris.platform.servicelayer.internal.dao.GenericDao<TmaProductSpecificationModel>
public class DefaultTmaProductSpecificationDao
extends DefaultGenericSearchDao<TmaProductSpecificationModel>
implements TmaProductSpecificationDao
Default implementation of the
TmaProductSpecificationDao.- Since:
- 2202
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the productSpecCharacteristics that have corresponding name.findProductSpecCharacteristicByName(String name, CatalogVersionModel catalogVersion) Retrieves the productSpecCharacteristics that have corresponding name and catalogVersion.getNumberOfProductSpecification(TmaProductSpecificationContextData productSpecificationContextData) Retrieves the the number of productSpecification that exist.getProductSpecifications(TmaProductSpecificationContextData productSpecificationContextData, Integer offset, Integer limit) Retrieves a list ofTmaProductSpecificationModelfiltered by the context .Methods inherited from class de.hybris.platform.b2ctelcoservices.daos.impl.DefaultGenericSearchDao
findUniqueMethods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.b2ctelcoservices.daos.GenericSearchDao
findUnique
-
Constructor Details
-
DefaultTmaProductSpecificationDao
-
-
Method Details
-
getProductSpecifications
public List<TmaProductSpecificationModel> getProductSpecifications(TmaProductSpecificationContextData productSpecificationContextData, Integer offset, Integer limit) Description copied from interface:TmaProductSpecificationDaoRetrieves a list ofTmaProductSpecificationModelfiltered by the context .- Specified by:
getProductSpecificationsin interfaceTmaProductSpecificationDao- Parameters:
productSpecificationContextData- the context.offset- the offset.limit- the maximum number of returned productSpecifications.- Returns:
- the list of productSpecifications found for the given offset and limit.
-
getNumberOfProductSpecification
public Integer getNumberOfProductSpecification(TmaProductSpecificationContextData productSpecificationContextData) Description copied from interface:TmaProductSpecificationDaoRetrieves the the number of productSpecification that exist.- Specified by:
getNumberOfProductSpecificationin interfaceTmaProductSpecificationDao- Parameters:
productSpecificationContextData- the context.- Returns:
- the number of all found
TmaProductSpecificationModel
-
findProductSpecCharacteristicByName
public List<TmaProductSpecCharacteristicModel> findProductSpecCharacteristicByName(String name, CatalogVersionModel catalogVersion) Description copied from interface:TmaProductSpecificationDaoRetrieves the productSpecCharacteristics that have corresponding name and catalogVersion.- Specified by:
findProductSpecCharacteristicByNamein interfaceTmaProductSpecificationDao- Parameters:
name- the name of the ProductSpecCharacteristiccatalogVersion- for which the productSpecCharacteristics will be retrieved- Returns:
- List of
TmaProductSpecCharacteristicModel
-
findProductSpecCharacteristicByName
Description copied from interface:TmaProductSpecificationDaoRetrieves the productSpecCharacteristics that have corresponding name.- Specified by:
findProductSpecCharacteristicByNamein interfaceTmaProductSpecificationDao- Parameters:
name- the name of the ProductSpecCharacteristic- Returns:
- List of
TmaProductSpecCharacteristicModel
-