com.liferay.portlet.messageboards.util.test
Class MBTestUtil
java.lang.Object
com.liferay.portlet.messageboards.util.test.MBTestUtil
public class MBTestUtil
- extends Object
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBTestUtil
public MBTestUtil()
addMessageWithWorkflow
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
- Throws:
Exception
getInputStreamOVPs
public static List<com.liferay.portal.kernel.util.ObjectValuePair<String,InputStream>> getInputStreamOVPs(String fileName,
Class<?> clazz,
String keywords)
populateNotificationsServiceContext
public static void populateNotificationsServiceContext(com.liferay.portal.kernel.service.ServiceContext serviceContext,
String command)
throws Exception
- Throws:
Exception
updateStatus
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)
throws Exception
- Throws:
Exception