Salome HOME
Copyrights update 2015.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / technical / IndexService.java
1 /*****************************************************************************
2  * Company         OPEN CASCADE
3  * Application     SIMAN
4  * File            $Id$ 
5  * Creation date   05.10.2012
6  * @author         $Author$
7  * @version        $Revision$
8  *****************************************************************************/
9
10 package org.splat.service.technical;
11
12 import java.io.IOException;
13
14 import org.splat.dal.bo.som.KnowledgeElement;
15 import org.splat.dal.bo.som.Study;
16
17 /**
18  * Interface of the service for work with Lucen index. 
19  */
20 public interface IndexService {
21
22         public void configure() throws IOException;
23
24         public void create() throws IOException;
25
26         public boolean exists();
27
28         public void add(KnowledgeElement kelm) throws IOException;
29
30         public void add(Study study) throws IOException;
31
32         public void update(Study study) throws IOException;
33
34         public void update(KnowledgeElement kelm) throws IOException;
35 }