|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.model.db.jdbc.JdbcDB
net.sf.borg.model.db.jdbc.CheckListJdbcDB
public class CheckListJdbcDB
provides the JDBC layer for reading/writing CheckLists.
| Field Summary |
|---|
| Fields inherited from class net.sf.borg.model.db.jdbc.JdbcDB |
|---|
connection_ |
| Constructor Summary | |
|---|---|
CheckListJdbcDB()
|
|
| Method Summary | |
|---|---|
void |
addCheckList(CheckList m)
Adds a checkList to the database. |
void |
delete(String name)
Delete a checkList by name. |
Collection<String> |
getNames()
Gets all checkList names form the db |
Collection<CheckList> |
readAll()
Read all checkLists from the db |
CheckList |
readCheckList(String name)
Read a checkList by name |
void |
updateCheckList(CheckList m)
Update a checkList in the db. |
| Methods inherited from class net.sf.borg.model.db.jdbc.JdbcDB |
|---|
beginTransaction, buildDbDir, checkTimestamp, close, commitTransaction, connect, execSQL, getConnection, getOption, getOptions, getUrl, rollbackTransaction, setOption, toInt, toInt, toStr, toVect |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckListJdbcDB()
| Method Detail |
|---|
public void addCheckList(CheckList m)
throws Exception
CheckListDB
addCheckList in interface CheckListDBm - the CheckList
Exception
public void delete(String name)
throws Exception
CheckListDB
delete in interface CheckListDBname - the name
Exception
public Collection<String> getNames()
throws Exception
CheckListDB
getNames in interface CheckListDBException
public Collection<CheckList> readAll()
throws Exception
CheckListDB
readAll in interface CheckListDBException
public CheckList readCheckList(String name)
throws Exception
CheckListDB
readCheckList in interface CheckListDBname - the name
Exception
public void updateCheckList(CheckList m)
throws Exception
CheckListDB
updateCheckList in interface CheckListDBm - the checkList
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||