org.sakaiproject.delegatedaccess.dao.impl
Class DelegatedAccessDaoImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
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
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
|
Method Summary |
void |
addSiteProperty(String siteId,
String propertyName,
String propertyValue)
|
List<String> |
getDistinctSiteTerms(String termField)
|
List<String> |
getEmptyNonSiteNodes(String hierarchyId)
|
Map<String,List<String>> |
getNodesBySiteRef(String[] siteRefs,
String hierarchyId)
returns a Map of -> {siteRef, {nodeId, nodeId ...}} |
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 |
DelegatedAccessDaoImpl
public DelegatedAccessDaoImpl()
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 Map<String,List<String>> getNodesBySiteRef(String[] siteRefs,
String hierarchyId)
- Description copied from interface:
DelegatedAccessDao
- returns a Map of -> {siteRef, {nodeId, nodeId ...}}
- Specified by:
getNodesBySiteRef in interface DelegatedAccessDao
- Returns:
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.