Search Results for

    Show / Hide Table of Contents

    Class NotificationManager

    Stellt funktionen Bereit, um Erinnerungen zu Verwalten

    Inheritance
    System.Object
    NotificationManager
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Framework.Notification
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class NotificationManager

    Properties

    | Improve this Doc View Source

    Singleton

    Declaration
    public static NotificationManager Singleton { get; }
    Property Value
    Type Description
    NotificationManager

    Methods

    | Improve this Doc View Source

    Add(String, Guid, DateTime, Int32, String, String)

    Neue Erinnerung für den aktuellen Benutzer

    Declaration
    public void Add(string NotificationName, Guid ExternId, DateTime DueDateTime, int RemindMinutesBefore, string Text, string Note = null)
    Parameters
    Type Name Description
    System.String NotificationName

    Name der Konfiguration

    System.Guid ExternId

    Id, die den Datensatz referenziert

    System.DateTime DueDateTime

    Fälligkeitsdatum

    System.Int32 RemindMinutesBefore

    Gibt an, wieviele Minuten vor dem Fälligkeitsdatum die Erinnerung geschrieben werden soll

    System.String Text

    Anzeigetext

    System.String Note

    Notiz zu dieser Erinnerung

    | Improve this Doc View Source

    Add(String, Guid, Int32, DateTime, Int32, String, Int32, Boolean, String)

    Neue Erinnerung erstellen

    Declaration
    public void Add(string NotificationName, Guid ExternId, int UserId, DateTime DueDateTime, int RemindMinutesBefore, string Text, int CreateUserId, bool useExchangeSync = false, string Note = null)
    Parameters
    Type Name Description
    System.String NotificationName

    Name der Konfiguration

    System.Guid ExternId

    Id, die den Datensatz referenziert

    System.Int32 UserId

    Benutzer-Id für den die Erinnerung erstellt wird

    System.DateTime DueDateTime

    Fälligkeitsdatum

    System.Int32 RemindMinutesBefore

    Gibt an, wieviele Minuten vor dem Fälligkeitsdatum die Erinnerung geschrieben werden soll

    System.String Text

    Anzeigetext

    System.Int32 CreateUserId

    User, der die Erinnerung erstellt hat

    System.Boolean useExchangeSync

    Gibt an, ob die Exchange-Synchronisation verwendet werden soll oder nicht

    System.String Note

    Notiz zu dieser Erinnerung

    | Improve this Doc View Source

    Close(String, Guid, Boolean)

    Schließt die angegeben Erinnerung für den aktuellen Benutzer

    Declaration
    public void Close(string NotificationName, Guid ExternId, bool ExecuteCloseFunction = true)
    Parameters
    Type Name Description
    System.String NotificationName

    Name der Konfiguration

    System.Guid ExternId

    Id, die den Datensatz referenziert

    System.Boolean ExecuteCloseFunction

    Gibt an, ob die Close-Scripte ausgeführt werden sollen

    | Improve this Doc View Source

    Close(String, Guid, Int32, Boolean)

    Schließt die angegeben Erinnerung

    Declaration
    public void Close(string NotificationName, Guid ExternId, int UserId, bool ExecuteCloseFunction = true)
    Parameters
    Type Name Description
    System.String NotificationName

    Name der Konfiguration

    System.Guid ExternId

    Id, die den Datensatz referenziert

    System.Int32 UserId

    Benutzer-Id

    System.Boolean ExecuteCloseFunction

    Gibt an, ob die Close-Scripte ausgeführt werden sollen

    | Improve this Doc View Source

    EditNotification(String, Guid, Int32)

    Für das Edit-Script aus

    Declaration
    public void EditNotification(string InternName, Guid ExternId, int UserId)
    Parameters
    Type Name Description
    System.String InternName

    Interne Name der Erinnerung

    System.Guid ExternId
    System.Int32 UserId
    | Improve this Doc View Source

    GetNotificationObject(String, Guid, Int32)

    Gibt eine instanz einer notication zurück

    Declaration
    public NotificationObject GetNotificationObject(string InternName, Guid ExternId, int UserId)
    Parameters
    Type Name Description
    System.String InternName

    Interner Name

    System.Guid ExternId

    Externe Id

    System.Int32 UserId

    BenutezrId

    Returns
    Type Description
    NotificationObject
    | Improve this Doc View Source

    GetNotificationOverDueDate()

    Gibt alle offnen Erinnerungen für den aktuellen Benutzer zurück

    Declaration
    public IList<NotificationObject> GetNotificationOverDueDate()
    Returns
    Type Description
    System.Collections.Generic.IList<NotificationObject>

    Liste mit Erinnerungen

    | Improve this Doc View Source

    GetNotificationOverDueDate(Int32)

    Gibt alle offenen Erinnerungen zurück

    Declaration
    public IList<NotificationObject> GetNotificationOverDueDate(int UserId)
    Parameters
    Type Name Description
    System.Int32 UserId

    Benutzer-Id

    Returns
    Type Description
    System.Collections.Generic.IList<NotificationObject>

    Liste mit Erinnerungen

    | Improve this Doc View Source

    GetNotificationOverRemindeTime(Int32)

    Gibt alle offenen Erinnerungen zurück

    Declaration
    public IList<NotificationObject> GetNotificationOverRemindeTime(int UserId)
    Parameters
    Type Name Description
    System.Int32 UserId

    Benutzer-Id

    Returns
    Type Description
    System.Collections.Generic.IList<NotificationObject>

    Liste mit Erinnerungen

    | Improve this Doc View Source

    GetNotificationRemindeTime()

    Gibt alle offnen Erinnerungen für den aktuellen Benutzer zurück

    Declaration
    public IList<NotificationObject> GetNotificationRemindeTime()
    Returns
    Type Description
    System.Collections.Generic.IList<NotificationObject>

    Liste mit Erinnerungen

    | Improve this Doc View Source

    Init()

    Initialisiert das System

    Declaration
    public void Init()
    | Improve this Doc View Source

    RemindLater(String, Guid, Int32)

    Verschiebt das Erinnerungsdatum um einen angegebenen Minutenbetrag, für den aktuellen Benutzer

    Declaration
    public void RemindLater(string NotificationName, Guid ExternId, int Minutes)
    Parameters
    Type Name Description
    System.String NotificationName

    Name der Konfiguration

    System.Guid ExternId

    Id, die den Datensatz referenziert

    System.Int32 Minutes

    Minutenanzahl

    | Improve this Doc View Source

    RemindLater(String, Guid, Int32, Int32)

    Verschiebt das Erinnerungsdatum um einen angegebenen Minutenbetrag

    Declaration
    public void RemindLater(string NotificationName, Guid ExternId, int UserId, int Minuts)
    Parameters
    Type Name Description
    System.String NotificationName

    Name der Konfiguration

    System.Guid ExternId

    Id, die den Datensatz referenziert

    System.Int32 UserId

    Benutzer-Id

    System.Int32 Minuts

    Minutenanzahl

    | Improve this Doc View Source

    SetDueDate(String, Guid, DateTime)

    Setzt ein neuer "Fällig am" Datum für alle Erinnerungen aller User zu dieser ExternId

    Declaration
    public void SetDueDate(string InternName, Guid ExternId, DateTime DueDate)
    Parameters
    Type Name Description
    System.String InternName
    System.Guid ExternId
    System.DateTime DueDate
    | Improve this Doc View Source

    SetNotificationNote(String, Guid, String)

    Setzt einen neuen Notification-Text für alle Erinnerungen aller User zu dieser ExternId

    Declaration
    public void SetNotificationNote(string InternName, Guid ExternId, string Note)
    Parameters
    Type Name Description
    System.String InternName
    System.Guid ExternId
    System.String Note
    | Improve this Doc View Source

    SetNotificationText(String, Guid, String)

    Setzt einen neuen Notification-Text für alle Erinnerungen aller User zu dieser ExternId

    Declaration
    public void SetNotificationText(string InternName, Guid ExternId, string Text)
    Parameters
    Type Name Description
    System.String InternName
    System.Guid ExternId
    System.String Text
    | Improve this Doc View Source

    ShowNotificationWindow(Boolean)

    Öffnet das Erinnerungsfenster

    Declaration
    public void ShowNotificationWindow(bool ignoreDueDate = false)
    Parameters
    Type Name Description
    System.Boolean ignoreDueDate

    Gibt an, ob das Fälligkeitsdatum ignoriert werden soll

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx