Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.util.test
Class DLAppTestUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.util.test.DLAppTestUtil

public abstract class DLAppTestUtil
extends Object


Constructor Summary
DLAppTestUtil()
           
 
Method Summary
static FileEntry addFileEntryWithWorkflow(long userId, long groupId, long folderId, String sourceFileName, String title, boolean approved, ServiceContext serviceContext)
           
static void populateNotificationsServiceContext(ServiceContext serviceContext, String command)
           
static void populateServiceContext(ServiceContext serviceContext, long fileEntryTypeId)
           
protected static FileEntry updateStatus(FileEntry fileEntry, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLAppTestUtil

public DLAppTestUtil()
Method Detail

addFileEntryWithWorkflow

public static FileEntry addFileEntryWithWorkflow(long userId,
                                                 long groupId,
                                                 long folderId,
                                                 String sourceFileName,
                                                 String title,
                                                 boolean approved,
                                                 ServiceContext serviceContext)
                                          throws Exception
Throws:
Exception

populateNotificationsServiceContext

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

populateServiceContext

public static void populateServiceContext(ServiceContext serviceContext,
                                          long fileEntryTypeId)
                                   throws Exception
Throws:
Exception

updateStatus

protected static FileEntry updateStatus(FileEntry fileEntry,
                                        ServiceContext serviceContext)
                                 throws Exception
Throws:
Exception

Liferay 7.0-ce-b4