1
|
package eu.etaxonomy.cdm.api.service.search;
|
2
|
|
3
|
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
|
4
|
|
5
|
/**
|
6
|
* @author andreas
|
7
|
* @date Jul 2, 2012
|
8
|
*
|
9
|
*/
|
10
|
public interface ICdmMassIndexer {
|
11
|
|
12
|
|
13
|
/**
|
14
|
* Reindex all cdm entities listed in {@link ICdmMassIndexer#indexedClasses()}.
|
15
|
* Re-indexing will not purge the index.
|
16
|
* @param monitor TODO
|
17
|
*/
|
18
|
public abstract void reindex(IProgressMonitor monitor);
|
19
|
|
20
|
/**
|
21
|
* This will wipe out the index.
|
22
|
*/
|
23
|
public abstract void purge(IProgressMonitor monitor);
|
24
|
|
25
|
public Class[] indexedClasses();
|
26
|
|
27
|
}
|