Click or drag to resize

INotificationManager Interface


Represents the manager object to manage the collection of notifications

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
public interface INotificationManager : ITransactionalEntity, 
	IDisposable

The INotificationManager type exposes the following members.

Properties
  NameDescription
Public propertyContentStore
Gets the Content Store.
(Inherited from ITransactionalEntity.)
Public propertyCurrentUser
Gets the Operating User for the Session .
(Inherited from ITransactionalEntity.)
Public propertyRecentNotificationsCount
Gets/sets the number of recent notifications to return. Default is 5.
Public propertySession
Gets the User Session that this manager instance was initiated from.
(Inherited from ITransactionalEntity.)
Top
Methods
  NameDescription
Public methodAdd(String, IEnumerableIUser)
Adds a new Notification, to collection of Users.
Public methodAdd(String, IEnumerableIUserGroup)
Adds a new Notification, to collection of Users that are members of specified Groups.
Public methodAdd(String, String, Boolean)
Adds a new Notification, to collection of Users, by by specifying either User ids or Group ids/
Public methodDeepCloneT, TManager
Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity.)
Public methodNotification
Retrieves one notification by its unique id
Public methodNotifications
Retrieves collection of notifications
Public methodNotificationsForUser
Retrieves collection of notifications for given user, either by specifies count, or all.
Public methodQuickWrite
Creates a temporary Write Session to quickly write something outside the current Session and transaction. This is a way to bypass the transaction and quickly put something into the content store.
(Inherited from ITransactionalEntity.)
Public methodRemove
Removes collection of notification by specified unique ids.
Top
See Also