Class DefaultAsConfigurationDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<T>
-
- de.hybris.platform.adaptivesearch.daos.impl.AbstractAsGenericDao<AbstractAsConfigurationModel>
-
- de.hybris.platform.adaptivesearch.daos.impl.DefaultAsConfigurationDao
-
- All Implemented Interfaces:
AsConfigurationDao
,GenericDao<AbstractAsConfigurationModel>
public class DefaultAsConfigurationDao extends AbstractAsGenericDao<AbstractAsConfigurationModel> implements AsConfigurationDao
Default implementation ofAsConfigurationDao
.
-
-
Constructor Summary
Constructors Constructor Description DefaultAsConfigurationDao()
Creates DAO forAbstractAsConfigurationModel
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends AbstractAsConfigurationModel>
java.util.Optional<T>findConfigurationByUid(java.lang.Class<T> type, CatalogVersionModel catalogVersion, java.lang.String uid)
Finds the configuration for a specific type, catalog version and uid.TypeService
getTypeService()
void
setTypeService(TypeService typeService)
-
Methods inherited from class de.hybris.platform.adaptivesearch.daos.impl.AbstractAsGenericDao
appendAndClause, appendClause, appendLikeClause, appendOrderByClause, appendWhereClause, buildPagination, buildQuery, buildQuery, buildSearchPageData, createQuery, queryList, queryList
-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Constructor Detail
-
DefaultAsConfigurationDao
public DefaultAsConfigurationDao()
Creates DAO forAbstractAsConfigurationModel
.
-
-
Method Detail
-
findConfigurationByUid
public <T extends AbstractAsConfigurationModel> java.util.Optional<T> findConfigurationByUid(java.lang.Class<T> type, CatalogVersionModel catalogVersion, java.lang.String uid)
Description copied from interface:AsConfigurationDao
Finds the configuration for a specific type, catalog version and uid.- Specified by:
findConfigurationByUid
in interfaceAsConfigurationDao
- Parameters:
type
- - the typecatalogVersion
- - the catalog versionuid
- - the unique identifier- Returns:
- the configuration
-
getTypeService
public TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
-