com.ibm.bpe.jsf.util

Interface Message

All Superinterfaces:
java.io.Serializable

  1. public interface Message
  2. extends java.io.Serializable
This interface is used to implement localised messages. The List Component can display such messages.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. int
ERROR
ERROR message type
  1. static
  2. int
INFO
INFO message type
  1. static
  2. int
WARNING
WARNING message yype

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getMessage()
Returns a localised message.
  1. int
getType()
Returns the type of the message.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

INFO

  1. static final int INFO
INFO message type
See Also:

WARNING

  1. static final int WARNING
WARNING message yype
See Also:

ERROR

  1. static final int ERROR
ERROR message type
See Also:

Method Detail

getMessage

  1. java.lang.String getMessage()
Returns a localised message. The locale can be looked up using the FacesContext.
Returns:
The localised message

getType

  1. int getType()
Returns the type of the message. The message must be an INFO, WARNING or ERROR message.
Returns:
The type of the message