public class MosaicBatchesDaoJdbc extends java.lang.Object implements MosaicBatchesDao
MosaicBatches.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
MosaicBatchesDaoJdbc() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteMosaicBatch(int mbid)
Delete the
MosaicBatchs for the Mosaic specified by this Mosaic ID. |
MosaicBatch |
getMosaicBatch(int mbid)
Get a MosaicBatch from the database based on this MosaicBatch ID.
|
java.util.List<MosaicBatch> |
getMosaicBatches()
Get the List of
MosaicBatchs. |
void |
setDataSource(javax.sql.DataSource ds)
Set the reference to the JDBC datasource.
|
void |
setMosaicsDao(MosaicsDao mosaicsDao)
AOP setter for the MosaicsDao
|
void |
storeMosaicBatch(MosaicBatch mbatch)
Store this
MosaicBatch in the database. |
public void setDataSource(javax.sql.DataSource ds)
ds - The datasource as configured by Spring.public void setMosaicsDao(MosaicsDao mosaicsDao)
mosaicsDao - The MosaicsDao from the Spring Database Setuppublic java.util.List<MosaicBatch> getMosaicBatches()
MosaicBatchesDaoMosaicBatchs.getMosaicBatches in interface MosaicBatchesDaopublic MosaicBatch getMosaicBatch(int mbid)
MosaicBatchesDaogetMosaicBatch in interface MosaicBatchesDaombid - The MosaicBatch ID to query.public void storeMosaicBatch(MosaicBatch mbatch)
MosaicBatchesDaoMosaicBatch in the database.storeMosaicBatch in interface MosaicBatchesDaombatch - The MosaicBatch to store.public void deleteMosaicBatch(int mbid)
MosaicBatchesDaoMosaicBatchs for the Mosaic specified by this Mosaic ID.deleteMosaicBatch in interface MosaicBatchesDaombid - The Mosaic BatchID to delete.