Package de.xima.fc.common.bean_models
Class PojoLocalizationViewModel<E extends ILocalizationViewModelEntry>
- java.lang.Object
-
- de.xima.fc.common.bean_models.SourceableLocalizationViewModel<E>
-
- de.xima.fc.common.bean_models.PojoLocalizationViewModel<E>
-
- All Implemented Interfaces:
ILocalizationViewModel<E>,Serializable
- Direct Known Subclasses:
DefaultLocalizationViewModel,UserPortalStateLocalizationViewModel
public abstract class PojoLocalizationViewModel<E extends ILocalizationViewModelEntry> extends SourceableLocalizationViewModel<E>
Base POJO implementation ofILocalizationViewModelwith implementations for most methods, but still a generic type for the entry type.- Since:
- 8.2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PojoLocalizationViewModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<E>getLocalizations()Gets the list of localizations, one entry for each locale.voidsetLocalizations(List<E> localizations)Sets the list of localizations, one entry for each locale.-
Methods inherited from class de.xima.fc.common.bean_models.SourceableLocalizationViewModel
addNewLocale, getActiveTabIndex, getLocalizationsByLocale, getNewLanguageTag, getSelectedLocale, getTabTitle, getViewLocale, newEntry, removeLocale, setActiveTabIndex, setNewLanguageTag, setSelectedLocale, setViewLocale
-
-
-
-
Method Detail
-
getLocalizations
public List<E> getLocalizations()
Description copied from interface:ILocalizationViewModelGets the list of localizations, one entry for each locale.- Returns:
- The map with the localized messages.
-
setLocalizations
public void setLocalizations(List<E> localizations)
Description copied from interface:ILocalizationViewModelSets the list of localizations, one entry for each locale.- Parameters:
localizations- The map with the localized messages.
-
-