@ProviderType public interface InboxPreferencesProvider
Modifier and Type | Method and Description |
---|---|
InboxPreferences |
getPreferences(ResourceResolver resolver)
Returns the
InboxPreferences of the user
or empty object if Inbox Prefernces is not present |
void |
setPreferences(ResourceResolver resolver,
InboxPreferences preferences)
Sets the
InboxPreferences of the user
or null if you want to remove inbox preferences |
@Nonnull InboxPreferences getPreferences(@Nonnull ResourceResolver resolver) throws InboxException
InboxPreferences
of the user
or empty object if Inbox Prefernces is not presentresolver
- The caller's ResourceResolver
InboxPreferences
of the userInboxException
- InboxException
void setPreferences(@Nonnull ResourceResolver resolver, @Nullable InboxPreferences preferences) throws InboxException
InboxPreferences
of the user
or null if you want to remove inbox preferencesresolver
- The caller's ResourceResolver
preferences
- The InboxPreferences
of the userInboxException
- InboxException
Copyright © 2010 - 2020 Adobe. All Rights Reserved