Interface FieldOptions
-
- All Known Implementing Classes:
ChildVClassesOptions,ChildVClassesWithParent,ConstantFieldOptions,IndividualsViaClassGroupOptions,IndividualsViaObjectPropertyByRankOptions,IndividualsViaObjectPropetyOptions,IndividualsViaSearchQueryOptions,IndividualsViaVClassOptions,RdfTypeOptions
public interface FieldOptionsRepresents an object that can return a list of options for an HTML select list.- Author:
- bdc34
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Comparator<String[]>getCustomComparator()Map<String,String>getOptions(EditConfigurationVTwo editConfig, String fieldName, WebappDaoFactory wDaoFact, I18nBundle i18n)Any object that are needed to get the options should be passed in the constructor of the implementation.
-
-
-
Method Detail
-
getOptions
Map<String,String> getOptions(EditConfigurationVTwo editConfig, String fieldName, WebappDaoFactory wDaoFact, I18nBundle i18n) throws Exception
Any object that are needed to get the options should be passed in the constructor of the implementation.- Returns:
- return a map of value->label for the options. Should never return null.
- Throws:
Exception
-
getCustomComparator
Comparator<String[]> getCustomComparator()
-
-