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 Object implements DropdownValuesProvider, org.springframework.context.ApplicationContextAware
Implementation of DropdownValuesProvider. Provides all beans for given type.
  • Constructor Details

    • BeansDropdownValuesProvider

      public BeansDropdownValuesProvider()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • getValues

      public List<Object> getValues(String dropDownValueClassTypes)
      Description copied from interface: DropdownValuesProvider
      Returns values to be displayed in configurable dropdown.
      Specified by:
      getValues in interface DropdownValuesProvider
      Parameters:
      dropDownValueClassTypes - - class type of values.
      Returns:
      List of values.
    • getValues

      public List<Object> getValues(String dropDownValueClassTypes, Map<String,String> options)
      Description copied from interface: DropdownValuesProvider
      Returns values to be displayed in configurable dropdown.
      Specified by:
      getValues in interface DropdownValuesProvider
      Parameters:
      dropDownValueClassTypes - - class type of values. * @param options - dropdown options
      options - - dropdown options
      Returns:
      List of values.
    • resolveProviderName

      protected String resolveProviderName(String beanName)