public class MosaicVectorsDaoJdbc extends java.lang.Object implements MosaicVectorsDao
MosaicVectors.| Modifier and Type | Class and Description |
|---|---|
protected class |
MosaicVectorsDaoJdbc.MosaicVectorInsert
MosaicVector Insert Object. |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
MosaicVectorsDaoJdbc() |
| Modifier and Type | Method and Description |
|---|---|
MosaicVector |
getMosaicVector(java.lang.String pic)
Fetch the
MosaicVector for the Pic specified by this picName |
java.util.List<MosaicVector> |
getMosaicVectors(java.util.List<Pic> picList)
Get the List of
MosaicVectors that matches this picList, which probably came from a mosaic Set. |
void |
setDataSource(javax.sql.DataSource ds)
Set the reference to the JDBC datasource.
|
void |
updateMosaicVector(MosaicVector mv)
Store this
MosaicVector in the database. |
public void setDataSource(javax.sql.DataSource ds)
ds - The datasource as configured by Spring.public MosaicVector getMosaicVector(java.lang.String pic)
MosaicVectorsDaoMosaicVector for the Pic specified by this picNamegetMosaicVector in interface MosaicVectorsDaopic - The name of the Pic to query.public void updateMosaicVector(MosaicVector mv)
MosaicVectorsDaoMosaicVector in the database.updateMosaicVector in interface MosaicVectorsDaomv - The MosaicVector to store.public java.util.List<MosaicVector> getMosaicVectors(java.util.List<Pic> picList)
MosaicVectorsDaoMosaicVectors that matches this picList, which probably came from a mosaic Set.getMosaicVectors in interface MosaicVectorsDaopicList - The List of Pics to queryMosaicVectors. The List may be empty, but not null.