public class MosaicsDaoJdbc extends java.lang.Object implements MosaicsDao
Mosaics.| Modifier and Type | Class and Description |
|---|---|
protected class |
MosaicsDaoJdbc.MosaicConfigsDelete
MetaSet Delete Object. |
protected class |
MosaicsDaoJdbc.MosaicConfigsInsert
MosaicConfigs Insert Object. |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
MosaicsDaoJdbc() |
| 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. |
int |
getMosaicCount()
Get the number of Virgins in the database
|
java.util.List<Mosaic> |
getMosaics()
Get a List of all of the
Mosaics in the database. |
void |
setDataSource(javax.sql.DataSource ds)
Set the reference to the JDBC datasource.
|
void |
storeMosaic(Mosaic mosaic)
Store this
Mosaic in the database. |
public void setDataSource(javax.sql.DataSource ds)
ds - The datasource as configured by Spring.public Mosaic getMosaic(int mid)
MosaicsDaogetMosaic in interface MosaicsDaomid - The Mosaic ID to query.public Mosaic getMosaic(java.lang.String masterPic, java.lang.String engine, int sid, int tileHeight)
MosaicsDaoMosaic in the database that matches these parameters.getMosaic in interface MosaicsDaopublic java.util.List<Mosaic> getMosaics()
MosaicsDaoMosaics in the database.getMosaics in interface MosaicsDaopublic void deleteMosaic(int mid)
MosaicsDaoMosaic from the database that has this Mosaic ID.deleteMosaic in interface MosaicsDaomid - The Mosaic ID to delete.public void storeMosaic(Mosaic mosaic)
MosaicsDaoMosaic in the database.storeMosaic in interface MosaicsDaomosaic - The Mosaic to store.public int getMosaicCount()