public abstract class NotificationUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_CHANNEL_NAME
The configuration property holding the channel type.
|
static String |
PROPERTY_CHANNEL_TYPE
The configuration property holding the channel type.
|
static String |
PROPERTY_SUBSCRIPTION_TYPE
The configuration property holding the subscription type.
|
| Constructor and Description |
|---|
NotificationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getChannelName(Map subscriptionConfig)
Return the channel name for the config.
|
static String |
getChannelType(Map channelConfig)
Return the channel type for the config.
|
static Node |
getNotificationNode(Authorizable authorizable)
Deprecated.
Use
NotificationUtil#getNotificationNode(String, javax.jcr.Session) instead |
static Node |
getNotificationNode(Authorizable authorizable,
Session s)
Deprecated.
Use
NotificationUtil#getNotificationNode(String, javax.jcr.Session) instead |
static Node |
getNotificationNode(String authorizablePath,
Session s)
Return the node for the settings of the notification module of an authorizable.
|
static String |
getSubscriptionType(Map subscriptionConfig)
Return the subscription type for the config.
|
public static final String PROPERTY_CHANNEL_TYPE
public static final String PROPERTY_CHANNEL_NAME
public static final String PROPERTY_SUBSCRIPTION_TYPE
public static String getChannelType(Map channelConfig)
channelConfig - The channel configuration.nullpublic static String getChannelName(Map subscriptionConfig)
subscriptionConfig - The subscription configuration.nullpublic static String getSubscriptionType(Map subscriptionConfig)
subscriptionConfig - The subscription configuration.nullpublic static Node getNotificationNode(Authorizable authorizable) throws RepositoryException
NotificationUtil#getNotificationNode(String, javax.jcr.Session) insteadauthorizable - The authorizable.null if not possible to get the nodeRepositoryException - Upon encountering a repository error getting the notification node.public static Node getNotificationNode(Authorizable authorizable, Session s) throws RepositoryException
NotificationUtil#getNotificationNode(String, javax.jcr.Session) insteadauthorizable - The authorizable.s - The session to get the nodeRepositoryException - Upon encountering a repository error getting the notification node.public static Node getNotificationNode(String authorizablePath, Session s) throws RepositoryException
authorizablePath - The path of the authorizable.s - The session to get the nodeRepositoryException - Upon encountering a repository error getting the notification node."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"