Uses of Class
javax.faces.application.FacesMessage

Packages that use FacesMessage
javax.faces.component Fundamental APIs for user interface components. 
javax.faces.context Classes and interfaces defining per-request state information. 
javax.faces.convert Contains classes and interfaces defining converters. 
javax.faces.validator Interface defining the validator model, and concrete validator implementation classes. 
 

Uses of FacesMessage in javax.faces.component
 

Methods in javax.faces.component that return FacesMessage
 FacesMessage UpdateModelException.getFacesMessage()
          

Return the FacesMessage passed to the constructor.

 FacesMessage UpdateModelException.getFacesMessage()
          

Return the FacesMessage passed to the constructor.

 

Constructors in javax.faces.component with parameters of type FacesMessage
UpdateModelException(FacesMessage facesMessage, java.lang.Throwable cause)
          

Store the argument facesMessage so it may be returned from UpdateModelException.getFacesMessage() and pass the argument cause to the super constructor.

UpdateModelException(FacesMessage facesMessage, java.lang.Throwable cause)
          

Store the argument facesMessage so it may be returned from UpdateModelException.getFacesMessage() and pass the argument cause to the super constructor.

 

Uses of FacesMessage in javax.faces.context
 

Methods in javax.faces.context that return types with arguments of type FacesMessage
 java.util.List<FacesMessage> FacesContext.getMessageList()
          

Like FacesContext.getMessages(), but returns a List<FacesMessage>, enabling use from EL expressions.

 java.util.List<FacesMessage> FacesContextWrapper.getMessageList()
          The default behavior of this method is to call FacesContext.getMessageList() on the wrapped FacesContext object.
 java.util.List<FacesMessage> FacesContextWrapper.getMessageList()
          The default behavior of this method is to call FacesContext.getMessageList() on the wrapped FacesContext object.
 java.util.List<FacesMessage> FacesContext.getMessageList()
          

Like FacesContext.getMessages(), but returns a List<FacesMessage>, enabling use from EL expressions.

 java.util.List<FacesMessage> FacesContext.getMessageList(java.lang.String clientId)
          

Like FacesContext.getMessages(java.lang.String), but returns a List<FacesMessage> of messages for the component with client id matching argument clientId.

 java.util.List<FacesMessage> FacesContextWrapper.getMessageList(java.lang.String clientId)
          The default behavior of this method is to call FacesContext.getMessageList(String) on the wrapped FacesContext object.
 java.util.List<FacesMessage> FacesContextWrapper.getMessageList(java.lang.String clientId)
          The default behavior of this method is to call FacesContext.getMessageList(String) on the wrapped FacesContext object.
 java.util.List<FacesMessage> FacesContext.getMessageList(java.lang.String clientId)
          

Like FacesContext.getMessages(java.lang.String), but returns a List<FacesMessage> of messages for the component with client id matching argument clientId.

abstract  java.util.Iterator<FacesMessage> FacesContext.getMessages()
          Return an Iterator over the FacesMessages that have been queued, whether or not they are associated with any specific client identifier.
 java.util.Iterator<FacesMessage> FacesContextWrapper.getMessages()
          The default behavior of this method is to call FacesContext.getMessages() on the wrapped FacesContext object.
 java.util.Iterator<FacesMessage> FacesContextWrapper.getMessages()
          The default behavior of this method is to call FacesContext.getMessages() on the wrapped FacesContext object.
abstract  java.util.Iterator<FacesMessage> FacesContext.getMessages()
          Return an Iterator over the FacesMessages that have been queued, whether or not they are associated with any specific client identifier.
abstract  java.util.Iterator<FacesMessage> FacesContext.getMessages(java.lang.String clientId)
          Return an Iterator over the FacesMessages that have been queued that are associated with the specified client identifier (if clientId is not null), or over the FacesMessages that have been queued that are not associated with any specific client identifier (if clientId is null).
 java.util.Iterator<FacesMessage> FacesContextWrapper.getMessages(java.lang.String clientId)
          The default behavior of this method is to call FacesContext.getMessages(String) on the wrapped FacesContext object.
 java.util.Iterator<FacesMessage> FacesContextWrapper.getMessages(java.lang.String clientId)
          The default behavior of this method is to call FacesContext.getMessages(String) on the wrapped FacesContext object.
abstract  java.util.Iterator<FacesMessage> FacesContext.getMessages(java.lang.String clientId)
          Return an Iterator over the FacesMessages that have been queued that are associated with the specified client identifier (if clientId is not null), or over the FacesMessages that have been queued that are not associated with any specific client identifier (if clientId is null).
 

Methods in javax.faces.context with parameters of type FacesMessage
abstract  void FacesContext.addMessage(java.lang.String clientId, FacesMessage message)
          Append a FacesMessage to the set of messages associated with the specified client identifier, if clientId is not null.
 void FacesContextWrapper.addMessage(java.lang.String clientId, FacesMessage message)
          The default behavior of this method is to call FacesContext.addMessage(String, FacesMessage) on the wrapped FacesContext object.
 void FacesContextWrapper.addMessage(java.lang.String clientId, FacesMessage message)
          The default behavior of this method is to call FacesContext.addMessage(String, FacesMessage) on the wrapped FacesContext object.
abstract  void FacesContext.addMessage(java.lang.String clientId, FacesMessage message)
          Append a FacesMessage to the set of messages associated with the specified client identifier, if clientId is not null.
 

Uses of FacesMessage in javax.faces.convert
 

Methods in javax.faces.convert that return FacesMessage
 FacesMessage ConverterException.getFacesMessage()
          Returns the FacesMessage associated with this exception; this will only be available if the converter that thew this exception instance placed it there.
 FacesMessage ConverterException.getFacesMessage()
          Returns the FacesMessage associated with this exception; this will only be available if the converter that thew this exception instance placed it there.
 

Constructors in javax.faces.convert with parameters of type FacesMessage
ConverterException(FacesMessage message)
          Construct a new exception with the specified detail message and no root cause.
ConverterException(FacesMessage message)
          Construct a new exception with the specified detail message and no root cause.
ConverterException(FacesMessage message, java.lang.Throwable cause)
          Construct a new exception with the specified detail message and root cause.
ConverterException(FacesMessage message, java.lang.Throwable cause)
          Construct a new exception with the specified detail message and root cause.
 

Uses of FacesMessage in javax.faces.validator
 

Methods in javax.faces.validator that return FacesMessage
 FacesMessage ValidatorException.getFacesMessage()
          

Returns the FacesMessage associated with the exception.

 FacesMessage ValidatorException.getFacesMessage()
          

Returns the FacesMessage associated with the exception.

 

Methods in javax.faces.validator that return types with arguments of type FacesMessage
 java.util.Collection<FacesMessage> ValidatorException.getFacesMessages()
          

If this instance was created with a constructor that takes Collection<FacesMessage>, this method returns the passed collection, otherwise this method returns null.

 java.util.Collection<FacesMessage> ValidatorException.getFacesMessages()
          

If this instance was created with a constructor that takes Collection<FacesMessage>, this method returns the passed collection, otherwise this method returns null.

 

Constructors in javax.faces.validator with parameters of type FacesMessage
ValidatorException(FacesMessage message)
          Construct a new exception with the specified message and no root cause.
ValidatorException(FacesMessage message)
          Construct a new exception with the specified message and no root cause.
ValidatorException(FacesMessage message, java.lang.Throwable cause)
          Construct a new exception with the specified detail message and root cause.
ValidatorException(FacesMessage message, java.lang.Throwable cause)
          Construct a new exception with the specified detail message and root cause.
 

Constructor parameters in javax.faces.validator with type arguments of type FacesMessage
ValidatorException(java.util.Collection<FacesMessage> messages)
          

Allow this one exception to contain multiple messages.

ValidatorException(java.util.Collection<FacesMessage> messages)
          

Allow this one exception to contain multiple messages.

ValidatorException(java.util.Collection<FacesMessage> messages, java.lang.Throwable cause)
          

Allow this one exception to contain multiple messages, while passing on the root cause to the superclass

ValidatorException(java.util.Collection<FacesMessage> messages, java.lang.Throwable cause)
          

Allow this one exception to contain multiple messages, while passing on the root cause to the superclass

 



Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.