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.1
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
Connection to the database that can be overriden if operation on a series of objects needs to be done in the context of a transaction
(Inherited from DbObject.)
Public propertyID
Store and retrieves the current object ID - usually the primary key of the table storing the data.
(Inherited from DbObject.)
Public propertyIsNew
Indicates whether the current object is new.
(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
Transaction if operation on a series of objects needs to be done in the context of a transaction
(Inherited from DbObject.)
Public propertyType
Gets or sets the type of the notification.
Top
Methods
  NameDescription
Public methodDelete
Deletes the current instance of this object based on its ID.
(Inherited from DbObject.)
Public methodDelete(Int32)
Deletes the given notification.
(Overrides DbObjectDelete(Int32).)
Public methodStatic memberDeleteNotifications
Deletes all existing email notifications.
Public methodStatic memberDeleteNotifications(IEnumerableT)
Public methodStatic memberDeleteNotificationsByProfiles
Public methodStatic memberExists(String)
Returns value indicating whether there is an existant email notification with specified name.
Public methodStatic memberExists(String, IEnumerableT)
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
Public methodStatic memberKeepNotifications
Public methodStatic memberKeepNotificationsByProfiles
Public methodLoad
Loads data from the current ID row.
(Inherited from DbObject.)
Public methodSave
Saves the profile.
(Overrides DbObjectSave.)
Top
Fields
  NameDescription
Protected field_id
The ID (primary key) of the instance of the DBobject
(Inherited from DbObject.)
Protected field_keyField
Name of the primary key field of the table
(Inherited from DbObject.)
Protected field_tableName
Name of table in the database where data for this record are kept.
(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