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 ofILocalizationViewModel
with 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.void
setLocalizations(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:ILocalizationViewModel
Gets 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:ILocalizationViewModel
Sets the list of localizations, one entry for each locale.- Parameters:
localizations
- The map with the localized messages.
-
-