public class MBTestUtil
extends java.lang.Object
Constructor and Description |
---|
MBTestUtil() |
Modifier and Type | Method and Description |
---|---|
static MBMessage |
addMessage(long groupId,
long userId,
long categoryId,
java.lang.String subject,
java.lang.String body,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static MBMessage |
addMessage(long groupId,
long userId,
java.lang.String subject,
java.lang.String body) |
static MBMessage |
addMessage(java.lang.String subject,
java.lang.String body) |
static MBMessage |
addMessageWithWorkflow(long groupId,
long categoryId,
java.lang.String subject,
java.lang.String body,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> |
getInputStreamOVPs(java.lang.String fileName,
java.lang.Class<?> clazz,
java.lang.String keywords) |
static void |
populateNotificationsServiceContext(com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.lang.String command) |
protected static MBMessage |
updateStatus(MBMessage message,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static MBMessage addMessage(long groupId, long userId, long categoryId, java.lang.String subject, java.lang.String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBMessage addMessage(long groupId, long userId, java.lang.String subject, java.lang.String body) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBMessage addMessage(java.lang.String subject, java.lang.String body) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBMessage addMessageWithWorkflow(long groupId, long categoryId, java.lang.String subject, java.lang.String body, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> getInputStreamOVPs(java.lang.String fileName, java.lang.Class<?> clazz, java.lang.String keywords)
public static void populateNotificationsServiceContext(com.liferay.portal.kernel.service.ServiceContext serviceContext, java.lang.String command) throws java.lang.Exception
java.lang.Exception