|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.alm.common.message.AlmMessageFactory
public class AlmMessageFactory
The AlmMessageFactory is the factory class for maintaining
a AlmMessage list for a specific messageId. It is used together with
AlmMessage, ClientRequestContext to provide TPC connector a solution for
showing message logged in TPC connector code to end user through TPC IDE
client. Please refer to ClientRequestContext for example.
AlmMessage, ClientRequestContext| Method Summary | |
|---|---|
void |
addMessage(java.lang.String messageId,
AlmMessage message)
Adds a message to the message list specified by the messageId. |
java.util.Set<java.lang.String> |
getMessageIds()
Retrieves all message sources identified by message Ids |
java.util.List<AlmMessage> |
getMessages(java.util.Locale locale,
java.lang.String messageId,
java.lang.Object[] params)
Returns a message list specified by message id |
java.util.List<AlmMessage> |
getMessages(java.lang.String messageId,
java.lang.Object[] params)
|
static AlmMessageFactory |
newInstance()
Creates a new instance of AlmMessageFactory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AlmMessageFactory newInstance()
public java.util.List<AlmMessage> getMessages(java.lang.String messageId,
java.lang.Object[] params)
messageId - Holds all messages related to specific
source object.params - (not supported at this time)
public java.util.List<AlmMessage> getMessages(java.util.Locale locale,
java.lang.String messageId,
java.lang.Object[] params)
locale - the locale of message applied (not supported at this time)messageId - the message id of the message listparams - (not supported at this time)
public void addMessage(java.lang.String messageId,
AlmMessage message)
messageId - messageIdmessage - message objectpublic java.util.Set<java.lang.String> getMessageIds()
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||