Liferay 6.2-ce-ga5

com.liferay.portal.lar.backgroundtask
Class StagingIndexingBackgroundTaskExecutor

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

public class StagingIndexingBackgroundTaskExecutor
extends BaseBackgroundTaskExecutor


Constructor Summary
StagingIndexingBackgroundTaskExecutor()
           
 
Method Summary
protected  boolean containsValue(Map<?,?> map, long value)
           
 BackgroundTaskResult execute(BackgroundTask backgroundTask)
           
protected  ActionableDynamicQuery getJournalArticleActionableDynamicQuery(long groupId, Map<?,?> journalArticleIds, String[] ddmStructureKeys)
           
 String handleException(BackgroundTask backgroundTask, Exception e)
           
protected  void reindexDDMStructures(List<Long> ddmStructureIds, Map<String,Map<?,?>> newPrimaryKeysMaps, long groupId)
           
 
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

StagingIndexingBackgroundTaskExecutor

public StagingIndexingBackgroundTaskExecutor()
Method Detail

execute

public BackgroundTaskResult execute(BackgroundTask backgroundTask)
                             throws Exception
Throws:
Exception

getJournalArticleActionableDynamicQuery

protected ActionableDynamicQuery getJournalArticleActionableDynamicQuery(long groupId,
                                                                         Map<?,?> journalArticleIds,
                                                                         String[] ddmStructureKeys)
                                                                  throws Exception
Throws:
Exception

reindexDDMStructures

protected void reindexDDMStructures(List<Long> ddmStructureIds,
                                    Map<String,Map<?,?>> newPrimaryKeysMaps,
                                    long groupId)
                             throws Exception
Throws:
Exception

containsValue

protected boolean containsValue(Map<?,?> map,
                                long value)

handleException

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

Liferay 6.2-ce-ga5