Class DLTestUtil

java.lang.Object
com.liferay.document.library.test.util.DLTestUtil

public class DLTestUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.liferay.document.library.kernel.model.DLFileEntry
    addDLFileEntry(long dlFolderId)
     
    static com.liferay.document.library.kernel.model.DLFolder
    addDLFolder(long groupId)
     
    static com.liferay.document.library.kernel.model.DLFolder
    addDLFolder(long groupId, boolean deleteExisting, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.document.library.kernel.model.DLFolder
    addDLFolder(long groupId, long parentFolderId, boolean deleteExisting, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.document.library.kernel.model.DLFolder
    addDLFolder(long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DLTestUtil

      public DLTestUtil()
  • Method Details

    • addDLFileEntry

      public static com.liferay.document.library.kernel.model.DLFileEntry addDLFileEntry(long dlFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDLFolder

      public static com.liferay.document.library.kernel.model.DLFolder addDLFolder(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDLFolder

      public static com.liferay.document.library.kernel.model.DLFolder addDLFolder(long groupId, boolean deleteExisting, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDLFolder

      public static com.liferay.document.library.kernel.model.DLFolder addDLFolder(long groupId, long parentFolderId, boolean deleteExisting, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDLFolder

      public static com.liferay.document.library.kernel.model.DLFolder addDLFolder(long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException