Click or drag to resize

EmailNotification Class

Represents an email notification.
Inheritance Hierarchy
SystemObject
  Dynamicweb.DataDbObject
    Dynamicweb.Analytics.NotificationsEmailNotification

Namespace:  Dynamicweb.Analytics.Notifications
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public class EmailNotification : DbObject, 
	INotification<EmailAddress, EmailProfile>, INotification

The EmailNotification type exposes the following members.

Constructors
  NameDescription
Public methodEmailNotification
Initializes a new instance of an object.
Public methodEmailNotification(IDataReader)
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyConnection (Inherited from DbObject.)
Public propertyID (Inherited from DbObject.)
Public propertyIsNew (Inherited from DbObject.)
Public propertyName
Gets or sets the name of this notification.
Public propertyProfile
Gets or sets the email profile associated with this notification.
Public propertyRecipients
Gets or sets the list of recipients.
Public propertyTransaction (Inherited from DbObject.)
Public propertyType
Gets or sets the type of the notification.
Top
Methods
  NameDescription
Public methodDelete (Inherited from DbObject.)
Public methodDelete(Int32)
Deletes the given notification.
(Overrides DbObjectDelete(Int32).)
Public methodStatic memberDeleteNotifications
Deletes all existing email notifications.
Public methodStatic memberDeleteNotifications(IEnumerableInt32)
Deletes specific email notifications.
Public methodStatic memberDeleteNotificationsByProfiles
Deletes all email notifications that use specific profiles.
Public methodStatic memberExists(String)
Returns value indicating whether there is an existant email notification with specified name.
Public methodStatic memberExists(String, IEnumerableInt32)
Returns value indicating whether there is an existant email notification with specified name.
Public methodStatic memberExists(String, Int32)
Returns value indicating whether there is an existant email notification with specified name.
Public methodFill(IDataReader)
Fills object properties with data provided by a given data reader.
(Overrides DbObjectFill(IDataReader).)
Protected methodFill(IDataReader, Boolean, Boolean)
Fills object properties with data provided by a given data reader.
Protected methodFillRow
Fills data row with the property values of the current object.
(Overrides DbObjectFillRow(DataRow).)
Public methodStatic memberGetNotificationByID
Returns email notification by its ID.
Public methodStatic memberGetNotifications
Returns all available email notifications.
Public methodStatic memberKeepNotifications
Deletes all email notifications except of specific ones.
Public methodStatic memberKeepNotificationsByProfiles
Deletes all email notifications that use none of the specific profiles.
Public methodLoad (Inherited from DbObject.)
Public methodSave
Saves the profile.
(Overrides DbObjectSave.)
Top
Fields
  NameDescription
Protected field_id (Inherited from DbObject.)
Protected field_keyField (Inherited from DbObject.)
Protected field_tableName (Inherited from DbObject.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyINotificationProfile
Gets or sets the notification profile used to send out notifications.
Explicit interface implementationPrivate propertyINotificationRecipients
Gets or sets the list of notification recipients.
Top
See Also