public interface NotificationType
Modifier and Type | Method and Description |
---|---|
java.util.List<NotificationRecipientSetting> |
createNotificationRecipientSettings(long notificationRecipientId,
java.lang.Object[] recipients,
com.liferay.portal.kernel.model.User user) |
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) |
java.lang.Object[] |
toRecipients(java.util.List<NotificationRecipientSetting> notificationRecipientSettings) |
void |
validateNotificationTemplate(NotificationContext notificationContext) |
java.util.List<NotificationRecipientSetting> createNotificationRecipientSettings(long notificationRecipientId, java.lang.Object[] recipients, com.liferay.portal.kernel.model.User user)
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
java.lang.Object[] toRecipients(java.util.List<NotificationRecipientSetting> notificationRecipientSettings)
void validateNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException