Interface EcomSearchEngineService
-
- All Known Implementing Classes:
EcomRemainsSearchEngineServiceImpl
,EcomSearchEngineServiceImpl
public interface EcomSearchEngineService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<AttributeValue>
getActiveAttributeValuesFromSellerSKU(java.lang.String sellerSkuId)
This method returns database entities as list.java.util.List<CurrencyItem>
getAllCurrencies()
This method returns database entities as list.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getAreaUsageTypes()
This method retrieves a map, which can be processed in a templates.java.util.List<Attribute>
getAttributesFromSKU(java.lang.String skuId)
This method returns database entities as list.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getAttributeTypes()
This method retrieves a map, which can be processed in a templates.java.util.List<AttributeValue>
getAttributeValuesByAreaUsageType(java.lang.String sellerSkuId, java.lang.String areaUsageType)
This method returns database entities as list.java.util.List<AttributeValue>
getAttributeValuesFromSellerSKU(java.lang.String sellerSkuId)
This method returns database entities as list.java.util.List<SkuDTO>
getAutoSuggestResults(java.lang.String searchTerm, java.lang.String lang, java.lang.String offset, java.lang.String limit)
This method does request for the SKUs in order to suggest what fits to search typing requestjava.util.List<Category>
getCategoriesBySkuId(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.String>>
getCategoryImageUrls(java.lang.String categoryId)
This method retrieves a map, which can be processed in a templates.java.lang.String
getCdnFolderName()
This method returns CDN folder namejava.util.List<java.util.Map<java.lang.String,java.lang.String>>
getCertificateImageUrls(java.lang.String certificateId)
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getContainerImageUrls(java.lang.String containerId)
This method retrieves a map, which can be processed in a templates.java.util.List<Country>
getCountries()
This method returns database entity.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getCountriesOfOriginByRequestFilter(java.lang.String productId, java.lang.String searchTerm)
This method retrieves a map, which can be processed in a templates.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>>
getCountriesOfSellersByRequestFilter(java.lang.String productId, java.lang.String searchTerm)
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.Country
getCountryByCode(java.lang.String code)
This method returns database entity.CurrencyItem
getCurrencyByCode(java.lang.String code)
This method returns database entity.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getDeliveryTypes()
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getDynamicByRequestFilters(java.lang.String productId, java.lang.String searchTerm, 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>>
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>>
getDynamicOptionByRequestFilters(java.lang.String productId, java.lang.String searchTerm, 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>>
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>>
getDynamicValueByRequestFilters(java.lang.String productId, java.lang.String searchTerm, 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>>
getGeneticTypeByRequestFilter(java.lang.String productId, java.lang.String searchTerm)
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>>
getGeneticTypes()
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getIncoTerms()
This method retrieves a map, which can be processed in a templates.java.util.List<SellerSKU>
getLoggedSellerSkus()
This method returns data as list.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getLoggedSellerSkusCountriesOfOriginFilter()
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getLoggedSellerSkusDynamicFilters(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>>
getLoggedSellerSkusDynamicOptions(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>>
getLoggedSellerSkusDynamicValues(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>>
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>>
getLoggedSellerSkusGeneticTypeFilter()
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getOptionsFromAttribute(java.lang.String attributeId)
This method retrieves a map, which can be processed in a templates.java.util.Deque<java.util.Map<java.lang.String,java.lang.Object>>
getPaginationFilter(java.lang.String requestJson)
This method does calculation for a pages based on the request.java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getProductImageUrls(java.lang.String productId)
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getProductsByCategoryAndFirstLetter(java.lang.String categoryId, java.lang.String firstLetter)
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.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getSalutations()
This method retrieves a map, which can be processed in a templates.Unit
getSelectedUnit(java.lang.String unitId)
Deprecated.java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getSellerImageUrls(java.lang.String sellerId)
This method retrieves a map, which can be processed in a templates.java.util.Deque<java.util.Map<java.lang.String,java.lang.Object>>
getSellerPaginationFilter(java.lang.String requestJson)
This method does calculation for a pages based on the request.java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getSellerSkuImageUrls(java.lang.String sellerSkuId)
This method retrieves a map, which can be processed in a templates.java.util.List<SellerSKU>
getSellerSkus(java.lang.String skuId)
This method returns data as list.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getSellerSkuTypes()
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getSellerTypes()
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getSkuImageUrls(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>>
getSkusByProductAndFirstLetter(java.lang.String productId, java.lang.String firstLetter)
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getSortedProductsByCategory(java.lang.String categoryId)
This method retrieves a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getSortedProductSkus(java.lang.String productId)
This method sorted and retrieves a map, which can be processed in a templates.java.util.List<java.lang.String>
getSpellCheckKeywords(java.lang.String regexp)
This method retrives a map, which can be processed in a templates.java.util.stream.Stream<java.lang.String>
getSpellCheckKeywordsAsStream(java.lang.String regexp)
This method retrives a map, which can be processed in a templates.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getTradingUnits()
This method retrieves a map, which can be processed in a templates.java.util.Map<java.lang.String,java.lang.Object>
getTranslatedUnit(java.lang.String unitId)
Deprecated.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getUnits()
Deprecated.java.lang.String
getUploadListingsExcel()
This method returns path for upload listings templateboolean
isCommercialInfoAttribute(java.lang.String type)
This method checks is database entity field had some value.boolean
isListAttribute(java.lang.String type)
This method checks is database entity field had some value.boolean
isLogicalAttribute(java.lang.String type)
This method checks is database entity field had some value.boolean
isNumericAttribute(java.lang.String type)
This method checks is database entity field had some value.boolean
isPermanentSellerSKU(java.lang.String type)
This method checks is database entity field had some value.boolean
isProductRelatedAttribute(java.lang.String type)
This method checks is database entity field had some value.boolean
isRangeAttribute(java.lang.String type)
This method checks is database entity field had some value.boolean
isRemainedSellerSKU(java.lang.String type)
This method checks is database entity field had some value.boolean
isSimpleAttribute(java.lang.String type)
This method checks is database entity field had some value.boolean
isSpecialFeaturesAttribute(java.lang.String type)
This method checks is database entity field had some value.java.util.LinkedHashSet<Country>
searchCountries(java.lang.String requestJson)
This method does search requests and returns data as list.java.util.List<SellerSKU>
searchResults(java.lang.String requestJson)
This method does search requests and returns data as list.org.springframework.data.domain.Page<SellerSKU>
searchResultsPaged(java.lang.String requestJson)
This method does search requests and returns data as pages.java.util.List<Seller>
searchSellerResults(java.lang.String requestJson)
Deprecated.org.springframework.data.domain.Page<Seller>
searchSellerResultsPaged(java.lang.String requestJson)
Deprecated.java.util.List<Seller>
searchSellersResults(java.lang.String requestJson)
Deprecated.boolean
showButtonsPermanentSKU(java.lang.String type)
This method checks is database entity had permanent type.boolean
showButtonsRemainedSKU(java.lang.String type)
This method checks is database entity had remained type.boolean
showSellerSkuPrice(java.lang.String sellerSkuId)
This method checks is database entity price field not null.
-
-
-
Method Detail
-
searchResults
java.util.List<SellerSKU> searchResults(java.lang.String requestJson)
This method does search requests and returns data as list.- Parameters:
requestJson
- search json- Returns:
- database entities as list
-
searchResultsPaged
org.springframework.data.domain.Page<SellerSKU> searchResultsPaged(java.lang.String requestJson)
This method does search requests and returns data as pages.- Parameters:
requestJson
- JSON-object of request contains an instructions for search queries- Returns:
- database entities separated to pages
-
searchSellerResults
@Deprecated java.util.List<Seller> searchSellerResults(java.lang.String requestJson)
Deprecated.This method does search requests and returns data as list.- Parameters:
requestJson
- search json- Returns:
- database entities as list
-
searchSellerResultsPaged
@Deprecated org.springframework.data.domain.Page<Seller> searchSellerResultsPaged(java.lang.String requestJson)
Deprecated.This method does search requests and returns data as pages.- Parameters:
requestJson
- JSON-object of request contains an instructions for search queries- Returns:
- database entities separated to pages
-
searchSellersResults
@Deprecated java.util.List<Seller> searchSellersResults(java.lang.String requestJson)
Deprecated.This method does search requests and returns data as list.- Parameters:
requestJson
- search json- Returns:
- database entities as list
-
getCdnFolderName
java.lang.String getCdnFolderName()
This method returns CDN folder name- Returns:
- value as string
-
getUploadListingsExcel
java.lang.String getUploadListingsExcel()
This method returns path for upload listings template- Returns:
- value as string
-
getSortedProductsByCategory
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getSortedProductsByCategory(java.lang.String categoryId)
This method retrieves a map, which can be processed in a templates.- Parameters:
categoryId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getAllCurrencies
java.util.List<CurrencyItem> getAllCurrencies()
This method returns database entities as list.- Returns:
- database entities as list
-
getCurrencyByCode
CurrencyItem getCurrencyByCode(java.lang.String code)
This method returns database entity.- Parameters:
code
- for filter and return database entity- Returns:
- database entity
-
searchCountries
java.util.LinkedHashSet<Country> searchCountries(java.lang.String requestJson)
This method does search requests and returns data as list.- Parameters:
requestJson
- search request- Returns:
- data transport entities as list
-
getCountries
java.util.List<Country> getCountries()
This method returns database entity.- Returns:
- database entities as list
-
getCountryByCode
Country getCountryByCode(java.lang.String code)
This method returns database entity.- Parameters:
code
- for filter and return database entity- Returns:
- database entity
-
getSelectedUnit
@Deprecated Unit getSelectedUnit(java.lang.String unitId)
Deprecated.This method returns database entity.- Parameters:
unitId
- identification for filter and return database entity- Returns:
- database entity
-
getTranslatedUnit
@Deprecated java.util.Map<java.lang.String,java.lang.Object> getTranslatedUnit(java.lang.String unitId)
Deprecated.This method returns data as map.- Parameters:
unitId
- identification for filter and return data- Returns:
- data as map
-
getUnits
@Deprecated java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getUnits()
Deprecated.This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getSellerImageUrls
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getSellerImageUrls(java.lang.String sellerId)
This method retrieves a map, which can be processed in a templates.- Parameters:
sellerId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getCategoryImageUrls
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getCategoryImageUrls(java.lang.String categoryId)
This method retrieves a map, which can be processed in a templates.- Parameters:
categoryId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getProductImageUrls
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getProductImageUrls(java.lang.String productId)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getSkuImageUrls
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getSkuImageUrls(java.lang.String skuId)
This method retrieves a map, which can be processed in a templates.- Parameters:
skuId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getSellerSkuImageUrls
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getSellerSkuImageUrls(java.lang.String sellerSkuId)
This method retrieves a map, which can be processed in a templates.- Parameters:
sellerSkuId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getCertificateImageUrls
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getCertificateImageUrls(java.lang.String certificateId)
This method retrieves a map, which can be processed in a templates.- Parameters:
certificateId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getContainerImageUrls
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getContainerImageUrls(java.lang.String containerId)
This method retrieves a map, which can be processed in a templates.- Parameters:
containerId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getGeneticTypes
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getGeneticTypes()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getSellerTypes
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getSellerTypes()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getSellerSkuTypes
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getSellerSkuTypes()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getSalutations
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getSalutations()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getIncoTerms
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getIncoTerms()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getDeliveryTypes
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDeliveryTypes()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getTradingUnits
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getTradingUnits()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getAttributeTypes
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAttributeTypes()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getAreaUsageTypes
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAreaUsageTypes()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getOptionsFromAttribute
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getOptionsFromAttribute(java.lang.String attributeId)
This method retrieves a map, which can be processed in a templates.- Parameters:
attributeId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getSellerSkus
java.util.List<SellerSKU> getSellerSkus(java.lang.String skuId)
This method returns data as list.- Parameters:
skuId
- identification for database entity which related entities list be returned- Returns:
- database entities as list
-
getLoggedSellerSkus
java.util.List<SellerSKU> getLoggedSellerSkus()
This method returns data as list.- Returns:
- database entities as list
-
getLoggedSellerSkusFilter
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.- Returns:
- map-representation of data
-
getLoggedSellerSkusCountriesOfOriginFilter
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getLoggedSellerSkusCountriesOfOriginFilter()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getLoggedSellerSkusGeneticTypeFilter
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getLoggedSellerSkusGeneticTypeFilter()
This method retrieves a map, which can be processed in a templates.- Returns:
- map-representation of data
-
getLoggedSellerSkusDynamicFilters
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getLoggedSellerSkusDynamicFilters(java.lang.String filterType)
This method retrieves a map, which can be processed in a templates.- Parameters:
filterType
- for a filtering by "type" field of database entity- Returns:
- map-representation of data
-
getLoggedSellerSkusDynamicOptions
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getLoggedSellerSkusDynamicOptions(java.lang.String attributeId)
This method retrieves a map, which can be processed in a templates.- Parameters:
attributeId
- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getLoggedSellerSkusDynamicValues
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getLoggedSellerSkusDynamicValues(java.lang.String attributeId)
This method retrieves a map, which can be processed in a templates.- Parameters:
attributeId
- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getAttributesFromSKU
java.util.List<Attribute> getAttributesFromSKU(java.lang.String skuId)
This method returns database entities as list.- Parameters:
skuId
- identification for database entity which related entities list be returned- Returns:
- database entities as list
-
getAttributeValuesFromSellerSKU
java.util.List<AttributeValue> getAttributeValuesFromSellerSKU(java.lang.String sellerSkuId)
This method returns database entities as list.- Parameters:
sellerSkuId
- identification for database entity which related entities list be returned- Returns:
- database entities as list
-
getAttributeValuesByAreaUsageType
java.util.List<AttributeValue> getAttributeValuesByAreaUsageType(java.lang.String sellerSkuId, java.lang.String areaUsageType)
This method returns database entities as list.- Parameters:
sellerSkuId
- identification for database entity which related entities list be returnedareaUsageType
- type of usage area- Returns:
- database entities as list
-
getActiveAttributeValuesFromSellerSKU
java.util.List<AttributeValue> getActiveAttributeValuesFromSellerSKU(java.lang.String sellerSkuId)
This method returns database entities as list.- Parameters:
sellerSkuId
- identification for database entity which related entities list be returned- Returns:
- database entities as list
-
getCountriesOfOriginFilter
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.- Parameters:
skuId
- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getCountriesOfOriginByRequestFilter
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getCountriesOfOriginByRequestFilter(java.lang.String productId, java.lang.String searchTerm)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- for a filtering by "_id" field of database entitysearchTerm
- for a filtering by "searchTerm" field of database entity- Returns:
- map-representation of data
-
getCountriesOfSellersFilter
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.- Parameters:
skuId
- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getCountriesOfSellersByRequestFilter
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getCountriesOfSellersByRequestFilter(java.lang.String productId, java.lang.String searchTerm)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- for a filtering by "_id" field of database entitysearchTerm
- for a filtering by "searchTerm" field of database entity- Returns:
- map-representation of data
-
getGeneticTypeFilter
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.- Parameters:
skuId
- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getGeneticTypeByRequestFilter
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getGeneticTypeByRequestFilter(java.lang.String productId, java.lang.String searchTerm)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- for a filtering by "_id" field of database entitysearchTerm
- for a filtering by "searchTerm" field of database entity- Returns:
- map-representation of data
-
getDynamicFilters
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.- 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
-
getDynamicByRequestFilters
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDynamicByRequestFilters(java.lang.String productId, java.lang.String searchTerm, java.lang.String filterType)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- for a filtering by "_id" field of database entitysearchTerm
- for a filtering by "searchTerm" field of database entityfilterType
- for a filtering by "type" field of database entity- Returns:
- map-representation of data
-
getDynamicOptionFilters
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.- 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
-
getDynamicOptionByRequestFilters
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDynamicOptionByRequestFilters(java.lang.String productId, java.lang.String searchTerm, java.lang.String attributeId)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- for a filtering by "_id" field of database entitysearchTerm
- for a filtering by "searchTerm" field of database entityattributeId
- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getDynamicValueFilters
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.- 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
-
getDynamicValueByRequestFilters
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDynamicValueByRequestFilters(java.lang.String productId, java.lang.String searchTerm, java.lang.String attributeId)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- for a filtering by "_id" field of database entitysearchTerm
- for a filtering by "searchTerm" field of database entityattributeId
- for a filtering by "_id" field of database entity- Returns:
- map-representation of data
-
getPaginationFilter
java.util.Deque<java.util.Map<java.lang.String,java.lang.Object>> getPaginationFilter(java.lang.String requestJson)
This method does calculation for a pages based on the request.- Parameters:
requestJson
- JSON-object of request contains an instructions for search queries- Returns:
- map-representation of data
-
getSellerPaginationFilter
java.util.Deque<java.util.Map<java.lang.String,java.lang.Object>> getSellerPaginationFilter(java.lang.String requestJson)
This method does calculation for a pages based on the request.- Parameters:
requestJson
- JSON-object of request contains an instructions for search queries- Returns:
- map-representation of data
-
getProductsListFilter
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.- Returns:
- map-representation of data
-
getProductsListByRequestFilter
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.- Parameters:
searchTerm
- for a filtering by "searchTerm" field of database entity- Returns:
- map-representation of data
-
showButtonsPermanentSKU
boolean showButtonsPermanentSKU(java.lang.String type)
This method checks is database entity had permanent type.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
showButtonsRemainedSKU
boolean showButtonsRemainedSKU(java.lang.String type)
This method checks is database entity had remained type.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
showSellerSkuPrice
boolean showSellerSkuPrice(java.lang.String sellerSkuId)
This method checks is database entity price field not null.- Parameters:
sellerSkuId
- identification for database entity which will be checked- Returns:
- value as boolean
-
isPermanentSellerSKU
boolean isPermanentSellerSKU(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isRemainedSellerSKU
boolean isRemainedSellerSKU(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isListAttribute
boolean isListAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isRangeAttribute
boolean isRangeAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isSimpleAttribute
boolean isSimpleAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isLogicalAttribute
boolean isLogicalAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isNumericAttribute
boolean isNumericAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isProductRelatedAttribute
boolean isProductRelatedAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isCommercialInfoAttribute
boolean isCommercialInfoAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
isSpecialFeaturesAttribute
boolean isSpecialFeaturesAttribute(java.lang.String type)
This method checks is database entity field had some value.- Parameters:
type
- field for database entity which will be checked- Returns:
- value as boolean
-
getSpellCheckKeywords
java.util.List<java.lang.String> getSpellCheckKeywords(java.lang.String regexp) throws java.io.IOException
This method retrives a map, which can be processed in a templates.- Parameters:
regexp
- regexp for a check Language toll- Returns:
- list from key words
- Throws:
java.io.IOException
- in check Language tool
-
getSpellCheckKeywordsAsStream
java.util.stream.Stream<java.lang.String> getSpellCheckKeywordsAsStream(java.lang.String regexp) throws java.io.IOException
This method retrives a map, which can be processed in a templates.- Parameters:
regexp
- regexp for a check Language toll- Returns:
- stream from key words
- Throws:
java.io.IOException
- in check Language tool
-
getSortedProductSkus
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getSortedProductSkus(java.lang.String productId)
This method sorted and retrieves a map, which can be processed in a templates.- Parameters:
productId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getProductsByCategoryAndFirstLetter
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getProductsByCategoryAndFirstLetter(java.lang.String categoryId, java.lang.String firstLetter)
This method retrieves a map, which can be processed in a templates.- Parameters:
categoryId
- identification for database entity which will be retrievedfirstLetter
- first letter of the name for the product- Returns:
- map-representation of data
-
getSkusByProductAndFirstLetter
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getSkusByProductAndFirstLetter(java.lang.String productId, java.lang.String firstLetter)
This method retrieves a map, which can be processed in a templates.- Parameters:
productId
- identification for database entity which will be retrievedfirstLetter
- first letter of the name for the sku- Returns:
- map-representation of data
-
getCategoriesBySkuId
java.util.List<Category> getCategoriesBySkuId(java.lang.String skuId)
This method retrieves a map, which can be processed in a templates.- Parameters:
skuId
- identification for database entity which will be retrieved- Returns:
- map-representation of data
-
getAutoSuggestResults
java.util.List<SkuDTO> getAutoSuggestResults(java.lang.String searchTerm, java.lang.String lang, java.lang.String offset, java.lang.String limit)
This method does request for the SKUs in order to suggest what fits to search typing request- Parameters:
searchTerm
- search querylang
- iso code for current languageoffset
- offset for returned itemslimit
- limit for returned items- Returns:
- map-representation of data
-
-