Interface InboxPreferencesProvider
-
@ProviderType public interface InboxPreferencesProviderInterface for the setting and getting AEM Inbox Preferences
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InboxPreferencesgetPreferences(ResourceResolver resolver)Returns theInboxPreferencesof the user or empty object if Inbox Prefernces is not presentvoidsetPreferences(ResourceResolver resolver, InboxPreferences preferences)Sets theInboxPreferencesof the user or null if you want to remove inbox preferences
-
-
-
Method Detail
-
getPreferences
@Nonnull InboxPreferences getPreferences(@Nonnull ResourceResolver resolver) throws InboxException
Returns theInboxPreferencesof the user or empty object if Inbox Prefernces is not present- Parameters:
resolver- The caller'sResourceResolver- Returns:
- The
InboxPreferencesof the user - Throws:
InboxException-InboxException
-
setPreferences
void setPreferences(@Nonnull ResourceResolver resolver, @Nullable InboxPreferences preferences) throws InboxExceptionSets theInboxPreferencesof the user or null if you want to remove inbox preferences- Parameters:
resolver- The caller'sResourceResolverpreferences- TheInboxPreferencesof the user- Throws:
InboxException-InboxException
-
-