net.sf.borg.model.db
Interface CheckListDB

All Known Implementing Classes:
CheckListJdbcDB

public interface CheckListDB

The Interface for a CheckList DB.


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.
 

Method Detail

addCheckList

void addCheckList(CheckList m)
                  throws Exception
Adds a checkList to the database.

Parameters:
m - the CheckList
Throws:
Exception

delete

void delete(String name)
            throws Exception
Delete a checkList by name.

Parameters:
name - the name
Throws:
Exception

getNames

Collection<String> getNames()
                            throws Exception
Gets all checkList names form the db

Returns:
a collection of checkList names
Throws:
Exception

readAll

Collection<CheckList> readAll()
                              throws Exception
Read all checkLists from the db

Returns:
a collection of all checkLists
Throws:
Exception

readCheckList

CheckList readCheckList(String name)
                        throws Exception
Read a checkList by name

Parameters:
name - the name
Returns:
the checkList
Throws:
Exception

updateCheckList

void updateCheckList(CheckList m)
                     throws Exception
Update a checkList in the db.

Parameters:
m - the checkList
Throws:
Exception


Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae