KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > store > StoreSearcher


1 /*
2  * Created on May 2, 2004
3  */

4 package com.openedit.store;
5
6 import java.util.List JavaDoc;
7
8 import com.openedit.modules.search.LuceneHitTracker;
9
10 /**
11  * @author cburkey
12  *
13  */

14 public interface StoreSearcher
15 {
16     public LuceneHitTracker search(String JavaDoc inSearch, String JavaDoc inOrdering)throws StoreException;
17     void reIndexAll() throws StoreException;
18     String JavaDoc getIndexId();
19     public void updateIndex(Product inProduct) throws StoreException;
20     public void updateIndex( List JavaDoc inProducts ) throws StoreException;
21     public void deleteFromIndex(Product inProduct)throws StoreException;
22     void setStore( Store inStore);
23     void clearIndex();
24 }
25
Popular Tags