Search Results for

    Show / Hide Table of Contents

    Class NotificationsRepository

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
    Assembly: cs.temp.dll.dll
    Syntax
    public class NotificationsRepository : INotificationsRepository

    Constructors

    NotificationsRepository(IScopeAccessor)

    Declaration
    public NotificationsRepository(IScopeAccessor scopeAccessor)
    Parameters
    Type Name Description
    IScopeAccessor scopeAccessor

    Methods

    CreateNotification(IUser, IEntity, String)

    Declaration
    public Notification CreateNotification(IUser user, IEntity entity, string action)
    Parameters
    Type Name Description
    IUser user
    IEntity entity
    System.String action
    Returns
    Type Description
    Notification

    DeleteNotifications(IEntity)

    Declaration
    public int DeleteNotifications(IEntity entity)
    Parameters
    Type Name Description
    IEntity entity
    Returns
    Type Description
    System.Int32

    DeleteNotifications(IUser)

    Declaration
    public int DeleteNotifications(IUser user)
    Parameters
    Type Name Description
    IUser user
    Returns
    Type Description
    System.Int32

    DeleteNotifications(IUser, IEntity)

    Declaration
    public int DeleteNotifications(IUser user, IEntity entity)
    Parameters
    Type Name Description
    IUser user
    IEntity entity
    Returns
    Type Description
    System.Int32

    GetEntityNotifications(IEntity)

    Declaration
    public IEnumerable<Notification> GetEntityNotifications(IEntity entity)
    Parameters
    Type Name Description
    IEntity entity
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Notification>

    GetUserNotifications(IUser)

    Declaration
    public IEnumerable<Notification> GetUserNotifications(IUser user)
    Parameters
    Type Name Description
    IUser user
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Notification>

    GetUsersNotifications(IEnumerable<Int32>, String, IEnumerable<Int32>, Guid)

    Declaration
    public IEnumerable<Notification> GetUsersNotifications(IEnumerable<int> userIds, string action, IEnumerable<int> nodeIds, Guid objectType)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Int32> userIds
    System.String action
    System.Collections.Generic.IEnumerable<System.Int32> nodeIds
    System.Guid objectType
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Notification>

    SetNotifications(IUser, IEntity, String[])

    Declaration
    public IEnumerable<Notification> SetNotifications(IUser user, IEntity entity, string[] actions)
    Parameters
    Type Name Description
    IUser user
    IEntity entity
    System.String[] actions
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Notification>
    In This Article
    • Constructors
      • NotificationsRepository(IScopeAccessor)
    • Methods
      • CreateNotification(IUser, IEntity, String)
      • DeleteNotifications(IEntity)
      • DeleteNotifications(IUser)
      • DeleteNotifications(IUser, IEntity)
      • GetEntityNotifications(IEntity)
      • GetUserNotifications(IUser)
      • GetUsersNotifications(IEnumerable<Int32>, String, IEnumerable<Int32>, Guid)
      • SetNotifications(IUser, IEntity, String[])
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX