Class NotificationTemplateUtil
java.lang.Object
com.liferay.notification.test.util.NotificationTemplateUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.notification.context.NotificationContextcreateNotificationContext(com.liferay.portal.kernel.model.User user) static com.liferay.notification.context.NotificationContextcreateNotificationContext(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) static com.liferay.notification.context.NotificationContextcreateNotificationContext(com.liferay.portal.kernel.model.User user, String description, String type) static com.liferay.notification.context.NotificationContextcreateNotificationContext(com.liferay.portal.kernel.model.User user, String body, String description, String subject, String type) static com.liferay.notification.context.NotificationContextcreateNotificationContext(com.liferay.portal.kernel.model.User user, String body, String description, List<com.liferay.notification.model.NotificationRecipientSetting> notificationRecipientSettings, String subject, String type) static com.liferay.notification.context.NotificationContextcreateNotificationContext(List<com.liferay.notification.model.NotificationRecipientSetting> notificationRecipientSettings, String type) static com.liferay.notification.model.NotificationQueueEntrycreateNotificationQueueEntry(com.liferay.portal.kernel.model.User user, String body, String subject, String type) static com.liferay.notification.model.NotificationRecipientSettingcreateNotificationRecipientSetting(String name, String value) static com.liferay.notification.model.NotificationTemplatecreateNotificationTemplate(long userId, long objectDefinitionId, String body, String description, String editorType, String subject, String type)
-
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
-
createNotificationContext
-
createNotificationContext
-
createNotificationQueueEntry
-
createNotificationRecipientSetting
-
createNotificationTemplate
-