Class ExportImportTestUtil
java.lang.Object
com.liferay.exportimport.test.util.ExportImportTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.exportimport.kernel.lar.PortletDataContext
static com.liferay.exportimport.kernel.lar.PortletDataContext
getExportPortletDataContext
(long groupId) static com.liferay.exportimport.kernel.lar.PortletDataContext
getExportPortletDataContext
(long companyId, long groupId) static com.liferay.exportimport.kernel.lar.PortletDataContext
getExportPortletDataContext
(long companyId, long groupId, Map<String, String[]> parameterMap) static com.liferay.exportimport.kernel.lar.PortletDataContext
getExportPortletDataContext
(long companyId, long groupId, Map<String, String[]> parameterMap, Date startDate, Date endDate) static com.liferay.exportimport.kernel.lar.PortletDataContext
static com.liferay.exportimport.kernel.lar.PortletDataContext
getImportPortletDataContext
(long groupId) static com.liferay.exportimport.kernel.lar.PortletDataContext
getImportPortletDataContext
(long companyId, long groupId, Map<String, String[]> parameterMap) static com.liferay.exportimport.kernel.lar.PortletDataContext
getImportPortletPreferences
(long companyId, long groupId) static void
retryAssert
(long pause, TimeUnit pauseTimeUnit, long timeout, TimeUnit timeoutTimeUnit, com.liferay.petra.function.UnsafeRunnable<Exception> unsafeRunnable)
-
Constructor Details
-
ExportImportTestUtil
public ExportImportTestUtil()
-
-
Method Details
-
getExportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getExportPortletDataContext() throws Exception- Throws:
Exception
-
getExportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getExportPortletDataContext(long groupId) throws Exception - Throws:
Exception
-
getExportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getExportPortletDataContext(long companyId, long groupId) throws Exception - Throws:
Exception
-
getExportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getExportPortletDataContext(long companyId, long groupId, Map<String, String[]> parameterMap) throws Exception- Throws:
Exception
-
getExportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getExportPortletDataContext(long companyId, long groupId, Map<String, String[]> parameterMap, Date startDate, Date endDate) throws Exception- Throws:
Exception
-
getImportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getImportPortletDataContext() throws Exception- Throws:
Exception
-
getImportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getImportPortletDataContext(long groupId) throws Exception - Throws:
Exception
-
getImportPortletDataContext
public static com.liferay.exportimport.kernel.lar.PortletDataContext getImportPortletDataContext(long companyId, long groupId, Map<String, String[]> parameterMap) throws Exception- Throws:
Exception
-
getImportPortletPreferences
public static com.liferay.exportimport.kernel.lar.PortletDataContext getImportPortletPreferences(long companyId, long groupId) throws Exception - Throws:
Exception
-
retryAssert
public static void retryAssert(long pause, TimeUnit pauseTimeUnit, long timeout, TimeUnit timeoutTimeUnit, com.liferay.petra.function.UnsafeRunnable<Exception> unsafeRunnable) throws Exception - Throws:
Exception
-