Ektron.Cms.Framework.Settings.Notifications.NotificationPreferenceManager

Api class for managing user notification preferences in the CMS.

Properties
ApiMode Gets or sets the current API access mode. If set to Admin, the API runs with the permissions of an administrator.
ContentLanguage Gets or sets the current content language.
InPreviewMode Gets or sets the current Preview Mode. Returns true if the site is in site preview mode.
NotificationPreferenceService notification preference service
RequestInformation Gets the current Request Information.
SitePath Gets the site path.
UserId Gets or sets the currently logged in user ID.
Method Description
NotificationPreferenceManager Constructor
NotificationPreferenceManager(ApiAccessMode)
Add(NotificationPreferenceData) Saves a new notification preference.
SaveUserPreferences(List<NotificationPreferenceData>) Saves a set of notification preferences for a given user. Preferences marked as added will be added and those marked as deleted will be removed.
Update(NotificationPreferenceData) Updates an existing notification preference.
Delete(Int64) Deletes a notification preference.
GetItem(Int64) Returns a single notification preference by Id.
GetList(NotificationPreferenceCriteria) Returns a list of user notification preferences based upon the supplied criteira.
GetDefaultPreferenceList(NotificationPreferenceCriteria) Returns a list of default notification preferences based upon the supplied criteira.
GetUserNotificationListForActivity(ActivityData,PagingInfo) Returns a list of users and their nortfication settings for a given activity ocurrence.