|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemoDB
The Interface for a Memo DB.
Method Summary | |
---|---|
void |
addMemo(Memo m)
Adds a memo to the database. |
void |
delete(String name)
Delete a memo by name. |
Collection<String> |
getNames()
Gets all memo names form the db |
Collection<Memo> |
readAll()
Read all memos from the db |
Memo |
readMemo(String name)
Read a memo by name |
void |
updateMemo(Memo m)
Update a memo in the db. |
Method Detail |
---|
void addMemo(Memo m) throws Exception
m
- the Memo
Exception
void delete(String name) throws Exception
name
- the name
Exception
Collection<String> getNames() throws Exception
Exception
Collection<Memo> readAll() throws Exception
Exception
Memo readMemo(String name) throws Exception
name
- the name
Exception
void updateMemo(Memo m) throws Exception
m
- the memo
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |