Class EnumDropdownValuesProvider

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.util.regex.Pattern PATTERN_HYBRIS_ENUM  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EnumerationService getEnumerationService()  
      protected java.util.List<java.lang.Object> getEnumValues​(java.lang.String valueType)  
      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.
      void setEnumerationService​(EnumerationService enumerationService)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PATTERN_HYBRIS_ENUM

        protected static final java.util.regex.Pattern PATTERN_HYBRIS_ENUM
    • Constructor Detail

      • EnumDropdownValuesProvider

        public EnumDropdownValuesProvider()
    • Method Detail

      • getValues

        public java.util.List<java.lang.Object> getValues​(java.lang.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 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: 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.
      • getEnumValues

        protected java.util.List<java.lang.Object> getEnumValues​(java.lang.String valueType)
      • setEnumerationService

        public void setEnumerationService​(EnumerationService enumerationService)