public class LayoutRemoteStagingBackgroundTaskExecutor extends BaseStagingBackgroundTaskExecutor
transactionAttribute| Constructor and Description |
|---|
LayoutRemoteStagingBackgroundTaskExecutor() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.backgroundtask.BackgroundTaskResult |
execute(com.liferay.portal.model.BackgroundTask backgroundTask) |
protected java.io.File |
exportLayoutsAsFile(com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
long remoteGroupId,
HttpPrincipal httpPrincipal) |
protected java.util.List<com.liferay.portal.model.Layout> |
getMissingRemoteParentLayouts(HttpPrincipal httpPrincipal,
com.liferay.portal.model.Layout layout,
long remoteGroupId) |
protected void |
transferFileToRemoteLive(java.io.File file,
long stagingRequestId,
HttpPrincipal httpPrincipal) |
clearBackgroundTaskStatus, deleteTempLarOnFailure, deleteTempLarOnSuccess, initThreadLocals, markBackgroundTask, processMissingReferencesgetExportImportConfiguration, handleExceptionpublic LayoutRemoteStagingBackgroundTaskExecutor()
public com.liferay.portal.kernel.backgroundtask.BackgroundTaskResult execute(com.liferay.portal.model.BackgroundTask backgroundTask)
protected java.io.File exportLayoutsAsFile(com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
long remoteGroupId,
HttpPrincipal httpPrincipal)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected java.util.List<com.liferay.portal.model.Layout> getMissingRemoteParentLayouts(HttpPrincipal httpPrincipal, com.liferay.portal.model.Layout layout, long remoteGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.lar.ExportImportHelperImpl#getMissingParentLayouts(
Layout, long)protected void transferFileToRemoteLive(java.io.File file,
long stagingRequestId,
HttpPrincipal httpPrincipal)
throws java.lang.Exception
java.lang.Exception