Package de.xima.fc.gui.model.portal
Class UserPortalCustomPortalMessagesViewModel
- java.lang.Object
-
- de.xima.fc.gui.model.portal.UserPortalCustomPortalMessagesViewModel
-
- All Implemented Interfaces:
Serializable
public class UserPortalCustomPortalMessagesViewModel extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserPortalCustomPortalMessagesViewModel(List<PortalProperty> messages, Locale locale)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserPortalCustomPortalMessagesViewModel
fromMap(Map<String,String> map, Locale locale)
Creates a model from a map.Locale
getLocale()
List<PortalProperty>
getMessages()
-
-
-
Constructor Detail
-
UserPortalCustomPortalMessagesViewModel
public UserPortalCustomPortalMessagesViewModel(List<PortalProperty> messages, Locale locale)
-
-
Method Detail
-
getMessages
public List<PortalProperty> getMessages()
-
getLocale
public Locale 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
-
-