Interface GenericSearchDao<M extends ItemModel>
- All Known Subinterfaces:
TmaProductOfferingPriceDao,TmaProductSpecificationDao
- All Known Implementing Classes:
DefaultGenericSearchDao,DefaultTmaBpoPreConfigDao,DefaultTmaProductOfferingPriceDao,DefaultTmaProductSpecCharactersticsValueDao,DefaultTmaProductSpecificationDao,DefaultTmaSubscribedProductDao
public interface GenericSearchDao<M extends ItemModel>
Data Access Object used to search models.
- Since:
- 6.6
-
Method Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ? extends Object> params) Searches for a unique model based on given parameters.
-
Method Details
-
findUnique
Searches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.- Parameters:
params-Mapcontaining name-value pairs used for identifying the unique model- Returns:
- model for given parameter
-