Coverage Report - com.buckosoft.PicMan.db.MosaicTilesDao
 
Classes in this File Line Coverage Branch Coverage Complexity
MosaicTilesDao
N/A
N/A
1
 
 1  
 /******************************************************************************
 2  
  * MosaicTilesDao.java - Dao interface for the MosaicTiles
 3  
  * 
 4  
  * PicMan - The BuckoSoft Picture Manager in Java
 5  
  * Copyright(c) 2007 - Dick Balaska
 6  
  * 
 7  
  */
 8  
 package com.buckosoft.PicMan.db;
 9  
 
 10  
 import java.util.List;
 11  
 
 12  
 import com.buckosoft.PicMan.domain.MosaicTile;
 13  
 
 14  
 /** Dao interface for the {@link com.buckosoft.PicMan.domain.MosaicTile}s.
 15  
  * @author Dick Balaska
 16  
  * @since 2008/01/21
 17  
  * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/src/com/buckosoft/PicMan/db/MosaicTilesDao.java">MosaicTilesDao.java</a>
 18  
  */
 19  
 public interface MosaicTilesDao {
 20  
 
 21  
         /** Get the List of <code>MosaicTile</code>s for the Mosaic specified by this Mosaic ID.
 22  
          * @param mid The Mosaic ID to query.
 23  
          * @return The List of MosaicTiles
 24  
          */
 25  
         List<MosaicTile>        getMosaicTiles(int mid);
 26  
         
 27  
         /** Delete the <code>MosaicTile</code>s for the Mosaic specified by this Mosaic ID.
 28  
          * @param mid The Mosaic ID to delete.
 29  
          */
 30  
         void                                deleteMosaicTiles(int mid);
 31  
         
 32  
         /** Store this <code>MosaicTile</code> in the database.
 33  
          * @param tile The MosaicTile to store.
 34  
          */
 35  
         void                                storeMosaicTile(MosaicTile tile);
 36  
 
 37  
         /** Return the number of tiles we have stored for this mosaic
 38  
          * @param mid The mosaicId
 39  
          * @return The count
 40  
          */
 41  
         int                                        getTileCount(int mid);
 42  
 }