Class FacesMessagePushData

java.lang.Object
de.xima.fc.gui.common.model.push.FacesMessagePushData
All Implemented Interfaces:
Serializable

public final class FacesMessagePushData extends Object implements Serializable
POJO data model for the push event beans. Represents the data for showing a Faces Message on the client.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

  • Method Details

    • getDetail

      public String getDetail()
      Returns:
      The detailed message show by the faces message.
    • getSeverity

      public EFacesMessageSeverity getSeverity()
      Returns:
      The severity of the faces message.
    • getSummary

      public String getSummary()
      Returns:
      The summary message shown by the faces message.
    • isSaveInSession

      public boolean isSaveInSession()
      Returns:
      true to save the faces message in the session so that it can be redisplayed when the user reloads the page or navigates to another page (requires an additional AJAX call on the client).
    • forFacesMessage

      public static FacesMessagePushData forFacesMessage(javax.faces.application.FacesMessage message)
      Parameters:
      message - Faces message to display.
      Returns:
      New push data for displaying the contents of the given faces message.
    • forFacesMessage

      public static FacesMessagePushData forFacesMessage(javax.faces.application.FacesMessage message, boolean saveInSession)
      Parameters:
      message - Faces message to display.
      saveInSession - true to save the faces message in the session so that it can be redisplayed when the user reloads the page or navigates to another page (requires an additional AJAX call on the client).
      Returns:
      New push data for displaying the contents of the given faces message.