public class MessagingUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static com.endeca.portal.liferay.ext.messaging.model.MessageRecord |
convertObjectToRecord(Message message) |
static com.endeca.portal.liferay.ext.messaging.model.NotificationRecord |
convertObjectToRecord(Notification notification) |
static com.endeca.portal.liferay.ext.messaging.model.NotificationRule |
convertObjectToRecord(NotificationRuleViewModel message) |
static Message |
convertRecordToObject(com.endeca.portal.liferay.ext.messaging.model.MessageRecord messageRecord) |
static Notification |
convertRecordToObject(com.endeca.portal.liferay.ext.messaging.model.NotificationRecord notificatioNRecord) |
static NotificationRuleViewModel |
convertRecordToObject(com.endeca.portal.liferay.ext.messaging.model.NotificationRule ruleRecord) |
public static Message convertRecordToObject(com.endeca.portal.liferay.ext.messaging.model.MessageRecord messageRecord) throws java.io.IOException, java.sql.SQLException, java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException
public static com.endeca.portal.liferay.ext.messaging.model.MessageRecord convertObjectToRecord(Message message) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static Notification convertRecordToObject(com.endeca.portal.liferay.ext.messaging.model.NotificationRecord notificatioNRecord) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static com.endeca.portal.liferay.ext.messaging.model.NotificationRecord convertObjectToRecord(Notification notification) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static NotificationRuleViewModel convertRecordToObject(com.endeca.portal.liferay.ext.messaging.model.NotificationRule ruleRecord) throws java.io.IOException, java.sql.SQLException, java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException
public static com.endeca.portal.liferay.ext.messaging.model.NotificationRule convertObjectToRecord(NotificationRuleViewModel message) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.