View Source
Interface INotificationsRepository
Assembly: Umbraco.Core.dll
Syntax
public interface INotificationsRepository : IRepository
Methods
View Source
CreateNotification(IUser, IEntity, String)
Declaration
Notification CreateNotification(IUser user, IEntity entity, string action)
Parameters
Type |
Name |
Description |
IUser |
user |
|
IEntity |
entity |
|
System.String |
action |
|
Returns
View Source
DeleteNotifications(IEntity)
Declaration
int DeleteNotifications(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Int32 |
|
View Source
DeleteNotifications(IUser)
Declaration
int DeleteNotifications(IUser user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns
Type |
Description |
System.Int32 |
|
View Source
DeleteNotifications(IUser, IEntity)
Declaration
int DeleteNotifications(IUser user, IEntity entity)
Parameters
Returns
Type |
Description |
System.Int32 |
|
View Source
GetEntityNotifications(IEntity)
Declaration
IEnumerable<Notification> GetEntityNotifications(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Notification> |
|
View Source
GetUserNotifications(IUser)
Declaration
IEnumerable<Notification> GetUserNotifications(IUser user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Notification> |
|
View Source
GetUsersNotifications(IEnumerable<Int32>, String, IEnumerable<Int32>, Guid)
Declaration
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> |
|
View Source
SetNotifications(IUser, IEntity, String[])
Declaration
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> |
|