org.sakaiproject.search.dao
Interface SearchIndexBuilderWorkerDao


public interface SearchIndexBuilderWorkerDao


Method Summary
 void createIndexTransaction(SearchIndexBuilderWorker worker)
          create the index with a minimal profile
 boolean indexExists()
          check if the index exists
 boolean isLockRequired()
          If the implementation of the SearchIndexBuilder requires that the call aquires a lock before processing.
 void processToDoListTransaction(SearchIndexBuilderWorker worker, int indexBatchSize)
          This method processes the list of document modifications in the list
 

Method Detail

processToDoListTransaction

void processToDoListTransaction(SearchIndexBuilderWorker worker,
                                int indexBatchSize)
This method processes the list of document modifications in the list

Parameters:
worker -
indexBatchSize -
Throws:
IOException
HibernateException

isLockRequired

boolean isLockRequired()
If the implementation of the SearchIndexBuilder requires that the call aquires a lock before processing.

Returns:
true is a lock should be taken prior to processToDoTransaction

indexExists

boolean indexExists()
check if the index exists

Returns:

createIndexTransaction

void createIndexTransaction(SearchIndexBuilderWorker worker)
create the index with a minimal profile

Parameters:
worker -


Copyright © 2003-2012 Sakai Project. All Rights Reserved.