Class DLTestUtil
java.lang.Object
com.liferay.document.library.test.util.DLTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.document.library.kernel.model.DLFileEntryaddDLFileEntry(long dlFolderId) static com.liferay.document.library.kernel.model.DLFolderaddDLFolder(long groupId) static com.liferay.document.library.kernel.model.DLFolderaddDLFolder(long groupId, boolean deleteExisting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.document.library.kernel.model.DLFolderaddDLFolder(long groupId, long parentFolderId, boolean deleteExisting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.document.library.kernel.model.DLFolderaddDLFolder(long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
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
-