| Package | Description |
|---|---|
| com.sapportals.wcm.repository.service.subscription | |
| com.sapportals.wcm.service.notificator |
Provides a service for sending notifications.
|
| com.sapportals.wcm.util.channels |
Contains interfaces and classes for sending messages to recipients.
|
| Modifier and Type | Method and Description |
|---|---|
IChannel |
ISubscription.getChannel()
Gets the channel that is used for sending notifications to the recipients.
|
IChannel |
ISubscriptionManager.getDefaultChannel(IRecipientList recipientList)
Gets the default channel over all recipients.
|
| Modifier and Type | Method and Description |
|---|---|
ISubscription |
ISubscriptionManager.createSubscription(IResourceContext context,
String name,
ISubscriptionCondition condition,
IResource resource,
IChannel channel,
IRecipient recipient,
ISubscriptionAttributes attributes)
Creates a new subscription with the specified attributes
for one resource and recipient.
|
ISubscription |
ISubscriptionManager.createSubscription(IResourceContext context,
String name,
ISubscriptionCondition condition,
IResource resource,
IChannel channel,
IRecipientList recipients,
ISubscriptionAttributes attributes)
Creates a new subscription with the specified attributes
for one resource and several recipients.
|
ISubscription |
ISubscriptionManager.createSubscription(IResourceContext context,
String name,
ISubscriptionCondition condition,
IResourceList resources,
IChannel channel,
IRecipientList recipients,
ISubscriptionAttributes attributes)
Creates a new subscription with the specified attributes
for several resources and recipients.
|
IRecipientList |
ISubscriptionManager.getInvalidForChannel(IChannel channel,
IRecipientList recipients)
Checks whether a channel is valid for the specified recipients, and returns the
recipients for which the channel is invalid.
|
boolean |
ISubscription.isValidChannel(IChannel channel)
Checks if a given channel is valid for this subscription's recipients.
|
boolean |
ISubscriptionManager.isValidChannel(IChannel channel,
IRecipient recipient)
Checks whether a channel is valid for a specified recipient.
|
boolean |
ISubscriptionManager.isValidChannel(IChannel channel,
IRecipientList recipientList)
Checks whether a channel is valid for a specified list of recipients.
|
ISubscription |
ISubscription.set(ISubscriptionCondition condition,
IResource resource,
IChannel channel,
IRecipient recipient,
ISubscriptionAttributes attributes)
Changes or sets multiple parameters for a subscription in one operation.
|
ISubscription |
ISubscription.set(ISubscriptionCondition condition,
IResource resource,
IChannel channel,
IRecipientList recipients,
ISubscriptionAttributes attributes)
Changes or sets multiple parameters for a subscription in one operation.
|
ISubscription |
ISubscription.set(ISubscriptionCondition condition,
IResourceList resources,
IChannel channel,
IRecipient recipient,
ISubscriptionAttributes attributes)
Changes or sets multiple parameters for a subscription in one operation.
|
ISubscription |
ISubscription.set(ISubscriptionCondition condition,
IResourceList resources,
IChannel channel,
IRecipientList recipients,
ISubscriptionAttributes attributes)
Changes or sets multiple parameters for a subscription in one operation.
|
void |
ISubscription.setChannel(IChannel channel)
Sets the channel to use for sending notifications to the recipients.
|
| Modifier and Type | Method and Description |
|---|---|
IContent |
INotification.getContent(IRecipient recipient,
IChannel channel,
Properties properties)
Get the content (depending on recipient and channel).
|
IContent |
AbstractNotification.getContent(IRecipient recipient,
IChannel channel,
Properties properties) |
String |
INotificatorService.getDefaultFromAddress(IChannel channel)
Get the default from address for a channel.
|
String |
INotification.getFromAddress(IChannel channel)
Get the 'from' address for a specific channel.
|
String |
AbstractNotification.getFromAddress(IChannel channel) |
protected Properties |
AbstractNotification.getProperties(IRecipient recipient,
IChannel channel,
Properties properties)
Get the properties to pass to the pipeline.
|
String |
ICustomNotification.getSubject(IRecipient recipient,
IChannel channel,
Properties properties)
Get the subject line (depending on recipient, channel and properties).
|
String |
AbstractNotification.getSubject(IRecipient recipient,
IChannel channel,
Properties properties) |
protected RID |
AbstractNotification.getXslRID(IResourceFactory factory,
String templates,
IChannel channel)
Get the URI to use for the XSL by trying a channel-specific URI first.
|
void |
INotificatorService.send(IRecipient recipient,
IChannel channel,
INotification notification)
Send a notification to a recipient via the specified channel.
|
void |
INotificatorService.send(IRecipientList recipients,
IChannel channel,
INotification notification)
Send a notification to a list of recipients via the specified channel.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAttachmentChannel |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChannel
Base class for
IChannel -implementations. |
| Modifier and Type | Method and Description |
|---|---|
IChannel |
IChannelList.get(int index) |
IChannel |
IRecipient.getChannel(String id)
Get the recipient's channel for a given channel id.
|
IChannel |
ChannelFactory.getChannel(String id)
Get an
IChannel instance for a specific id. |
IChannel |
IRecipient.getDefaultChannel()
Get the default channel.
|
IChannel |
ChannelFactory.getFirstChannelForType(String type)
Get the first instance of an
IChannel for a given type. |
IChannel |
IChannelListIterator.next() |
IChannel |
IChannelListIterator.previous() |
IChannel |
IChannelList.remove(int index) |
IChannel |
IChannelList.set(int index,
IChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
IChannelListIterator.add(IChannel channel) |
boolean |
IChannelList.add(IChannel channel) |
void |
IChannelList.add(int index,
IChannel channel) |
void |
IChannelList.addLast(IChannel channel) |
boolean |
IChannelList.contains(IChannel channel) |
static String[] |
ChannelFactory.getRecipientAdresses(IChannel channel,
IRecipientList recipients)
Utility method to convert an array of recipients to an array of addresses
in a specific channel format.
|
int |
IChannelList.indexOf(IChannel channel) |
int |
IChannelList.lastIndexOf(IChannel channel) |
boolean |
IChannelList.remove(IChannel channel) |
void |
IRecipient.sendTo(IChannel channel,
String from,
MimeMessage mimemessage)
Send a mime message via the specified channel.
|
void |
IRecipient.sendTo(IChannel channel,
String from,
String title,
String messagetext,
String type)
Send a message text via the specified channel.
|
void |
IChannelListIterator.set(IChannel channel) |
IChannel |
IChannelList.set(int index,
IChannel channel) |
Copyright 2017 SAP AG Complete Copyright Notice