Class NotificationTemplateUtil

java.lang.Object
com.liferay.notification.test.util.NotificationTemplateUtil

public class NotificationTemplateUtil extends Object
  • Constructor Details

    • NotificationTemplateUtil

      public NotificationTemplateUtil()
  • Method Details

    • createNotificationContext

      public static com.liferay.notification.context.NotificationContext createNotificationContext(List<com.liferay.notification.model.NotificationRecipientSetting> notificationRecipientSettings, String type) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createNotificationContext

      public static com.liferay.notification.context.NotificationContext createNotificationContext(com.liferay.portal.kernel.model.User user)
    • createNotificationContext

      public static com.liferay.notification.context.NotificationContext createNotificationContext(com.liferay.portal.kernel.model.User user, long objectDefinitionId, String body, String description, String editorType, List<com.liferay.notification.model.NotificationRecipientSetting> notificationRecipientSettings, String subject, String type, List<Long> attachmentObjectFieldIds)
    • createNotificationContext

      public static com.liferay.notification.context.NotificationContext createNotificationContext(com.liferay.portal.kernel.model.User user, String description, String type)
    • createNotificationContext

      public static com.liferay.notification.context.NotificationContext createNotificationContext(com.liferay.portal.kernel.model.User user, String body, String description, List<com.liferay.notification.model.NotificationRecipientSetting> notificationRecipientSettings, String subject, String type)
    • createNotificationContext

      public static com.liferay.notification.context.NotificationContext createNotificationContext(com.liferay.portal.kernel.model.User user, String body, String description, String subject, String type)
    • createNotificationQueueEntry

      public static com.liferay.notification.model.NotificationQueueEntry createNotificationQueueEntry(com.liferay.portal.kernel.model.User user, String body, String subject, String type)
    • createNotificationRecipientSetting

      public static com.liferay.notification.model.NotificationRecipientSetting createNotificationRecipientSetting(String name, String value)
    • createNotificationTemplate

      public static com.liferay.notification.model.NotificationTemplate createNotificationTemplate(long userId, long objectDefinitionId, String body, String description, String editorType, String subject, String type)