Abstract
Protected
Readonly
appProtected
Readonly
dataProtected
Readonly
eventProtected
Readonly
idProtected
Readonly
loggerProtected
Readonly
moduleProtected
Readonly
notificationProtected
Readonly
pubCreate a new notification.
The notification class ref (e.g. TestNotification).
The options for creating the notification.
The context for the service method.
The created notification.
Protected
generateGenerates a new ID for a notification entity.
The generated ID.
Retrieves multiple notification entities based on the provided options.
The options to use when retrieving the notification entities.
A promise that resolves to an array containing the retrieved notification entities and list metadata.
Retrieves the class reference for a notification entity of the specified type or throws a NotFoundException
if it is not found.
The type of the notification entity to retrieve.
The context of the service method.
The class reference for the specified notification entity type.
Retrieves a single notification entity of the specified class by the given ID.
The type of the notification entity to retrieve.
The class reference of the notification entity to retrieve.
The ID of the notification entity to retrieve.
A promise that resolves to the retrieved notification entity, or null if it was not found.
Retrieves a single notification entity of the specified class by the given options.
The type of the notification entity to retrieve.
The class reference of the notification entity to retrieve.
A promise that resolves to the retrieved notification entity, or null if it was not found.
Retrieves a single notification entity of the specified class by the given options or throws a NotFoundException
if it is not found.
The type of the notification entity to retrieve.
The class reference of the notification entity to retrieve.
The options to use when retrieving the notification entity.
The context of the service method.
A promise that resolves to the retrieved notification entity.
Retrieves a single notification entity of the specified class by the given ID or throws a NotFoundException
if it is not found.
The type of the notification entity to retrieve.
The class reference of the notification entity to retrieve.
The ID of the notification entity to retrieve.
The context of the service method.
A promise that resolves to the retrieved notification entity.
Get unread notifications count.
The context for the service method.
Mark notifications as read.
List of notification IDs to mark as read.
The context for the service method.
Update a notification.
The options for updating the notification.
The context for the service method.
The updated notification.
Service for managing notifications.