public interface ChannelExtension
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ORDER |
static java.lang.String |
PROP_EXTENSION_ORDER |
Modifier and Type | Method and Description |
---|---|
void |
afterDeliver(Notification notification,
java.lang.String userId,
Session session,
java.util.Map<java.lang.String,java.lang.Object> configuration)
Callback method after the
Channel.deliver(com.adobe.cq.social.notifications.api.Notification, String) is performed. |
void |
beforeDeliver(Notification notification,
java.lang.String userId,
Session session,
java.util.Map<java.lang.String,java.lang.Object> configuration)
Callback method before the
Channel.deliver(com.adobe.cq.social.notifications.api.Notification, String) is performed. |
java.lang.String |
getName() |
int |
getOrder() |
static final int DEFAULT_ORDER
static final java.lang.String PROP_EXTENSION_ORDER
int getOrder()
java.lang.String getName()
void beforeDeliver(Notification notification, java.lang.String userId, Session session, java.util.Map<java.lang.String,java.lang.Object> configuration) throws ChannelException
Channel.deliver(com.adobe.cq.social.notifications.api.Notification, String)
is performed.notification
- the target Notification
userId
- the user whom to be notified.session
- the session used by the channel.configuration
- the channel configuration.ChannelException
- thrown if any one of the extensions throw an exception. This aborts the channel
delivery operations.void afterDeliver(Notification notification, java.lang.String userId, Session session, java.util.Map<java.lang.String,java.lang.Object> configuration) throws ChannelException
Channel.deliver(com.adobe.cq.social.notifications.api.Notification, String)
is performed.notification
- the target Notification
userId
- the user whom to be notified.session
- the session used by the channel.configuration
- the channel configuration.ChannelException
- thrown if any one of the extensions throw an exception. This aborts the channel
delivery operations."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"