Class MigrateFacetSortAttribute
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterInitializationEndEvent>
de.hybris.platform.commerceservices.event.MigrateFacetSortAttribute
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AfterInitializationEndEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EnumerationValueModelgetFacetSortInstance(String facetSortString) protected FlexibleSearchServiceprotected Collection<SolrIndexedPropertyModel>protected ModelServiceprotected TypeServiceprotected voidThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetFacetSort2sortProvidersMapping(Map<String, String> facetSort2sortProvidersMapping) voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetModelService(ModelService modelService) voidsetTypeService(TypeService typeService) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
MigrateFacetSortAttribute
public MigrateFacetSortAttribute()
-
-
Method Details
-
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterInitializationEndEvent>- Parameters:
event- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getFacetSortInstance
-
getIndexedPropertiesForFacetSort
protected Collection<SolrIndexedPropertyModel> getIndexedPropertiesForFacetSort(EnumerationValueModel facetSort) -
getModelService
- Returns:
- the modelService
-
setModelService
- Parameters:
modelService- the modelService to set
-
getFlexibleSearchService
- Returns:
- the flexibleSearchService
-
setFlexibleSearchService
- Parameters:
flexibleSearchService- the flexibleSearchService to set
-
getTypeService
- Returns:
- the typeService
-
setTypeService
- Parameters:
typeService- the typeService to set
-
setFacetSort2sortProvidersMapping
-
getFacetSort2sortProvidersMapping
-