public abstract class AbstractSocialSubscription extends AbstractSubscription
AbstractSubscription.Entry, AbstractSubscription.Filter
Constructor and Description |
---|
AbstractSocialSubscription() |
Modifier and Type | Method and Description |
---|---|
static SubscriptionEntryDetail |
getApplicableSubscription(Iterator<PersistableValueMap> configs,
String path,
MatchingFilter... matchingFilters)
get applicable subscription from the passed config.
|
boolean |
matches(NotificationContext context,
Event event)
Does this subscription match the incoming event?
|
public static SubscriptionEntryDetail getApplicableSubscription(Iterator<PersistableValueMap> configs, String path, MatchingFilter... matchingFilters)
configs
- input configurations to search for applicable subscriptions.path
- path on which the passed subscription config is to be checked for application.matchingFilters
- custom filter implementation(s) for filtering-in applicable subscriptions.SubscriptionEntryDetail
or null no entry matches the passed path.public boolean matches(NotificationContext context, Event event)
Subscription
context
- The notification context.event
- The event.true
if the user is interested in this event."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"