public interface NotificationManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
createSubscription(Authorizable authorizable,
ValueMap configuration)
Deprecated.
|
Channel |
getChannel(java.lang.String type)
Return the channel.
|
PersistableValueMap |
getChannelConfiguration(Authorizable authorizable,
java.util.Map subscriptionConfig)
Deprecated.
Use
NotificationManager#getChannelConfigurations(org.apache.jackrabbit.api.security.user.Authorizable, Map, Session) instead |
PersistableValueMap |
getChannelConfiguration(Authorizable authorizable,
java.util.Map subscriptionConfig,
Session session)
Return the channel configuration for the subscription.
|
java.util.Iterator<PersistableValueMap> |
getChannelConfigurations(Authorizable authorizable)
Deprecated.
|
java.util.Iterator<PersistableValueMap> |
getChannelConfigurations(Authorizable authorizable,
Session session)
Return all channel configurations for a given authorizable.
|
Node |
getNotificationNode(Authorizable authorizable)
Deprecated.
|
Subscription |
getSubscription(java.lang.String type)
Return the subscription.
|
java.util.Iterator<PersistableValueMap> |
getSubscriptionConfigurations(Authorizable authorizable)
Deprecated.
|
java.util.Iterator<PersistableValueMap> |
getSubscriptionConfigurations(Authorizable authorizable,
Session session)
Return all subscriptions for a given authorizable.
|
boolean |
removeSubscription(Authorizable authorizable,
PersistableValueMap configuration)
Deprecated.
|
boolean |
subscribe(Authorizable authorizable,
java.util.Map<java.lang.String,java.lang.Object> configuration)
Deprecated.
Use
NotificationManager#subscribe(org.apache.jackrabbit.api.security.user.Authorizable, Map instead |
boolean |
subscribe(Authorizable authorizable,
java.util.Map<java.lang.String,java.lang.Object> configuration,
Session session)
Create a new subscription for the authorizable.
|
boolean |
unsubscribe(Authorizable authorizable,
java.lang.String path)
Deprecated.
|
boolean |
unsubscribe(Authorizable authorizable,
java.lang.String path,
Session s)
Remove all subscriptions matching the given
path. |
java.util.Iterator<PersistableValueMap> getSubscriptionConfigurations(Authorizable authorizable)
getSubscriptionConfigurations(org.apache.jackrabbit.api.security.user.Authorizable, Session) insteadauthorizable - The authorizable.java.util.Iterator<PersistableValueMap> getSubscriptionConfigurations(Authorizable authorizable, Session session)
authorizable - The authorizable.java.util.Iterator<PersistableValueMap> getChannelConfigurations(Authorizable authorizable)
getChannelConfigurations(org.apache.jackrabbit.api.security.user.Authorizable, Session) insteadauthorizable - The authorizable.java.util.Iterator<PersistableValueMap> getChannelConfigurations(Authorizable authorizable, Session session)
authorizable - The authorizable.Channel getChannel(java.lang.String type)
type - The channel type.nullSubscription getSubscription(java.lang.String type)
type - The subscription type.nullPersistableValueMap getChannelConfiguration(Authorizable authorizable, java.util.Map subscriptionConfig)
NotificationManager#getChannelConfigurations(org.apache.jackrabbit.api.security.user.Authorizable, Map, Session) insteadauthorizable - The authorizable.subscriptionConfig - The subscription configuration.nullPersistableValueMap getChannelConfiguration(Authorizable authorizable, java.util.Map subscriptionConfig, Session session)
authorizable - The authorizable.subscriptionConfig - The subscription configuration.null@Deprecated Node getNotificationNode(Authorizable authorizable) throws RepositoryException
NotificationUtil.getNotificationNode(Authorizable) insteadauthorizable - The authorizable.RepositoryException - Upon encountering a repository error getting the notification node.@Deprecated boolean createSubscription(Authorizable authorizable, ValueMap configuration)
subscribe(com.day.cq.security.Authorizable, java.util.Map) insteadauthorizable - The authorizable.configuration - The configuration.true if the configuration could be created, false otherwise.@Deprecated boolean removeSubscription(Authorizable authorizable, PersistableValueMap configuration)
unsubscribe(com.day.cq.security.Authorizable, String) instead.authorizable - The authorizable.configuration - The configuration.true if the configuration could be removed, false otherwise.boolean subscribe(Authorizable authorizable, java.util.Map<java.lang.String,java.lang.Object> configuration)
NotificationManager#subscribe(org.apache.jackrabbit.api.security.user.Authorizable, Map, Session) insteadauthorizable - The authorizable.configuration - The configuration.true if the configuration could be created, false otherwise.boolean subscribe(Authorizable authorizable, java.util.Map<java.lang.String,java.lang.Object> configuration, Session session)
authorizable - The authorizable.configuration - The configuration.session - User's session.true if the configuration could be created, false otherwise.boolean unsubscribe(Authorizable authorizable, java.lang.String path)
unsubscribe(org.apache.jackrabbit.api.security.user.Authorizable, String, Session) insteadpath. The path denotes the item
the user originally subscribed for.authorizable - The authorizable.path - The path of the subscription to remove.true if the configuration could be removed, false otherwise.boolean unsubscribe(Authorizable authorizable, java.lang.String path, Session s)
path. The path denotes the item
the user originally subscribed for.authorizable - The authorizable.path - The path of the subscription to remove.session - User's session.true if the configuration could be removed, false otherwise."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"