Class BeansDropdownValuesProvider
- java.lang.Object
-
- de.hybris.platform.solrfacetsearchbackoffice.dropdownproviders.impl.BeansDropdownValuesProvider
-
- All Implemented Interfaces:
DropdownValuesProvider,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class BeansDropdownValuesProvider extends java.lang.Object implements DropdownValuesProvider, org.springframework.context.ApplicationContextAware
Implementation ofDropdownValuesProvider. Provides all beans for given type.
-
-
Constructor Summary
Constructors Constructor Description BeansDropdownValuesProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>getValues(java.lang.String dropDownValueClassTypes)Returns values to be displayed in configurable dropdown.java.util.List<java.lang.Object>getValues(java.lang.String dropDownValueClassTypes, java.util.Map<java.lang.String,java.lang.String> options)Returns values to be displayed in configurable dropdown.protected java.lang.StringresolveProviderName(java.lang.String beanName)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getValues
public java.util.List<java.lang.Object> getValues(java.lang.String dropDownValueClassTypes)
Description copied from interface:DropdownValuesProviderReturns values to be displayed in configurable dropdown.- Specified by:
getValuesin interfaceDropdownValuesProvider- Parameters:
dropDownValueClassTypes- - class type of values.- Returns:
- List of values.
-
getValues
public java.util.List<java.lang.Object> getValues(java.lang.String dropDownValueClassTypes, java.util.Map<java.lang.String,java.lang.String> options)Description copied from interface:DropdownValuesProviderReturns values to be displayed in configurable dropdown.- Specified by:
getValuesin interfaceDropdownValuesProvider- Parameters:
dropDownValueClassTypes- - class type of values. * @param options - dropdown optionsoptions- - dropdown options- Returns:
- List of values.
-
resolveProviderName
protected java.lang.String resolveProviderName(java.lang.String beanName)
-
-