public class MetaSetsDaoJdbc extends java.lang.Object implements MetaSetsDao, DataStrings
MetaSets.| 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)
MetaSetsDaogetMetaSet in interface MetaSetsDaosid - The SetID to query.public void storeMetaSet(MetaSet mset)
MetaSetsDaostoreMetaSet in interface MetaSetsDaomset - The MetaSet to write.public void deleteMetaSet(MetaSet mset) throws DataAccessException
MetaSetsDaodeleteMetaSet in interface MetaSetsDaomset - The MetaSet to delete.DataAccessException - It didn't quite work out.