Package org.hippoecm.hst.core.parameters
Interface ValueListProvider
- All Known Implementing Classes:
EmptyValueListProvider
public interface ValueListProvider
Dynamic value list provider which can be used with
DropDownList
annotation
to retrieve picker value list dynamically from any data sources.-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayValue
(String value) Return display string value for the pickervalue
.getDisplayValue
(String value, Locale locale) Return display string value for the pickervalue
and the specifiedlocale
.Return picker value list.
-
Method Details
-
getValues
Return picker value list. The return value must be a non-null list object.- Returns:
- non-null picker value list
-
getDisplayValue
Return display string value for the pickervalue
.- Parameters:
value
- picker value- Returns:
- display string value for the
value
-
getDisplayValue
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
-