View Javadoc

1   /*
2    * Created on 15.6.2005
3    *
4    * TODO To change the template for this generated file go to
5    * Window - Preferences - Java - Code Style - Code Templates
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 ExportService {
19  
20  	/***
21  	 * Exports content identified by the given key.
22  	 *
23  	 * @param key identifier for the content to be exported
24  	 * @return the exported content
25  	 * @throws ContentException if something goes wrong :-)
26  	 */
27  	ContentState exportContent(String key) throws ContentException;
28  
29  }