org.sakaiproject.delegatedaccess.dao.impl
Class DelegatedAccessDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.jdbc.core.support.JdbcDaoSupport
          extended by org.sakaiproject.delegatedaccess.dao.impl.DelegatedAccessDaoImpl
All Implemented Interfaces:
DelegatedAccessDao, org.springframework.beans.factory.InitializingBean

public class DelegatedAccessDaoImpl
extends org.springframework.jdbc.core.support.JdbcDaoSupport
implements DelegatedAccessDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
DelegatedAccessDaoImpl()
           
 
Method Summary
 void addSiteProperty(String siteId, String propertyName, String propertyValue)
           
 List<String> getDistinctSiteTerms(String termField)
           
 List<String> getEmptyNonSiteNodes(String hierarchyId)
           
 List<String> getNodesBySiteRef(String siteRef, String hierarchyId)
           
 String getSiteProperty(String propertyName, String siteId)
           
 void init()
          init
 void removeSiteProperty(String siteId, String propertyName)
           
 void updateSiteProperty(String siteId, String propertyName, String propertyValue)
           
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatedAccessDaoImpl

public DelegatedAccessDaoImpl()
Method Detail

init

public void init()
init


getDistinctSiteTerms

public List<String> getDistinctSiteTerms(String termField)
Specified by:
getDistinctSiteTerms in interface DelegatedAccessDao

getSiteProperty

public String getSiteProperty(String propertyName,
                              String siteId)
Specified by:
getSiteProperty in interface DelegatedAccessDao

getNodesBySiteRef

public List<String> getNodesBySiteRef(String siteRef,
                                      String hierarchyId)
Specified by:
getNodesBySiteRef in interface DelegatedAccessDao

getEmptyNonSiteNodes

public List<String> getEmptyNonSiteNodes(String hierarchyId)
Specified by:
getEmptyNonSiteNodes in interface DelegatedAccessDao

addSiteProperty

public void addSiteProperty(String siteId,
                            String propertyName,
                            String propertyValue)
Specified by:
addSiteProperty in interface DelegatedAccessDao

updateSiteProperty

public void updateSiteProperty(String siteId,
                               String propertyName,
                               String propertyValue)
Specified by:
updateSiteProperty in interface DelegatedAccessDao

removeSiteProperty

public void removeSiteProperty(String siteId,
                               String propertyName)
Specified by:
removeSiteProperty in interface DelegatedAccessDao


Copyright © 2003-2012 Sakai Project. All Rights Reserved.