Show / Hide Table of Contents

Class AppointmentPushNotificationTask

A batch of Mobile push notifications to send for a single appointment save/delete, queued for background processing so the originating save/delete request does not have to wait for the (potentially slow) external Central Services calls to complete.

Inheritance
object
AppointmentPushNotificationTask
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOffice.CRM.Notification
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public sealed class AppointmentPushNotificationTask
Remarks

Built synchronously from the live appointment matrix in AppointmentMatrix (the matrix is cleared right after notifications are triggered, so the recipients must be snapshotted before enqueueing), and processed by AppointmentPushNotificationDispatcher. The current tenant and user are captured by the queue on enqueue and re-established before processing.

Constructors

AppointmentPushNotificationTask()

A batch of Mobile push notifications to send for a single appointment save/delete, queued for background processing so the originating save/delete request does not have to wait for the (potentially slow) external Central Services calls to complete.

Declaration
public AppointmentPushNotificationTask()
Remarks

Built synchronously from the live appointment matrix in AppointmentMatrix (the matrix is cleared right after notifications are triggered, so the recipients must be snapshotted before enqueueing), and processed by AppointmentPushNotificationDispatcher. The current tenant and user are captured by the queue on enqueue and re-established before processing.

Properties

Recipients

One entry per recipient that should receive a push notification.

Declaration
public IReadOnlyList<AppointmentPushNotificationRecipient> Recipients { get; set; }
Property Value
Type Description
IReadOnlyList<AppointmentPushNotificationRecipient>
Remarks

Built synchronously from the live appointment matrix in AppointmentMatrix (the matrix is cleared right after notifications are triggered, so the recipients must be snapshotted before enqueueing), and processed by AppointmentPushNotificationDispatcher. The current tenant and user are captured by the queue on enqueue and re-established before processing.

SendMessageToOurself

Mirrors SendPushMessageToOurself at the time the appointment was saved: whether the saving user should also be notified.

Declaration
public bool SendMessageToOurself { get; set; }
Property Value
Type Description
bool
Remarks

Built synchronously from the live appointment matrix in AppointmentMatrix (the matrix is cleared right after notifications are triggered, so the recipients must be snapshotted before enqueueing), and processed by AppointmentPushNotificationDispatcher. The current tenant and user are captured by the queue on enqueue and re-established before processing.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top