|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface to the notification service.
A notificator allows the sending of notification s to a recipient
via a given channel .
A notification represents some kind of message (e.g. a html-text). A
recipient is a destination (e.g. a person) to send the message to. The
channel specifies the transport mechanism to use (e.g. eMail).
Copyright 2004 SAP AG
| Field Summary | |
static java.lang.String |
ENCODING_DEFAULT
default encoding to use, when transforming Streams into Strings. |
static java.lang.String |
SUBSCRIPTION_NOTIFICATION
id for SUBSCRIPTION notificiation: a subscription generated an event. |
static java.lang.String |
SUBSCRIPTIONADMIN_NOTIFICATION
id for SUBSCRIPTIONADMIN notification: a subscription was created/deleted or resources have been added to / removed from a subscription. |
static java.lang.String |
SUBSCRIPTIONBUNDLED_NOTIFICATION
id for SUBSCRIPTIONBUNDLED notificiation: a polling event trigged one or more notifications. |
static java.lang.String |
WORKFLOW_NOTIFICATION
id for WORKFLOW notification: a document state changed and someone has to do something (a workflow task is started)... |
static java.lang.String |
WORKFLOWRESULT_NOTIFICATION
id for WORKFLOWRESULT notification: someone did something with a workflow document (a workflow task is completed). |
| Method Summary | |
java.util.Collection |
getChannels()
Get a list of available channels for this notificator. |
java.lang.String |
getDefaultFromAddress(IChannel channel)
Get the default from address for a channel. |
void |
send(IRecipient recipient,
IChannel channel,
INotification notification)
Send a notification to a recipient via the specified channel. |
void |
send(IRecipientList recipients,
IChannel channel,
INotification notification)
|
| Methods inherited from interface com.sapportals.wcm.service.IService |
getDescription, getDescription, getID |
| Field Detail |
public static final java.lang.String ENCODING_DEFAULT
public static final java.lang.String SUBSCRIPTION_NOTIFICATION
public static final java.lang.String SUBSCRIPTIONBUNDLED_NOTIFICATION
public static final java.lang.String SUBSCRIPTIONADMIN_NOTIFICATION
public static final java.lang.String WORKFLOW_NOTIFICATION
public static final java.lang.String WORKFLOWRESULT_NOTIFICATION
| Method Detail |
public java.util.Collection getChannels()
throws WcmException
Collection is a list of IChannel s with
the valid channels for this notificator.WcmException - Exception raised in failure situationWcmException - if the list of channels can't be
retrieved.
public void send(IRecipient recipient,
IChannel channel,
INotification notification)
throws WcmException
recipient - TBD: Description of the incoming method parameterchannel - TBD: Description of the incoming method parameternotification - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situationWcmException - if the notification could not be sent.
public void send(IRecipientList recipients,
IChannel channel,
INotification notification)
throws WcmException
public java.lang.String getDefaultFromAddress(IChannel channel)
throws WcmException
channel - a IChannel to get the address for.String with the from address for the given channel.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 | |||||||||