public class FixedListChoiceListInitializer extends Object implements ModuleChoiceListInitializer
| Constructor and Description |
|---|
FixedListChoiceListInitializer() |
| Modifier and Type | Method and Description |
|---|---|
List<ChoiceListValue> |
getChoiceListValues(ExtendedPropertyDefinition epd,
String param,
List<ChoiceListValue> values,
Locale locale,
Map<String,Object> context) |
String |
getKey() |
void |
setItems(List<ChoiceListValue> items)
Injects the list of predefined choice options.
|
void |
setKey(String key) |
public List<ChoiceListValue> getChoiceListValues(ExtendedPropertyDefinition epd, String param, List<ChoiceListValue> values, Locale locale, Map<String,Object> context)
getChoiceListValues in interface ChoiceListInitializerpublic String getKey()
getKey in interface ModuleChoiceListInitializerpublic void setItems(List<ChoiceListValue> items)
items - list of predefined choice optionspublic void setKey(String key)
setKey in interface ModuleChoiceListInitializerCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.