Liferay 7.0-ce-m3

com.liferay.portal.lar.backgroundtask
Class BaseStagingBackgroundTaskExecutor

java.lang.Object
  extended by com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
      extended by com.liferay.portal.lar.backgroundtask.BaseStagingBackgroundTaskExecutor
All Implemented Interfaces:
BackgroundTaskExecutor
Direct Known Subclasses:
LayoutRemoteStagingBackgroundTaskExecutor, LayoutStagingBackgroundTaskExecutor, PortletStagingBackgroundTaskExecutor

public abstract class BaseStagingBackgroundTaskExecutor
extends BaseBackgroundTaskExecutor


Field Summary
protected  org.springframework.transaction.interceptor.TransactionAttribute transactionAttribute
           
 
Constructor Summary
BaseStagingBackgroundTaskExecutor()
           
 
Method Summary
protected  void clearBackgroundTaskStatus(BackgroundTask backgroundTask)
           
 String handleException(BackgroundTask backgroundTask, Exception e)
           
protected  void initThreadLocals(long groupId, boolean privateLayout)
           
protected  void markBackgroundTask(long backgroundTaskId, String backgroundTaskState)
           
protected  BackgroundTaskResult processMissingReferences(long backgroundTaskId, MissingReferences missingReferences)
           
 
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
 
Methods inherited from interface com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor
execute
 

Field Detail

transactionAttribute

protected org.springframework.transaction.interceptor.TransactionAttribute transactionAttribute
Constructor Detail

BaseStagingBackgroundTaskExecutor

public BaseStagingBackgroundTaskExecutor()
Method Detail

handleException

public String handleException(BackgroundTask backgroundTask,
                              Exception e)
Specified by:
handleException in interface BackgroundTaskExecutor
Overrides:
handleException in class BaseBackgroundTaskExecutor

clearBackgroundTaskStatus

protected void clearBackgroundTaskStatus(BackgroundTask backgroundTask)

initThreadLocals

protected void initThreadLocals(long groupId,
                                boolean privateLayout)
                         throws PortalException
Throws:
PortalException

markBackgroundTask

protected void markBackgroundTask(long backgroundTaskId,
                                  String backgroundTaskState)

processMissingReferences

protected BackgroundTaskResult processMissingReferences(long backgroundTaskId,
                                                        MissingReferences missingReferences)

Liferay 7.0-ce-m3