public interface NotificationType
Modifier and Type | Method and Description |
---|---|
NotificationQueueEntry |
createNotificationQueueEntry(com.liferay.portal.kernel.model.User user,
java.lang.String body,
NotificationContext notificationContext,
java.lang.String subject) |
java.util.List<NotificationRecipientSetting> |
createNotificationRecipientSettings(long notificationRecipientId,
java.lang.Object[] recipients,
com.liferay.portal.kernel.model.User user) |
default java.util.Map<java.lang.String,java.lang.String> |
evaluateNotificationRecipientSettings(long companyId,
NotificationContext notificationContext,
java.util.Map<java.lang.String,java.lang.Object> notificationRecipientSettings) |
default java.util.Set<java.lang.String> |
getAllowedNotificationRecipientSettingsNames() |
default java.lang.String |
getFromName(NotificationQueueEntry notificationQueueEntry) |
default java.lang.String |
getRecipientSummary(NotificationQueueEntry notificationQueueEntry) |
java.lang.String |
getType() |
java.lang.String |
getTypeLanguageKey() |
default void |
resendNotification(NotificationQueueEntry notificationQueueEntry) |
default void |
resendNotifications(int status,
java.lang.String type) |
void |
sendNotification(NotificationContext notificationContext) |
void |
sendNotification(NotificationQueueEntry notificationQueueEntry) |
java.lang.Object[] |
toRecipients(java.util.List<NotificationRecipientSetting> notificationRecipientSettings) |
void |
validateNotificationQueueEntry(NotificationContext notificationContext) |
void |
validateNotificationTemplate(NotificationContext notificationContext) |
NotificationQueueEntry createNotificationQueueEntry(com.liferay.portal.kernel.model.User user, java.lang.String body, NotificationContext notificationContext, java.lang.String subject)
java.util.List<NotificationRecipientSetting> createNotificationRecipientSettings(long notificationRecipientId, java.lang.Object[] recipients, com.liferay.portal.kernel.model.User user)
default java.util.Map<java.lang.String,java.lang.String> evaluateNotificationRecipientSettings(long companyId, NotificationContext notificationContext, java.util.Map<java.lang.String,java.lang.Object> notificationRecipientSettings) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
default java.util.Set<java.lang.String> getAllowedNotificationRecipientSettingsNames()
default java.lang.String getFromName(NotificationQueueEntry notificationQueueEntry)
default java.lang.String getRecipientSummary(NotificationQueueEntry notificationQueueEntry)
java.lang.String getType()
java.lang.String getTypeLanguageKey()
default void resendNotification(NotificationQueueEntry notificationQueueEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
default void resendNotifications(int status, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void sendNotification(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void sendNotification(NotificationQueueEntry notificationQueueEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.Object[] toRecipients(java.util.List<NotificationRecipientSetting> notificationRecipientSettings)
void validateNotificationQueueEntry(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void validateNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException