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