Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.util.test
Class MBTestUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.util.test.MBTestUtil

public class MBTestUtil
extends Object


Constructor Summary
MBTestUtil()
           
 
Method Summary
static MBMessage addMessageWithWorkflow(long userId, long groupId, long categoryId, String subject, String body, boolean approved, ServiceContext serviceContext)
           
static List<ObjectValuePair<String,InputStream>> getInputStreamOVPs(String fileName, Class<?> clazz, String keywords)
           
static void populateNotificationsServiceContext(ServiceContext serviceContext, String command)
           
protected static MBMessage updateStatus(MBMessage message, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBTestUtil

public MBTestUtil()
Method Detail

addMessageWithWorkflow

public static MBMessage addMessageWithWorkflow(long userId,
                                               long groupId,
                                               long categoryId,
                                               String subject,
                                               String body,
                                               boolean approved,
                                               ServiceContext serviceContext)
                                        throws Exception
Throws:
Exception

getInputStreamOVPs

public static List<ObjectValuePair<String,InputStream>> getInputStreamOVPs(String fileName,
                                                                           Class<?> clazz,
                                                                           String keywords)

populateNotificationsServiceContext

public static void populateNotificationsServiceContext(ServiceContext serviceContext,
                                                       String command)
                                                throws Exception
Throws:
Exception

updateStatus

protected static MBMessage updateStatus(MBMessage message,
                                        ServiceContext serviceContext)
                                 throws Exception
Throws:
Exception

Liferay 7.0-ce-b4