Liferay 6.2-ce-ga5

com.liferay.portal.lar.backgroundtask
Class LayoutRemoteStagingBackgroundTaskExecutor

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

public class LayoutRemoteStagingBackgroundTaskExecutor
extends BaseStagingBackgroundTaskExecutor


Field Summary
 
Fields inherited from class com.liferay.portal.lar.backgroundtask.BaseStagingBackgroundTaskExecutor
transactionAttribute
 
Constructor Summary
LayoutRemoteStagingBackgroundTaskExecutor()
           
 
Method Summary
 BackgroundTaskResult execute(BackgroundTask backgroundTask)
           
protected  File exportLayoutsAsFile(long sourceGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, Map<String,String[]> parameterMap, long remoteGroupId, Date startDate, Date endDate, HttpPrincipal httpPrincipal)
           
protected  List<Layout> getMissingRemoteParentLayouts(HttpPrincipal httpPrincipal, Layout layout, long remoteGroupId)
           
 
Methods inherited from class com.liferay.portal.lar.backgroundtask.BaseStagingBackgroundTaskExecutor
clearBackgroundTaskStatus, handleException, markBackgroundTask, processMissingReferences
 
Methods inherited from class com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
getBackgroundTaskStatusMessageTranslator, getLocale, isSerial, setBackgroundTaskStatusMessageTranslator, setSerial
 
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)
                             throws Exception
Throws:
Exception

exportLayoutsAsFile

protected File exportLayoutsAsFile(long sourceGroupId,
                                   boolean privateLayout,
                                   Map<Long,Boolean> layoutIdMap,
                                   Map<String,String[]> parameterMap,
                                   long remoteGroupId,
                                   Date startDate,
                                   Date endDate,
                                   HttpPrincipal httpPrincipal)
                            throws Exception
Throws:
Exception

getMissingRemoteParentLayouts

protected List<Layout> getMissingRemoteParentLayouts(HttpPrincipal httpPrincipal,
                                                     Layout layout,
                                                     long remoteGroupId)
                                              throws Exception
Throws:
Exception
See Also:
StagingImpl.getMissingParentLayouts( Layout, long)

Liferay 6.2-ce-ga5