public class MigrateFacetSortAttribute extends AbstractEventListener<AfterInitializationEndEvent>
| Constructor and Description |
|---|
MigrateFacetSortAttribute() |
| Modifier and Type | Method and 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 by
AbstractEventListener#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) |
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantServiceprotected void onEvent(AfterInitializationEndEvent event)
AbstractEventListenerAbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the given
event.onEvent in class AbstractEventListener<AfterInitializationEndEvent>event - the event to be processed#onApplicationEvent(ApplicationEvent)protected EnumerationValueModel getFacetSortInstance(java.lang.String facetSortString)
protected java.util.Collection<SolrIndexedPropertyModel> getIndexedPropertiesForFacetSort(EnumerationValueModel facetSort)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
modelService - the modelService to setprotected FlexibleSearchService getFlexibleSearchService()
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
flexibleSearchService - the flexibleSearchService to setprotected TypeService getTypeService()
public void setTypeService(TypeService typeService)
typeService - the typeService to setpublic void setFacetSort2sortProvidersMapping(java.util.Map<java.lang.String,java.lang.String> facetSort2sortProvidersMapping)
protected java.util.Map<java.lang.String,java.lang.String> getFacetSort2sortProvidersMapping()
Copyright © 2018 SAP SE. All Rights Reserved.