Search Results for

    Show / Hide Table of Contents
    View Source

    Interface INotificationsRepository

    Namespace: Umbraco.Cms.Core.Persistence.Repositories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface INotificationsRepository : IRepository

    Methods

    View Source

    DeleteNotifications(IEntity)

    Declaration
    int DeleteNotifications(IEntity entity)
    Parameters
    Type Name Description
    IEntity entity
    Returns
    Type Description
    int
    View Source

    DeleteNotifications(IUser)

    Declaration
    int DeleteNotifications(IUser user)
    Parameters
    Type Name Description
    IUser user
    Returns
    Type Description
    int
    View Source

    DeleteNotifications(IUser, IEntity)

    Declaration
    int DeleteNotifications(IUser user, IEntity entity)
    Parameters
    Type Name Description
    IUser user
    IEntity entity
    Returns
    Type Description
    int
    View Source

    GetEntityNotifications(IEntity)

    Declaration
    IEnumerable<Notification> GetEntityNotifications(IEntity entity)
    Parameters
    Type Name Description
    IEntity entity
    Returns
    Type Description
    IEnumerable<Notification>
    View Source

    GetUserNotifications(IUser)

    Declaration
    IEnumerable<Notification> GetUserNotifications(IUser user)
    Parameters
    Type Name Description
    IUser user
    Returns
    Type Description
    IEnumerable<Notification>
    View Source

    GetUsersNotifications(IEnumerable<int>, string?, IEnumerable<int>, Guid)

    Declaration
    IEnumerable<Notification> GetUsersNotifications(IEnumerable<int> userIds, string? action, IEnumerable<int> nodeIds, Guid objectType)
    Parameters
    Type Name Description
    IEnumerable<int> userIds
    string action
    IEnumerable<int> nodeIds
    Guid objectType
    Returns
    Type Description
    IEnumerable<Notification>
    View Source

    SetNotifications(IUser, IEntity, string[])

    Declaration
    IEnumerable<Notification> SetNotifications(IUser user, IEntity entity, string[] actions)
    Parameters
    Type Name Description
    IUser user
    IEntity entity
    string[] actions
    Returns
    Type Description
    IEnumerable<Notification>
    View Source

    TryCreateNotification(IUser, IEntity, string, out Notification?)

    Declaration
    bool TryCreateNotification(IUser user, IEntity entity, string action, out Notification? notification)
    Parameters
    Type Name Description
    IUser user
    IEntity entity
    string action
    Notification notification
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX