public interface SubscriptionPreferencesEvaluator extends PreferencesEvaluator
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(SocialUtils socialUtils,
ResourceResolver resolver,
Subscription subscription,
Activity activity,
java.lang.String channelId,
java.lang.String categoryId,
UserSubscriptionPreferences userPreferences)
Evaluates whether the specified activity matches with the specified subscription
|
UgcFilter |
getFilter(SocialUtils socialUtils,
ResourceResolver resolver,
java.lang.String category,
Activity activity)
Provide the
UgcFilter that is used to fetch the subscriptions for the specified category and
activity. |
getSupportedCategoryTypes, getType
boolean evaluate(SocialUtils socialUtils, ResourceResolver resolver, Subscription subscription, Activity activity, java.lang.String channelId, java.lang.String categoryId, UserSubscriptionPreferences userPreferences)
socialUtils
- SocialUtilsresolver
- ResourceResolverchannelId
- StringcategoryId
- Stringactivity
- Activitysubscription
- SubscriptionuserPreferences
- UserSubscriptionPreferencesUgcFilter getFilter(SocialUtils socialUtils, ResourceResolver resolver, java.lang.String category, Activity activity)
UgcFilter
that is used to fetch the subscriptions for the specified category and
activity.socialUtils
- SocialUtilsresolver
- ResourceResolvercategory
- Stringactivity
- Activity"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"