Class DefaultCatalogVersionJobDao
java.lang.Object
de.hybris.platform.catalog.job.util.impl.DefaultCatalogVersionJobDao
- All Implemented Interfaces:
CatalogVersionJobDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetItemInstanceCount(CatalogModel catalogModel, Collection<ComposedTypeModel> composedTypes) Returns the item count for the given catalog.intgetItemInstanceCount(CatalogVersionModel catalogVersion, ComposedTypeModel composedType) Returns the item count which match the givenComposedTypeModelandCatalogVersionModel.intgetItemInstanceCount(CatalogVersionModel catalogVersion, Collection<ComposedTypeModel> composedTypes) Return the item count which match the givenCatalogVersionModel.intgetItemInstanceCount(Collection<CatalogVersionModel> catalogVersions, Collection<ComposedTypeModel> composedTypes) Returns the item count for the given collection ofCatalogVersionModels.Returns sortedComposedTypeModellist according toComposedTypeSorterstrategy.getPKList(ComposedTypeModel composedTypeModel, CatalogVersionModel version) protected Collection<ComposedTypeModel>JALO method use service layer insteadvoidsetComposedTypeSorter(Sorter<ComposedTypeModel> composedTypeSorter) voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetModelService(ModelService modelService)
-
Constructor Details
-
DefaultCatalogVersionJobDao
public DefaultCatalogVersionJobDao()
-
-
Method Details
-
setFlexibleSearchService
-
setComposedTypeSorter
-
setModelService
-
getItemInstanceCount
public int getItemInstanceCount(CatalogModel catalogModel, Collection<ComposedTypeModel> composedTypes) Description copied from interface:CatalogVersionJobDaoReturns the item count for the given catalog. AllComposedTypeModels with acatalogversionattribute in allCatalogVersionModels of the catalog are counted- Specified by:
getItemInstanceCountin interfaceCatalogVersionJobDao
-
getItemInstanceCount
public int getItemInstanceCount(Collection<CatalogVersionModel> catalogVersions, Collection<ComposedTypeModel> composedTypes) Description copied from interface:CatalogVersionJobDaoReturns the item count for the given collection ofCatalogVersionModels. AllComposedTypeModels with acatalogversionattribute are counted.- Specified by:
getItemInstanceCountin interfaceCatalogVersionJobDao
-
getItemInstanceCount
public int getItemInstanceCount(CatalogVersionModel catalogVersion, Collection<ComposedTypeModel> composedTypes) Description copied from interface:CatalogVersionJobDaoReturn the item count which match the givenCatalogVersionModel. AllComposedTypeModels with acatalogversionattribute are counted.- Specified by:
getItemInstanceCountin interfaceCatalogVersionJobDao
-
getItemInstanceCount
Description copied from interface:CatalogVersionJobDaoReturns the item count which match the givenComposedTypeModelandCatalogVersionModel.- Specified by:
getItemInstanceCountin interfaceCatalogVersionJobDao
-
getOrderedComposedTypes
Description copied from interface:CatalogVersionJobDaoReturns sortedComposedTypeModellist according toComposedTypeSorterstrategy.- Specified by:
getOrderedComposedTypesin interfaceCatalogVersionJobDao
-
getUnorderedNonAbstractComposedTypes
JALO method use service layer instead -
getPKList
Description copied from interface:CatalogVersionJobDao- Specified by:
getPKListin interfaceCatalogVersionJobDao
-