|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Data access object for boards and their zones.
Note that a Zone object is not strictly speaking a dependent object of the Board object it belongs to (there are direct references to zones from other objects, e.g. a Throw). However, a zone is owned by a particular board, so the 2 classes are very closely linked. This is the reason why the persistance for both is handled by a single DAO.
Method Summary | |
void |
addBoard(Board board)
Add given board to the persistent store. |
Board |
getBoard(java.lang.String implClass)
Load the board with given implementation class from the persistent store. |
java.util.Vector |
getBoards()
Load all board objects available in the persistent store. |
Board |
getBoardWithId(java.lang.Object id)
Load the board with specified persistent store id. |
Methods inherited from interface org.dartra.framework.dao.DataAccessObject |
close, getConnection, getDAOFactory, init |
Method Detail |
public void addBoard(Board board) throws DataAccessException
Add given board to the persistent store.
DataAccessException
- When there is a problem accessing the persistent store,
for instance when the given board is already present.public Board getBoardWithId(java.lang.Object id) throws DataAccessException
Load the board with specified persistent store id.
DataAccessException
- When there is a problem accessing the persistent store.public Board getBoard(java.lang.String implClass) throws DataAccessException
Load the board with given implementation class from the persistent store.
DataAccessException
- When there is a problem accessing the persistent store.public java.util.Vector getBoards() throws DataAccessException
Load all board objects available in the persistent store.
DataAccessException
- When there is a problem accessing the persistent store.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |