Package com.hybris.merchandising.model
Class MerchSnSynchContext
java.lang.Object
com.hybris.merchandising.model.MerchSnSynchContext
Merchandising indexer context containing information required to synchronize products to catalog service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProducts(long number) static MerchSnSynchContextfrom(Map<String, String> merchPropertiesMapping, Locale defaultLocale, Map<LanguageModel, Locale> locales) static MerchSnSynchContextfrom(Map<String, String> merchPropertiesMapping, Map<String, AbstractSnFacetRequest> facetRequests, Map<String, AbstractSnFacetResponse> facetResponses, Locale defaultLocale) longvoidsetDefaultLocale(Locale defaultLocale) voidsetFacetRequests(Map<String, AbstractSnFacetRequest> facetRequests) voidsetFacetResponses(Map<String, AbstractSnFacetResponse> facetResponses) voidsetLocales(Map<LanguageModel, Locale> locales) voidsetMerchPropertiesMapping(Map<String, String> merchPropertiesMapping) voidsetNumberOfProducts(AtomicLong numberOfProducts) voidsetProductDetailsFields(Map<String, String> productDetailsFields)
-
Constructor Details
-
MerchSnSynchContext
public MerchSnSynchContext()
-
-
Method Details
-
from
public static MerchSnSynchContext from(Map<String, String> merchPropertiesMapping, Locale defaultLocale, Map<LanguageModel, Locale> locales) -
from
public static MerchSnSynchContext from(Map<String, String> merchPropertiesMapping, Map<String, AbstractSnFacetRequest> facetRequests, Map<String, AbstractSnFacetResponse> facetResponses, Locale defaultLocale) -
getMerchPropertiesMapping
-
setMerchPropertiesMapping
-
getFacetResponses
-
setFacetResponses
-
setProductDetailsFields
-
getProductDetailsFields
-
getFacetRequests
-
setFacetRequests
-
getNumberOfProducts
public long getNumberOfProducts() -
setNumberOfProducts
-
addProducts
public void addProducts(long number) -
getDefaultLocale
-
setDefaultLocale
-
getLocales
-
setLocales
-