Spring Security Framework

org.springframework.security.acl.basic.jdbc
Class JdbcDaoImpl.AclsByObjectIdentityMapping

java.lang.Object
  extended by org.springframework.jdbc.object.RdbmsOperation
      extended by org.springframework.jdbc.object.SqlOperation
          extended by org.springframework.jdbc.object.SqlQuery
              extended by org.springframework.jdbc.object.MappingSqlQueryWithParameters
                  extended by org.springframework.jdbc.object.MappingSqlQuery
                      extended by org.springframework.security.acl.basic.jdbc.JdbcDaoImpl.AclsByObjectIdentityMapping
All Implemented Interfaces:
InitializingBean
Enclosing class:
JdbcDaoImpl

protected class JdbcDaoImpl.AclsByObjectIdentityMapping
extends MappingSqlQuery

Query object to look up individual ACL entries.

Returns the generic AclDetailsHolder object.

Guarantees to never return null (exceptions are thrown in the event of any issues).

The executed SQL requires the following information be made available from the indicated placeholders: 1. RECIPIENT, 2. MASK.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.jdbc.object.MappingSqlQueryWithParameters
MappingSqlQueryWithParameters.RowMapperImpl
 
Field Summary
 
Fields inherited from class org.springframework.jdbc.object.RdbmsOperation
logger
 
Constructor Summary
protected JdbcDaoImpl.AclsByObjectIdentityMapping(DataSource ds)
           
 
Method Summary
protected  Object mapRow(ResultSet rs, int rownum)
           
 
Methods inherited from class org.springframework.jdbc.object.MappingSqlQuery
mapRow
 
Methods inherited from class org.springframework.jdbc.object.MappingSqlQueryWithParameters
newRowMapper
 
Methods inherited from class org.springframework.jdbc.object.SqlQuery
execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, executeByNamedParam, executeByNamedParam, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObjectByNamedParam, findObjectByNamedParam, getRowsExpected, setRowsExpected
 
Methods inherited from class org.springframework.jdbc.object.SqlOperation
compileInternal, getParsedSql, newPreparedStatementCreator, newPreparedStatementCreator, newPreparedStatementSetter, onCompileInternal
 
Methods inherited from class org.springframework.jdbc.object.RdbmsOperation
afterPropertiesSet, allowsUnusedParameters, checkCompiled, compile, declareParameter, getDeclaredParameters, getGeneratedKeysColumnNames, getJdbcTemplate, getResultSetType, getSql, isCompiled, isReturnGeneratedKeys, isUpdatableResults, setDataSource, setFetchSize, setGeneratedKeysColumnNames, setJdbcTemplate, setMaxRows, setQueryTimeout, setResultSetType, setReturnGeneratedKeys, setSql, setTypes, setUpdatableResults, supportsLobParameters, validateNamedParameters, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcDaoImpl.AclsByObjectIdentityMapping

protected JdbcDaoImpl.AclsByObjectIdentityMapping(DataSource ds)
Method Detail

mapRow

protected Object mapRow(ResultSet rs,
                        int rownum)
                 throws SQLException
Specified by:
mapRow in class MappingSqlQuery
Throws:
SQLException

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.