1 /*****************************************************************************
5 * Creation date 05.10.2012
8 *****************************************************************************/
10 package org.splat.service.technical;
12 import java.io.IOException;
14 import org.splat.dal.bo.som.KnowledgeElement;
15 import org.splat.dal.bo.som.Study;
18 * Interface of the service for work with Lucen index.
20 public interface IndexService {
22 public void configure() throws IOException;
24 public void create() throws IOException;
26 public boolean exists();
28 public void add(KnowledgeElement kelm) throws IOException;
30 public void add(Study study) throws IOException;
32 public void update(Study study) throws IOException;
34 public void update(KnowledgeElement kelm) throws IOException;