Package | Description |
---|---|
com.communote.server.core.blog.notes.processors | |
com.communote.server.core.messaging | |
com.communote.server.core.messaging.definitions |
Modifier and Type | Method and Description |
---|---|
NotificationDefinition |
NotificationNoteProcessor.getNotificationDefinition() |
NotificationDefinition |
DiscussionParticipationNotificationNoteProcessor.getNotificationDefinition() |
Modifier and Type | Method and Description |
---|---|
Collection<NotificationDefinition> |
NotificationService.getRegisteredDefinitions() |
Map<NotificationDefinition,NotificationScheduleTypes> |
NotificationService.getUserNotificationSchedules(Long userId)
Method to get a map of all set notification definitions and schedules for a given user.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationService.register(NotificationDefinition... definitions)
Method to register new definitions.
|
void |
NotificationService.saveUserNotificationSchedule(Long userId,
NotificationDefinition definition,
NotificationScheduleTypes scheduleType)
Method to save a setting for the given user.
|
void |
NotificationManagementImpl.sendMessage(Long noteId,
Long userId,
NotificationDefinition notificationDefinition,
Map<String,Object> model)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationService.sendMessage(Long noteId,
Long userToNotify,
NotificationDefinition notificationDefinition,
Map<String,Object> model)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationManagement.sendMessage(Long noteId,
Long userToNotify,
NotificationDefinition notificationDefinition,
Map<String,Object> model)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationManagementImpl.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition definition)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationService.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition notificationDefinition)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationManagement.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition notificationDefinition)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationService.unregister(NotificationDefinition... definitions)
Method to remove registered definitions.
|
boolean |
NotificationService.userHasSchedule(Long userId,
NotificationDefinition definition,
NotificationScheduleTypes schedule) |
Modifier and Type | Method and Description |
---|---|
void |
NotificationService.saveUserNotificationSchedules(Long userId,
Map<NotificationDefinition,NotificationScheduleTypes> mappings)
Method to save schedules for the given user.
|
Modifier and Type | Class and Description |
---|---|
class |
DiscussionNotificationDefinition
Notification definition for discussions.
|
class |
LikeNotificationDefinition
Notification definition for likes.
|
class |
MentionNotificationDefinition
Notification definition for mentions.
|
Modifier and Type | Field and Description |
---|---|
static NotificationDefinition |
LikeNotificationDefinition.INSTANCE
Static instance of this definition.
|
static NotificationDefinition |
DiscussionNotificationDefinition.INSTANCE
Static instance of this definition.
|
Copyright © 2019 Communote team. All rights reserved.