Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


oracle.adf.view.rich.util
Class FacesMessageUtils

java.lang.Object
  extended by oracle.adf.view.rich.util.FacesMessageUtils


public class FacesMessageUtils
extends java.lang.Object

Simple class used to create BLAF+ Confirmation Type messages.


Method Summary
static javax.faces.application.FacesMessage getConfirmationMessage(javax.faces.application.FacesMessage message)
          Returns a message that is the same as the provided faces message except that it has a severity of INFO and will render in the Rich Renderkit as a confirmation type message.
static javax.faces.application.FacesMessage getConfirmationMessage(java.lang.String summary, java.lang.String detail)
          Returns a confirmation message with a certain summary and detail.
static boolean isConfirmationMessage(javax.faces.application.FacesMessage message)
          Returns true is a FacesMessage is a confirmation message.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getConfirmationMessage

public static final javax.faces.application.FacesMessage getConfirmationMessage(javax.faces.application.FacesMessage message)
Returns a message that is the same as the provided faces message except that it has a severity of INFO and will render in the Rich Renderkit as a confirmation type message.
Parameters:
message - a faces message
Returns:
the confirmation message

getConfirmationMessage

public static final javax.faces.application.FacesMessage getConfirmationMessage(java.lang.String summary,
                                                                                java.lang.String detail)
Returns a confirmation message with a certain summary and detail. Confirmation messages have a severity of INFO but will be rendered in the Rich Renderkit as a confirmation type message.
Parameters:
summary - the message summary
detail - the message detail
Returns:
the confirmation message

isConfirmationMessage

public static final boolean isConfirmationMessage(javax.faces.application.FacesMessage message)
Returns true is a FacesMessage is a confirmation message.
Parameters:
message - a faces message
Returns:
true if this is a confirmation message and false if it is not.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.