org.duraspace.fcrepo.cloudsync.service.dao
Class ObjectSetDao
java.lang.Object
org.duraspace.fcrepo.cloudsync.service.dao.ObjectSetDao
public class ObjectSetDao
- extends Object
|
Field Summary |
protected org.springframework.jdbc.core.JdbcTemplate |
db
|
|
Constructor Summary |
ObjectSetDao(org.springframework.jdbc.core.JdbcTemplate db)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
db
protected final org.springframework.jdbc.core.JdbcTemplate db
ObjectSetDao
public ObjectSetDao(org.springframework.jdbc.core.JdbcTemplate db)
initDb
public void initDb()
createObjectSet
public ObjectSet createObjectSet(ObjectSet objectSet)
throws org.springframework.dao.DuplicateKeyException
- Throws:
org.springframework.dao.DuplicateKeyException
listObjectSets
public List<ObjectSet> listObjectSets()
getObjectSet
public ObjectSet getObjectSet(String id)
updateObjectSet
public ObjectSet updateObjectSet(String id,
ObjectSet set)
throws org.springframework.dao.DuplicateKeyException
- Throws:
org.springframework.dao.DuplicateKeyException
deleteObjectSet
public void deleteObjectSet(String id)
insert
protected String insert(String sql,
Object... values)
throws org.springframework.dao.DuplicateKeyException
- Throws:
org.springframework.dao.DuplicateKeyException
Copyright © 2012 DuraSpace. All Rights Reserved.