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 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 |
MBTestUtil
public MBTestUtil()
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