Liferay 7.0-ce-m6

com.liferay.portlet.exportimport.backgroundtask
Class LayoutRemoteStagingBackgroundTaskExecutor

java.lang.Object
  extended by com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
      extended by com.liferay.portlet.exportimport.backgroundtask.BaseExportImportBackgroundTaskExecutor
          extended by com.liferay.portlet.exportimport.backgroundtask.BaseStagingBackgroundTaskExecutor
              extended by com.liferay.portlet.exportimport.backgroundtask.LayoutRemoteStagingBackgroundTaskExecutor
All Implemented Interfaces:
BackgroundTaskExecutor

public class LayoutRemoteStagingBackgroundTaskExecutor
extends BaseStagingBackgroundTaskExecutor


Field Summary
 
Fields inherited from class com.liferay.portlet.exportimport.backgroundtask.BaseExportImportBackgroundTaskExecutor
transactionAttribute
 
Constructor Summary
LayoutRemoteStagingBackgroundTaskExecutor()
           
 
Method Summary
 BackgroundTaskResult execute(BackgroundTask backgroundTask)
           
protected  File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration, Map<Long,Boolean> layoutIdMap, long remoteGroupId, HttpPrincipal httpPrincipal)
           
protected  List<Layout> getMissingRemoteParentLayouts(HttpPrincipal httpPrincipal, Layout layout, long remoteGroupId)
           
protected  void transferFileToRemoteLive(File file, long stagingRequestId, HttpPrincipal httpPrincipal)
           
 
Methods inherited from class com.liferay.portlet.exportimport.backgroundtask.BaseStagingBackgroundTaskExecutor
clearBackgroundTaskStatus, deleteTempLarOnFailure, deleteTempLarOnSuccess, initThreadLocals, markBackgroundTask, processMissingReferences
 
Methods inherited from class com.liferay.portlet.exportimport.backgroundtask.BaseExportImportBackgroundTaskExecutor
getExportImportConfiguration, handleException
 
Methods inherited from class com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
getBackgroundTaskStatusMessageTranslator, getIsolationLevel, getLocale, isSerial, setBackgroundTaskStatusMessageTranslator, setIsolationLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutRemoteStagingBackgroundTaskExecutor

public LayoutRemoteStagingBackgroundTaskExecutor()
Method Detail

execute

public BackgroundTaskResult execute(BackgroundTask backgroundTask)

exportLayoutsAsFile

protected File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration,
                                   Map<Long,Boolean> layoutIdMap,
                                   long remoteGroupId,
                                   HttpPrincipal httpPrincipal)
                            throws PortalException
Throws:
PortalException

getMissingRemoteParentLayouts

protected List<Layout> getMissingRemoteParentLayouts(HttpPrincipal httpPrincipal,
                                                     Layout layout,
                                                     long remoteGroupId)
                                              throws PortalException
Throws:
PortalException
See Also:
com.liferay.portal.lar.ExportImportHelperImpl#getMissingParentLayouts( Layout, long)

transferFileToRemoteLive

protected void transferFileToRemoteLive(File file,
                                        long stagingRequestId,
                                        HttpPrincipal httpPrincipal)
                                 throws Exception
Throws:
Exception

Liferay 7.0-ce-m6