public interface SystemPreferencesEvaluator extends PreferencesEvaluator
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(SocialUtils socialUtils,
ResourceResolver resolver,
Activity activity,
java.lang.String channelId,
java.lang.String categoryId,
UserSubscriptionPreferences userPreferences)
Evaluates whether the specified activity matches with the specified userPreferences
|
java.util.Collection<java.lang.String> |
getOwnerIds(ResourceResolver resolver,
java.lang.String categoryId,
Activity activity)
Get list of owner id fo the specified categoryId and activity
|
getSupportedCategoryTypes, getType
java.util.Collection<java.lang.String> getOwnerIds(ResourceResolver resolver, java.lang.String categoryId, Activity activity)
resolver
- ResourceResolvercategoryId
- Stringactivity
- Activityboolean evaluate(SocialUtils socialUtils, ResourceResolver resolver, Activity activity, java.lang.String channelId, java.lang.String categoryId, UserSubscriptionPreferences userPreferences)
socialUtils
- SocialUtilsactivity
- Activityresolver
- ResourceResolverchannelId
- StringcategoryId
- StringuserPreferences
- UserSubscriptionPreferencesCopyright © 2010 - 2020 Adobe. All Rights Reserved