public interface MosaicsDao
Mosaic
s.Modifier and Type | Method and Description |
---|---|
void |
deleteMosaic(int mid)
Delete the
Mosaic from the database that has this Mosaic ID. |
Mosaic |
getMosaic(int mid)
Get a Mosaic from the database based on this Mosaic ID.
|
Mosaic |
getMosaic(java.lang.String masterPic,
java.lang.String engine,
int sid,
int tileHeight)
Find the
Mosaic in the database that matches these parameters. |
java.util.List<Mosaic> |
getMosaics()
Get a List of all of the
Mosaic s in the database. |
void |
storeMosaic(Mosaic mosaic)
Store this
Mosaic in the database. |
java.util.List<Mosaic> getMosaics()
Mosaic
s in the database.Mosaic getMosaic(int mid)
mid
- The Mosaic ID to query.Mosaic getMosaic(java.lang.String masterPic, java.lang.String engine, int sid, int tileHeight)
Mosaic
in the database that matches these parameters.masterPic
- engine
- sid
- tileHeight
- void storeMosaic(Mosaic mosaic)
Mosaic
in the database.mosaic
- The Mosaic to store.void deleteMosaic(int mid)
Mosaic
from the database that has this Mosaic ID.mid
- The Mosaic ID to delete.