dundas.notifications.NotificationService Class

 

Inheritance Hierarchy

 
Class
   dundas.Component
      dundas.Service
         dundas.notifications.NotificationService
 

Constructors

 
  Name Description
init Initializes the NotificationService. Called during construction. Inherited from dundas.Component.
 
 

Properties

 
  Name Description
eventsManager Inherited from dundas.Service.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.Component.
site Gets or sets the site that this component is a part of. Inherited from dundas.Component.
uniqueId Gets or sets the unique ID of this component within the site. Inherited from dundas.Component.
 
 

Methods

 
  Name Description
bind Subscribe a handler for an event. Inherited from dundas.Service.
createDelegate Helper for creating delegate functions. Inherited from dundas.Component.
createNotification Creates a notification with the provided information.
createTimeout Creates a timeout. Inherited from dundas.Component.
deleteNotificationById Deletes the notification with the specified ID.
dispatch Dispatches a call by creating a delegate and running it right away on a timer. Inherited from dundas.Component.
dispose Inherited from dundas.Component.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getAccountNotificationInfos Gets limited information for the notifications for the specified account.
getAccountNotifications Gets the notifications for the specified account.
getCurrentUsersNotificationInfos Gets limited information for the notifications defined by the current user.
getCurrentUsersNotifications Gets the notifications defined by the current user.
getNotificationById Gets the notification specified by the ID.
getNotificationInfoById Gets limited information for the notification specified by the ID.
getService Gets the requested service. Inherited from dundas.Component.
onLoaded Called when the service is loaded. Inherited from dundas.Service.
queryNotificationInfos Gets limited information about the notifications corresponding to the query criteria.
queryNotifications Gets the notifications corresponding to the query criteria.
queryNumberOfNotifications Gets the number of notifications corresponding to the query criteria.
runNotifications Runs the notifications specified in the array the Ids
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.Service.
subscribeOnce Subscribe a one time handler for an event. Inherited from dundas.Service.
toggleNotifications Enables/disables the notifications' schedules
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Triggers an event. Inherited from dundas.Service.
unbind Unsubscribe an event. Inherited from dundas.Service.
updateNotification Updates a notification with the provided information.