|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.1) E10684-09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.util.FacesMessageUtils
public class FacesMessageUtils
Simple class used to create BLAF+ Confirmation Type messages.
| Method Summary | |
|---|---|
static javax.faces.application.FacesMessage |
createPropertyMapMessage(javax.faces.application.FacesMessage message, java.util.Map<java.lang.String,java.lang.Object> properties)Returns a message that is the same as the provided faces message except that it has some additional properties which may be used by a component to better render messaging info |
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 java.util.Map<java.lang.String,java.lang.Object> |
getPropertyMapFromMessage(javax.faces.application.FacesMessage message)Returns the property map if there is one, the message passed in is created by calling createPropertyMapMessage. |
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 |
|---|
public static final javax.faces.application.FacesMessage getConfirmationMessage(javax.faces.application.FacesMessage message)
message - a faces message
public static final javax.faces.application.FacesMessage getConfirmationMessage(java.lang.String summary,
java.lang.String detail)
summary - the message summarydetail - the message detailpublic static final boolean isConfirmationMessage(javax.faces.application.FacesMessage message)
true is a FacesMessage is a confirmation message.message - a faces messagetrue if this is a confirmation message and false if it is not.
public static final javax.faces.application.FacesMessage createPropertyMapMessage(javax.faces.application.FacesMessage message,
java.util.Map<java.lang.String,java.lang.Object> properties)
message - a faces messageproperties - a property mappublic static final java.util.Map<java.lang.String,java.lang.Object> getPropertyMapFromMessage(javax.faces.application.FacesMessage message)
message - a faces messageproperties - a property map
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.1) E10684-09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||