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
View Source
GetUserNotifications(IUser)
Declaration
IEnumerable<Notification>? GetUserNotifications(IUser user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns
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 |
IEnumerable<System.Int32> |
userIds |
|
System.String |
action |
|
IEnumerable<System.Int32> |
nodeIds |
|
Guid |
objectType |
|
Returns
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