|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the notification s send by a notificator .
A notificaton represents some kind of 'form', e.g. a subscription
notification. The layout (content) of this form (notification) might depend
on the recipient and channel.
For example: a subscription notification, wich should be send to a german
recipient by eMail should have some german html-content, while a subscription
notification for an english recipient by SMS should have plain english text.
Copyright 2004 SAP AG
| Method Summary | |
IContent |
getContent(IRecipient recipient,
IChannel channel,
java.util.Properties properties)
Get the content (depending on recipient and channel). |
java.lang.String |
getDescription()
Get a displayable name (title). |
java.lang.String |
getDescription(java.util.Locale locale)
Get a displayable name (title) for a specific locale. |
java.lang.String |
getFromAddress(IChannel channel)
Get the 'from' address for a specific channel. |
java.lang.String |
getID()
Get a system id for this notification. |
| Method Detail |
public java.lang.String getID()
subscription
' for a subcription notification.String is the system id.public java.lang.String getDescription()
String is the displayable name.public java.lang.String getDescription(java.util.Locale locale)
locale - TBD: Description of the incoming method parameterString is the displayable name for the given locale.public java.lang.String getFromAddress(IChannel channel)
channel - a IChannel with the channel to get the from
address for.String with from address for the given channel.
public IContent getContent(IRecipient recipient,
IChannel channel,
java.util.Properties properties)
throws WcmException
recipient - TBD: Description of the incoming method parameterchannel - TBD: Description of the incoming method parameterproperties - TBD: Description of the incoming method parameterIContent is the content, wich should depend on the
specified channel and the given recipient (e.g. content can differ for
WAP- and eMail-channels, or it may depend on the receivers locale).WcmException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||