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