public class MetaSetsDaoJdbc extends java.lang.Object implements MetaSetsDao, DataStrings
MetaSet
s.Modifier and Type | Class and Description |
---|---|
protected class |
MetaSetsDaoJdbc.MetaSetDelete
MetaSet Delete Object. |
protected class |
MetaSetsDaoJdbc.MetaSetInsert
MetaSet Insert Object. |
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
PICSELECTOR_MIX, PICSELECTOR_SORT
Constructor and Description |
---|
MetaSetsDaoJdbc() |
Modifier and Type | Method and Description |
---|---|
void |
deleteMetaSet(MetaSet mset)
Delete this MetaSet from the database.
|
MetaSet |
getMetaSet(int sid)
Get the MetaSet that matches this Set ID.
|
void |
setDataSource(javax.sql.DataSource ds)
Set the reference to the JDBC datasource.
|
void |
storeMetaSet(MetaSet mset)
Store this MetaSet to the database.
|
public void setDataSource(javax.sql.DataSource ds)
ds
- The datasource as configured by Spring.public MetaSet getMetaSet(int sid)
MetaSetsDao
getMetaSet
in interface MetaSetsDao
sid
- The SetID to query.public void storeMetaSet(MetaSet mset)
MetaSetsDao
storeMetaSet
in interface MetaSetsDao
mset
- The MetaSet to write.public void deleteMetaSet(MetaSet mset) throws DataAccessException
MetaSetsDao
deleteMetaSet
in interface MetaSetsDao
mset
- The MetaSet to delete.DataAccessException
- It didn't quite work out.