Class DefaultClassificationDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.classification.daos.impl.DefaultClassificationDao
- All Implemented Interfaces:
ClassificationDao,Dao
Flexible search backed implementation.
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAttributeUnits(ClassificationSystemVersionModel systemVersion) Find all attribute units of a system version.Find attribute values by code.findPossibleAttributeValues(CategoryModel category, Collection<ClassAttributeAssignmentModel> assignments, Map<ClassAttributeAssignmentModel, Object> filteredAttributeValues) Finds possible attribute values for given category, ClassAttribtuteAssignments and attribute filter.findProductsByAttributeValues(CategoryModel category, Map<ClassAttributeAssignmentModel, Object> attributeValues, int start, int count) Find products by a filter.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultClassificationDao
public DefaultClassificationDao()
-
-
Method Details
-
findPossibleAttributeValues
public List<PossibleAttributeValue> findPossibleAttributeValues(CategoryModel category, Collection<ClassAttributeAssignmentModel> assignments, Map<ClassAttributeAssignmentModel, Object> filteredAttributeValues) Description copied from interface:ClassificationDaoFinds possible attribute values for given category, ClassAttribtuteAssignments and attribute filter.- Specified by:
findPossibleAttributeValuesin interfaceClassificationDao
-
findProductsByAttributeValues
public SearchResult<ProductModel> findProductsByAttributeValues(CategoryModel category, Map<ClassAttributeAssignmentModel, Object> attributeValues, int start, int count) Find products by a filter.- Specified by:
findProductsByAttributeValuesin interfaceClassificationDao
-
findAttributeValuesByCode
Description copied from interface:ClassificationDaoFind attribute values by code.- Specified by:
findAttributeValuesByCodein interfaceClassificationDao
-
findAttributeUnits
public List<ClassificationAttributeUnitModel> findAttributeUnits(ClassificationSystemVersionModel systemVersion) Description copied from interface:ClassificationDaoFind all attribute units of a system version.- Specified by:
findAttributeUnitsin interfaceClassificationDao
-