Class DefaultCatalogDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<CatalogModel>
de.hybris.platform.catalog.daos.impl.DefaultCatalogDao
- All Implemented Interfaces:
CatalogDao,GenericDao<CatalogModel>
Default implementation of the
CatalogDao.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn allCatalogModels sorted in ascending order byCatalogModel.ID.ReturnsCatalogModelwith the given id.Returns a collection ofCatalogModels with the current defaultCatalogModelof the system (one element).Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultCatalogDao
public DefaultCatalogDao()
-
-
Method Details
-
findAllCatalogs
Description copied from interface:CatalogDaoReturn allCatalogModels sorted in ascending order byCatalogModel.ID.- Specified by:
findAllCatalogsin interfaceCatalogDao- Returns:
CollectionofCatalogModels or empty collection.
-
findCatalogById
Description copied from interface:CatalogDaoReturnsCatalogModelwith the given id.- Specified by:
findCatalogByIdin interfaceCatalogDao- Parameters:
id- catalog id- Returns:
- Matching
CatalogModel
-
findDefaultCatalogs
Description copied from interface:CatalogDaoReturns a collection ofCatalogModels with the current defaultCatalogModelof the system (one element).- Specified by:
findDefaultCatalogsin interfaceCatalogDao- Returns:
- an empty collection if no default catalog is set in the system.
-