public class MosaicBatchesDaoJdbc extends java.lang.Object implements MosaicBatchesDao
MosaicBatch
es.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
MosaicBatch s 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
MosaicBatch s. |
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()
MosaicBatchesDao
MosaicBatch
s.getMosaicBatches
in interface MosaicBatchesDao
public MosaicBatch getMosaicBatch(int mbid)
MosaicBatchesDao
getMosaicBatch
in interface MosaicBatchesDao
mbid
- The MosaicBatch ID to query.public void storeMosaicBatch(MosaicBatch mbatch)
MosaicBatchesDao
MosaicBatch
in the database.storeMosaicBatch
in interface MosaicBatchesDao
mbatch
- The MosaicBatch to store.public void deleteMosaicBatch(int mbid)
MosaicBatchesDao
MosaicBatch
s for the Mosaic specified by this Mosaic ID.deleteMosaicBatch
in interface MosaicBatchesDao
mbid
- The Mosaic BatchID to delete.