Class EcomRemainsSearchEngineServiceImpl
- java.lang.Object
-
- co.mastermindcms.modules.services.EcomSearchEngineServiceImpl
-
- co.mastermindcms.modules.services.EcomRemainsSearchEngineServiceImpl
-
- All Implemented Interfaces:
EcomSearchEngineService
@Service public class EcomRemainsSearchEngineServiceImpl extends EcomSearchEngineServiceImpl
-
-
Field Summary
Fields Modifier and Type Field Description private AttributeServiceattributeServiceprivate GeoLocationServicegeoLocationServiceprivate org.springframework.data.mongodb.core.MongoTemplatemongoTemplateprivate SellerRegistrationServicesellerRegistrationService
-
Constructor Summary
Constructors Constructor Description EcomRemainsSearchEngineServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getCountriesOfOriginFilter(java.lang.String skuId)This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getCountriesOfSellersFilter(java.lang.String skuId)This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getDynamicFilters(java.lang.String skuId, java.lang.String filterType)This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getDynamicOptionFilters(java.lang.String skuId, java.lang.String attributeId)This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getDynamicValueFilters(java.lang.String skuId, java.lang.String attributeId)This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getGeneticTypeFilter(java.lang.String skuId)This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getLoggedSellerSkusFilter()This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getProductsListByRequestFilter(java.lang.String searchTerm)This method retrives a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getProductsListFilter()This method retrives a map, which can be processed in a templates.-
Methods inherited from class co.mastermindcms.modules.services.EcomSearchEngineServiceImpl
aiSearchIsActive, getActiveAttributeValuesFromSellerSKU, getAllCurrencies, getAreaUsageTypes, getAttributesFromSKU, getAttributeTypes, getAttributeValuesByAreaUsageType, getAttributeValuesFromSellerSKU, getAutoSuggestResults, getCategoriesBySkuId, getCategoryImageUrls, getCdnFolderName, getCertificateImageUrls, getContainerImageUrls, getCountries, getCountriesOfOriginByRequestFilter, getCountriesOfSellersByRequestFilter, getCountryByCode, getCurrencyByCode, getDeliveryTypes, getDynamicByRequestFilters, getDynamicOptionByRequestFilters, getDynamicValueByRequestFilters, getGeneticTypeByRequestFilter, getGeneticTypes, getIncoTerms, getLoggedSellerSkus, getLoggedSellerSkusCountriesOfOriginFilter, getLoggedSellerSkusDynamicFilters, getLoggedSellerSkusDynamicOptions, getLoggedSellerSkusDynamicValues, getLoggedSellerSkusGeneticTypeFilter, getOptionsFromAttribute, getPaginationFilter, getProductImageUrls, getProductsByCategoryAndFirstLetter, getPublishedCriteria, getSalutations, getSearchTerms, getSelectedUnit, getSellerImageUrls, getSellerSkuImageUrls, getSellerSkus, getSellerSkuTypes, getSellerTypes, getSkuImageUrls, getSkusByProductAndFirstLetter, getSortedProductsByCategory, getSortedProductSkus, getTradingUnits, getTranslatedUnit, getUnits, getUploadListingsExcel, isCommercialInfoAttribute, isListAttribute, isLogicalAttribute, isNumericAttribute, isPermanentSellerSKU, isProductRelatedAttribute, isRangeAttribute, isRemainedSellerSKU, isSimpleAttribute, isSpecialFeaturesAttribute, parseSearchQuery, searchCountries, searchResults, searchResultsPaged, showButtonsPermanentSKU, showButtonsRemainedSKU, showSellerSkuPrice
-
-
-
-
Field Detail
-
sellerRegistrationService
@Autowired private SellerRegistrationService sellerRegistrationService
-
attributeService
@Autowired private AttributeService attributeService
-
geoLocationService
@Autowired private GeoLocationService geoLocationService
-
mongoTemplate
@Autowired private org.springframework.data.mongodb.core.MongoTemplate mongoTemplate
-
-
Method Detail
-
getLoggedSellerSkusFilter
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getLoggedSellerSkusFilter()
Description copied from interface:EcomSearchEngineServiceThis method retrieves a map, which can be processed in a templates.- Specified by:
getLoggedSellerSkusFilterin interfaceEcomSearchEngineService- Overrides:
getLoggedSellerSkusFilterin classEcomSearchEngineServiceImpl- Returns:
- map-representation of data
-
getCountriesOfOriginFilter
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getCountriesOfOriginFilter(java.lang.String skuId)
Description copied from interface:EcomSearchEngineServiceThis method retrieves a map, which can be processed in a templates.- Specified by:
getCountriesOfOriginFilterin interfaceEcomSearchEngineService- Overrides:
getCountriesOfOriginFilterin classEcomSearchEngineServiceImpl- Parameters:
skuId- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getCountriesOfSellersFilter
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getCountriesOfSellersFilter(java.lang.String skuId)
Description copied from interface:EcomSearchEngineServiceThis method retrieves a map, which can be processed in a templates.- Specified by:
getCountriesOfSellersFilterin interfaceEcomSearchEngineService- Overrides:
getCountriesOfSellersFilterin classEcomSearchEngineServiceImpl- Parameters:
skuId- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getGeneticTypeFilter
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getGeneticTypeFilter(java.lang.String skuId)
Description copied from interface:EcomSearchEngineServiceThis method retrieves a map, which can be processed in a templates.- Specified by:
getGeneticTypeFilterin interfaceEcomSearchEngineService- Overrides:
getGeneticTypeFilterin classEcomSearchEngineServiceImpl- Parameters:
skuId- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getDynamicFilters
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDynamicFilters(java.lang.String skuId, java.lang.String filterType)Description copied from interface:EcomSearchEngineServiceThis method retrieves a map, which can be processed in a templates.- Specified by:
getDynamicFiltersin interfaceEcomSearchEngineService- Overrides:
getDynamicFiltersin classEcomSearchEngineServiceImpl- Parameters:
skuId- for a filtering by "_id" field of database entityfilterType- for a filtering by "type" field of database entity- Returns:
- map-representation of data
-
getDynamicOptionFilters
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDynamicOptionFilters(java.lang.String skuId, java.lang.String attributeId)Description copied from interface:EcomSearchEngineServiceThis method retrieves a map, which can be processed in a templates.- Specified by:
getDynamicOptionFiltersin interfaceEcomSearchEngineService- Overrides:
getDynamicOptionFiltersin classEcomSearchEngineServiceImpl- Parameters:
skuId- for a filtering by "_id" field of database entityattributeId- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getDynamicValueFilters
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDynamicValueFilters(java.lang.String skuId, java.lang.String attributeId)Description copied from interface:EcomSearchEngineServiceThis method retrieves a map, which can be processed in a templates.- Specified by:
getDynamicValueFiltersin interfaceEcomSearchEngineService- Overrides:
getDynamicValueFiltersin classEcomSearchEngineServiceImpl- Parameters:
skuId- for a filtering by "_id" field of database entityattributeId- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getProductsListFilter
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getProductsListFilter()
Description copied from interface:EcomSearchEngineServiceThis method retrives a map, which can be processed in a templates.- Specified by:
getProductsListFilterin interfaceEcomSearchEngineService- Overrides:
getProductsListFilterin classEcomSearchEngineServiceImpl- Returns:
- map-representation of data
-
getProductsListByRequestFilter
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getProductsListByRequestFilter(java.lang.String searchTerm)
Description copied from interface:EcomSearchEngineServiceThis method retrives a map, which can be processed in a templates.- Specified by:
getProductsListByRequestFilterin interfaceEcomSearchEngineService- Overrides:
getProductsListByRequestFilterin classEcomSearchEngineServiceImpl- Parameters:
searchTerm- for a filtering by "searchTerm" field of database entity- Returns:
- map-representation of data
-
-