1
2
3
4
5
6
7 package net.sf.exorcist.dbe;
8
9 import net.sf.exorcist.api.ContentException;
10 import net.sf.exorcist.api.ContentState;
11
12 /***
13 * @author Jukka Zitting
14 *
15 * TODO To change the template for this generated type comment go to
16 * Window - Preferences - Java - Code Style - Code Templates
17 */
18 public interface ImportService {
19
20 /***
21 * Imports content identified by the given key.
22 *
23 * @param key identifier for the content to be imported
24 * @return the imported content
25 * @throws ContentException if something goes wrong :-)
26 */
27 void importContent(String key, ContentState content) throws ContentException;
28
29 }