| 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 |
|---|---|
void |
ISubscription.addRecipient(IRecipient recipient)
Adds a recipient to the subscription.
|
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.
|
ISubscriptionList |
ISubscriptionManager.deleteSubscriptionsForUser(IResourceContext context,
IRecipient deletedUser,
IRecipient newUser,
boolean replaceOnlyOwnedSubscriptions)
Deletes all subscriptions for a given user.
|
ISubscriptionList |
ISubscriptionManager.getPassiveSubscriptions(IResourceContext context,
IRecipient recipient)
Gets all passive subscriptions for a specified recipient.
|
ISubscriptionList |
ISubscriptionManager.getSubscriptions(IResourceContext context,
IRecipient recipient,
boolean resolveIncludedUsers)
Returns all matching subscriptions for a specified recipient.
|
boolean |
ISubscription.isOnlyRecipient(IRecipient recipient)
Checks if a recipient is the only recipient of a subscription.
|
boolean |
ISubscription.isUnsubscribed(IRecipient recipient)
Checks whether a recipient is unsubscribed.
|
boolean |
ISubscriptionManager.isValidChannel(IChannel channel,
IRecipient recipient)
Checks whether a channel is valid for a specified recipient.
|
boolean |
ISubscription.removeRecipient(IRecipient recipient)
Removes a recipient from the subscription.
|
void |
ISubscription.resetRecipient(IRecipient recipient)
Reactivates all unsubscribed recipients for this subscription.
|
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,
IResourceList resources,
IChannel channel,
IRecipient recipient,
ISubscriptionAttributes attributes)
Changes or sets multiple parameters for a subscription in one operation.
|
boolean |
ISubscription.setOwner(IRecipient newOwner)
Sets a new owner for this subscription.
|
void |
ISubscription.setRecipient(IRecipient recipient)
Resets the subscription's recipient.
|
void |
ISubscription.unsubscribe(IRecipient recipient)
Unsubscribes a recipient and stops the subscription notifications for
this recipient.
|
| 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) |
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.getXmlRID(IResourceFactory factory,
String templates,
IRecipient recipient)
Get the URI to use for the XML by trying several locale-specific URI-s.
|
void |
INotificatorService.send(IRecipient recipient,
IChannel channel,
INotification notification)
Send a notification to a recipient via the specified channel.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAttachmentRecipient |
| Modifier and Type | Method and Description |
|---|---|
IRecipient |
IRecipientList.get(int index) |
IRecipient |
RecipientFactory.getRecipient(IPrincipal principal)
Get an
IRecipient for the given user-management object. |
IRecipient |
RecipientFactory.getRecipient(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
Deprecated.
As of NetWeaver 7.1, replaced by
RecipientFactory.getRecipient(com.sap.security.api.IPrincipal) |
IRecipient |
RecipientFactory.getRecipient(String id,
int type)
Get a
IRecipient for the given id and type. |
IRecipient |
IRecipientListIterator.next() |
IRecipient |
IRecipientListIterator.previous() |
IRecipient |
IRecipientList.remove(int index) |
IRecipient |
IRecipientList.set(int index,
IRecipient recipient) |
| Modifier and Type | Method and Description |
|---|---|
void |
IRecipientList.add(int index,
IRecipient recipient) |
void |
IRecipientListIterator.add(IRecipient recipient) |
boolean |
IRecipientList.add(IRecipient recipient) |
void |
IRecipientList.addLast(IRecipient recipient) |
boolean |
IRecipientList.contains(IRecipient recipient) |
boolean |
IRecipient.contains(IRecipient recipient)
Test if a given recipient is a member of a group.
|
String |
IChannel.getRecipientAddress(IRecipient recipient)
Get the given recipient's channel address in the channel's specific format.
|
abstract String |
AbstractChannel.getRecipientAddress(IRecipient recipient)
Get the address for the specified recipient.
|
int |
IRecipientList.indexOf(IRecipient recipient) |
int |
IRecipientList.lastIndexOf(IRecipient recipient) |
boolean |
IRecipientList.remove(IRecipient recipient) |
IRecipient |
IRecipientList.set(int index,
IRecipient recipient) |
void |
IRecipientListIterator.set(IRecipient recipient) |
Copyright 2017 SAP AG Complete Copyright Notice