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 AttributeService
attributeService
private GeoLocationService
geoLocationService
private org.springframework.data.mongodb.core.MongoTemplate
mongoTemplate
private SellerRegistrationService
sellerRegistrationService
-
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:EcomSearchEngineService
This method retrieves a map, which can be processed in a templates.- Specified by:
getLoggedSellerSkusFilter
in interfaceEcomSearchEngineService
- Overrides:
getLoggedSellerSkusFilter
in 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:EcomSearchEngineService
This method retrieves a map, which can be processed in a templates.- Specified by:
getCountriesOfOriginFilter
in interfaceEcomSearchEngineService
- Overrides:
getCountriesOfOriginFilter
in 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:EcomSearchEngineService
This method retrieves a map, which can be processed in a templates.- Specified by:
getCountriesOfSellersFilter
in interfaceEcomSearchEngineService
- Overrides:
getCountriesOfSellersFilter
in 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:EcomSearchEngineService
This method retrieves a map, which can be processed in a templates.- Specified by:
getGeneticTypeFilter
in interfaceEcomSearchEngineService
- Overrides:
getGeneticTypeFilter
in 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:EcomSearchEngineService
This method retrieves a map, which can be processed in a templates.- Specified by:
getDynamicFilters
in interfaceEcomSearchEngineService
- Overrides:
getDynamicFilters
in 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:EcomSearchEngineService
This method retrieves a map, which can be processed in a templates.- Specified by:
getDynamicOptionFilters
in interfaceEcomSearchEngineService
- Overrides:
getDynamicOptionFilters
in 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:EcomSearchEngineService
This method retrieves a map, which can be processed in a templates.- Specified by:
getDynamicValueFilters
in interfaceEcomSearchEngineService
- Overrides:
getDynamicValueFilters
in 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:EcomSearchEngineService
This method retrives a map, which can be processed in a templates.- Specified by:
getProductsListFilter
in interfaceEcomSearchEngineService
- Overrides:
getProductsListFilter
in 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:EcomSearchEngineService
This method retrives a map, which can be processed in a templates.- Specified by:
getProductsListByRequestFilter
in interfaceEcomSearchEngineService
- Overrides:
getProductsListByRequestFilter
in classEcomSearchEngineServiceImpl
- Parameters:
searchTerm
- for a filtering by "searchTerm" field of database entity- Returns:
- map-representation of data
-
-