public class BlogsTestUtil
extends java.lang.Object
Constructor and Description |
---|
BlogsTestUtil() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.blogs.kernel.model.BlogsEntry |
addEntryWithWorkflow(long userId,
java.lang.String title,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
assertEquals(com.liferay.blogs.kernel.model.BlogsEntry expectedEntry,
com.liferay.blogs.kernel.model.BlogsEntry actualEntry) |
static java.lang.String |
getTempBlogsEntryAttachmentFileEntryImgTag(long dataImageId,
java.lang.String url) |
static void |
populateNotificationsServiceContext(com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.lang.String command) |
protected static com.liferay.blogs.kernel.model.BlogsEntry |
updateStatus(com.liferay.blogs.kernel.model.BlogsEntry entry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.blogs.kernel.model.BlogsEntry addEntryWithWorkflow(long userId, java.lang.String title, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static void assertEquals(com.liferay.blogs.kernel.model.BlogsEntry expectedEntry, com.liferay.blogs.kernel.model.BlogsEntry actualEntry)
public static java.lang.String getTempBlogsEntryAttachmentFileEntryImgTag(long dataImageId, java.lang.String url)
public static void populateNotificationsServiceContext(com.liferay.portal.kernel.service.ServiceContext serviceContext, java.lang.String command) throws java.lang.Exception
java.lang.Exception
protected static com.liferay.blogs.kernel.model.BlogsEntry updateStatus(com.liferay.blogs.kernel.model.BlogsEntry entry, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception