01: package net.sf.borg.model.db;
02:
03: import java.util.Collection;
04:
05: import net.sf.borg.model.beans.Memo;
06:
07: public interface MemoDB {
08:
09: public void addMemo(Memo m) throws Exception;
10:
11: public void delete(String name) throws Exception;
12:
13: public Collection getNames() throws Exception;
14:
15: public Collection readAll() throws Exception;
16:
17: public Memo readMemo(String name) throws Exception;
18:
19: public void updateMemo(Memo m) throws Exception;
20:
21: public void close() throws Exception;
22:
23: public Memo getMemoByPalmId(int id) throws Exception;
24:
25: }
|