| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SystemDao |
|
| 1.0;1 |
| 1 | /****************************************************************************** | |
| 2 | * SystemDao.java - Dao interface for the System bean | |
| 3 | * | |
| 4 | * PicMan - The BuckoSoft Picture Manager in Java | |
| 5 | * Copyright(c) 2005 - Dick Balaska | |
| 6 | * | |
| 7 | */ | |
| 8 | package com.buckosoft.PicMan.db; | |
| 9 | ||
| 10 | import org.springframework.dao.DataAccessException; | |
| 11 | import com.buckosoft.PicMan.domain.System; | |
| 12 | ||
| 13 | /** Dao interface for the {@link com.buckosoft.PicMan.domain.System}. | |
| 14 | * @author Dick Balaska | |
| 15 | * @since 2005/07/27 | |
| 16 | * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/src/com/buckosoft/PicMan/db/SystemDao.java">SystemDao.java</a> | |
| 17 | */ | |
| 18 | public interface SystemDao { | |
| 19 | ||
| 20 | /** Get a reference to the <code>System</code>. | |
| 21 | * @return The System Configuration | |
| 22 | * @throws DataAccessException not happy. | |
| 23 | */ | |
| 24 | public System getSystem() throws DataAccessException; | |
| 25 | ||
| 26 | /** Flush the <code>System</code> back to the database. | |
| 27 | * @param system The <code>System</code> | |
| 28 | * @throws DataAccessException very sad. | |
| 29 | */ | |
| 30 | public void setSystem(System system) throws DataAccessException; | |
| 31 | } |