Package org.hippoecm.hst.core.parameters
Interface ValueListProvider
-
- All Known Implementing Classes:
EmptyValueListProvider
public interface ValueListProvider
Dynamic value list provider which can be used withDropDownList
annotation to retrieve picker value list dynamically from any data sources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayValue(String value)
Return display string value for the pickervalue
.String
getDisplayValue(String value, Locale locale)
Return display string value for the pickervalue
and the specifiedlocale
.List<String>
getValues()
Return picker value list.
-
-
-
Method Detail
-
getValues
List<String> getValues()
Return picker value list. The return value must be a non-null list object.- Returns:
- non-null picker value list
-
getDisplayValue
String getDisplayValue(String value)
Return display string value for the pickervalue
.- Parameters:
value
- picker value- Returns:
- display string value for the
value
-
getDisplayValue
String getDisplayValue(String value, Locale locale)
Return display string value for the pickervalue
and the specifiedlocale
. Thelocale
can be null, in which case, it is supposed to use the default locale in implementations.- Parameters:
value
- picker valuelocale
- locale- Returns:
- display string value for the
value
and the specifiedlocale
-
-