public class NotificationUtil
extends java.lang.Object
Constructor and Description |
---|
NotificationUtil() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.portal.kernel.model.User |
getDefaultSenderUser(Calendar calendar) |
static java.lang.String |
getDefaultTemplate(NotificationType notificationType,
NotificationTemplateType notificationTemplateType,
NotificationField notificationField) |
static java.lang.String |
getTemplate(CalendarNotificationTemplate calendarNotificationTemplate,
NotificationType notificationType,
NotificationTemplateType notificationTemplateType,
NotificationField notificationField) |
static java.lang.String |
getTemplatePropertyValue(CalendarNotificationTemplate calendarNotificationTemplate,
java.lang.String propertyName) |
static java.lang.String |
getTemplatePropertyValue(CalendarNotificationTemplate calendarNotificationTemplate,
java.lang.String propertyName,
java.lang.String defaultValue) |
static void |
notifyCalendarBookingRecipients(CalendarBooking calendarBooking,
NotificationType notificationType,
NotificationTemplateType notificationTemplateType,
com.liferay.portal.kernel.model.User sender) |
static void |
notifyCalendarBookingReminders(CalendarBooking calendarBooking,
long nowTime) |
public static com.liferay.portal.kernel.model.User getDefaultSenderUser(Calendar calendar) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getDefaultTemplate(NotificationType notificationType, NotificationTemplateType notificationTemplateType, NotificationField notificationField) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getTemplate(CalendarNotificationTemplate calendarNotificationTemplate, NotificationType notificationType, NotificationTemplateType notificationTemplateType, NotificationField notificationField) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getTemplatePropertyValue(CalendarNotificationTemplate calendarNotificationTemplate, java.lang.String propertyName)
public static java.lang.String getTemplatePropertyValue(CalendarNotificationTemplate calendarNotificationTemplate, java.lang.String propertyName, java.lang.String defaultValue)
public static void notifyCalendarBookingRecipients(CalendarBooking calendarBooking, NotificationType notificationType, NotificationTemplateType notificationTemplateType, com.liferay.portal.kernel.model.User sender) throws java.lang.Exception
java.lang.Exception
public static void notifyCalendarBookingReminders(CalendarBooking calendarBooking, long nowTime) throws java.lang.Exception
java.lang.Exception