org.duraspace.fcrepo.cloudsync.service.dao
Class ServiceInfoDao

java.lang.Object
  extended by org.duraspace.fcrepo.cloudsync.service.dao.ServiceInfoDao

public class ServiceInfoDao
extends Object


Field Summary
protected  org.springframework.jdbc.core.JdbcTemplate db
           
 
Constructor Summary
ServiceInfoDao(org.springframework.jdbc.core.JdbcTemplate db, UserDao userDao)
           
 
Method Summary
 ServiceInfo getServiceInfo()
           
 void initDb()
           
protected  String insert(String sql, Object... values)
           
 void setInitialized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

protected final org.springframework.jdbc.core.JdbcTemplate db
Constructor Detail

ServiceInfoDao

public ServiceInfoDao(org.springframework.jdbc.core.JdbcTemplate db,
                      UserDao userDao)
Method Detail

initDb

public void initDb()

getServiceInfo

public ServiceInfo getServiceInfo()

setInitialized

public void setInitialized()

insert

protected String insert(String sql,
                        Object... values)
                 throws org.springframework.dao.DuplicateKeyException
Throws:
org.springframework.dao.DuplicateKeyException


Copyright © 2012 DuraSpace. All Rights Reserved.