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>

public class MigrateFacetSortAttribute extends AbstractEventListener<AfterInitializationEndEvent>
  • Constructor Details

    • MigrateFacetSortAttribute

      public MigrateFacetSortAttribute()
  • Method Details

    • onEvent

      protected void onEvent(AfterInitializationEndEvent event)
      Description copied from class: AbstractEventListener
      This method is called by ApplicationListener.onApplicationEvent(ApplicationEvent) and processes the given event.
      Specified by:
      onEvent in class AbstractEventListener<AfterInitializationEndEvent>
      Parameters:
      event - the event to be processed
      See Also:
      • ApplicationListener.onApplicationEvent(ApplicationEvent)
    • getFacetSortInstance

      protected EnumerationValueModel getFacetSortInstance(String facetSortString)
    • getIndexedPropertiesForFacetSort

      protected 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(Map<String,String> facetSort2sortProvidersMapping)
    • getFacetSort2sortProvidersMapping

      protected Map<String,String> getFacetSort2sortProvidersMapping()