org.opennms.acl.repository.ibatis
Class CategoryNodeAclRepositoryIbatis

java.lang.Object
  extended by org.springframework.jdbc.support.JdbcAccessor
      extended by org.springframework.orm.ibatis.SqlMapClientTemplate
          extended by org.opennms.acl.repository.ibatis.CategoryNodeAclRepositoryIbatis
All Implemented Interfaces:
ItemAclRepository, org.springframework.beans.factory.InitializingBean, org.springframework.orm.ibatis.SqlMapClientOperations

@Repository(value="categoryNodeRepository")
public class CategoryNodeAclRepositoryIbatis
extends org.springframework.orm.ibatis.SqlMapClientTemplate
implements ItemAclRepository

Since:
jdk 1.5.0
Author:
Massimiliano Dessì (desmax74@yahoo.it)

Field Summary
 
Fields inherited from class org.springframework.jdbc.support.JdbcAccessor
logger
 
Constructor Summary
CategoryNodeAclRepositoryIbatis()
           
 
Method Summary
 List<?> getAuthorityItems(List<Integer> items)
           
 List<?> getFreeItems(List<Integer> items)
           
 List<?> getItems()
           
 void setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
           
 
Methods inherited from class org.springframework.orm.ibatis.SqlMapClientTemplate
afterPropertiesSet, delete, delete, delete, execute, executeWithListResult, executeWithMapResult, getDataSource, getSqlMapClient, insert, insert, queryForList, queryForList, queryForList, queryForList, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForPaginatedList, queryForPaginatedList, queryWithRowHandler, queryWithRowHandler, update, update, update
 
Methods inherited from class org.springframework.jdbc.support.JdbcAccessor
getExceptionTranslator, isLazyInit, setDatabaseProductName, setDataSource, setExceptionTranslator, setLazyInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryNodeAclRepositoryIbatis

public CategoryNodeAclRepositoryIbatis()
Method Detail

setSqlMapClient

public void setSqlMapClient(@Qualifier(value="onmsSqlMapClient")
                            com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
Overrides:
setSqlMapClient in class org.springframework.orm.ibatis.SqlMapClientTemplate

getItems

public List<?> getItems()
Specified by:
getItems in interface ItemAclRepository
Returns:
a list of items to put under acl control

getAuthorityItems

public List<?> getAuthorityItems(List<Integer> items)
Specified by:
getAuthorityItems in interface ItemAclRepository
Returns:

getFreeItems

public List<?> getFreeItems(List<Integer> items)
Specified by:
getFreeItems in interface ItemAclRepository
Returns:


Copyright © 2009. All Rights Reserved.