Class NotificationUtil

java.lang.Object
com.liferay.notification.rest.dto.v1_0.util.NotificationUtil

public class NotificationUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.liferay.notification.context.NotificationContext
    toNotificationContext(NotificationTemplate notificationTemplate, com.liferay.object.service.ObjectFieldLocalService objectFieldLocalService)
     
    static com.liferay.notification.model.NotificationRecipient
    toNotificationRecipient(com.liferay.portal.kernel.model.User user, long classPK)
     
    static List<com.liferay.notification.model.NotificationRecipientSetting>
    toNotificationRecipientSetting(long notificationRecipientId, com.liferay.notification.type.NotificationType notificationType, Object[] recipients, com.liferay.portal.kernel.model.User user)
     
    static com.liferay.notification.model.NotificationTemplate
    toNotificationTemplate(long notificationTemplateId, NotificationTemplate notificationTemplate, com.liferay.object.service.ObjectDefinitionLocalService objectDefinitionLocalService, com.liferay.portal.kernel.model.User user)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NotificationUtil

      public NotificationUtil()
  • Method Details

    • toNotificationContext

      public static com.liferay.notification.context.NotificationContext toNotificationContext(NotificationTemplate notificationTemplate, com.liferay.object.service.ObjectFieldLocalService objectFieldLocalService)
    • toNotificationRecipient

      public static com.liferay.notification.model.NotificationRecipient toNotificationRecipient(com.liferay.portal.kernel.model.User user, long classPK)
    • toNotificationRecipientSetting

      public static List<com.liferay.notification.model.NotificationRecipientSetting> toNotificationRecipientSetting(long notificationRecipientId, com.liferay.notification.type.NotificationType notificationType, Object[] recipients, com.liferay.portal.kernel.model.User user)
    • toNotificationTemplate

      public static com.liferay.notification.model.NotificationTemplate toNotificationTemplate(long notificationTemplateId, NotificationTemplate notificationTemplate, com.liferay.object.service.ObjectDefinitionLocalService objectDefinitionLocalService, com.liferay.portal.kernel.model.User user)