Class UserPortalCustomPortalMessagesViewModel
java.lang.Object
de.xima.fc.gui.model.portal.UserPortalCustomPortalMessagesViewModel
- All Implemented Interfaces:
Serializable
This class is used to store the custom properties of the user portal for the display in a datatable.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserPortalCustomPortalMessagesViewModel(List<PortalProperty> messages, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionCreates a model from a map.
-
Constructor Details
-
UserPortalCustomPortalMessagesViewModel
-
-
Method Details
-
getMessages
-
getLocale
-
fromMap
public static UserPortalCustomPortalMessagesViewModel fromMap(Map<String, String> map, Locale locale) Creates a model from a map. The map is expected to contain the key-value pairs of the custom properties.- Parameters:
map- the map containing the key-value pairslocale- the locale to use for the model- Returns:
- the model
-