|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.base.AdfObject | +--oracle.adf.view.js.base.AdfFacesMessage
public class AdfFacesMessage extends AdfObject
Field Summary |
|
---|---|
private Object |
|
private Object |
|
private Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
|
Method Summary |
|
---|---|
public String |
|
public Number |
|
public Number |
|
public static Number |
|
public String |
|
public static Number |
|
public static Number |
|
protected Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
private Object _detail
private Object _messageType
private Object _summary
public static Object TYPE_CONFIRMATION
public static Object TYPE_ERROR
public static Object TYPE_FATAL
public static Object TYPE_INFO
public static Object TYPE_WARNING
Constructor Detail |
---|
public AdfFacesMessage(Number messageType,
String summary,
String detail)
messageType |
- | the type of message |
summary |
- | the summary line for this message |
detail |
- | the detail line for this message |
Method Detail |
---|
public String getDetail()
String
- the message detailpublic Number getMessageType()
Number
- the message typepublic Number getSeverity()
Number
- the FacesMessage severity of this messagepublic static Number getSeverity(Number type)
type |
- | the message type |
Number
- the severity for the given message typepublic String getSummary()
String
- the message summarypublic static Number getType(Number severity)
severity |
- | the severity to find the type for |
Number
- the message type for the given severitypublic static Number getTypeFromMessage(TrFacesMessage message)
message |
- | the faces message or AdfFacesMessage to check |
Number
- the valid message typeprotected Object Init(Number messageType,
String summary,
String detail)
messageType |
- | the type of message |
summary |
- | the summary line for this message |
detail |
- | the detail line for this message |
Object
AdfObject.Init()
public Object setDetail(String detail)
detail |
- | the detail message |
Object
public Object setMessageType(Number type)
type |
- | the AdfFacesMessage type |
Object
public Object setSeverity(Number severity)
severity |
- | the TrFacesMessage severity |
Object
public Object setSummary(String summary)
summary |
- | the summary message |
Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |