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