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:
  • Constructor Details

    • UserPortalCustomPortalMessagesViewModel

      public UserPortalCustomPortalMessagesViewModel(List<PortalProperty> messages, Locale locale)
  • Method Details

    • 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 pairs
      locale - the locale to use for the model
      Returns:
      the model