|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinkToken
This class facilitates way to provide an embeded link in a Message. To create a LinkToken please use: ReportElementFactory.createLinkToken(); OR ReportElementFactory.createLinkToken("NOTE1", message); OR ReportElementFactory.createLinkTokenForSupportNote("NOTE1", "1234.1"); Token name is the value that is provided in the message and needs to be replaced by a link. Example Message with a Token: "For a potential solution to the problem, please refer to {LINK1}" In this example "LINK1" is the token name. To repalce "LINK1" in message with a hyperlink create a LinkToken Object and add that to the Message Code: Message myResolutionMsg = ReportElementFactory.createMessage("NLS_KEY_FOR_RESOLUTION_MSG", "Default message"); myResolutionMsg.addLinkToken(ReportElementFactory.createLinkTokenForSupportNote("LINK1", "1234.1")); The message associated with the NLS_KEY_FOR_RESOLUTION_MSG will get displayed as: "For a potential solution to the problem, please refer to 1234.1"
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary |
---|
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.ReportConstants |
---|
ERROR_TYPE_DIAG, ERROR_TYPE_EXEC, MSG_ATTENTION, MSG_NORMAL, SEVERITY_CRITICAL, SEVERITY_WARNING |
Method Summary | |
---|---|
Message |
getMessage()
Gets the value of the token. |
java.lang.String |
getName()
Gets the name of the Token |
void |
setMessage(Message pValue)
Sets the value of the token. |
void |
setName(java.lang.String name)
Sets the name of the Token. |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Container |
---|
getMask, setMask |
Method Detail |
---|
void setMessage(Message pValue)
pValue
- Message getMessage()
void setName(java.lang.String name)
name
- Name of the Tokenjava.lang.String getName()
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |