Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.acl.basic.jdbc
Class JdbcDaoImpl.AclsByObjectIdentityMapping  view JdbcDaoImpl.AclsByObjectIdentityMapping download JdbcDaoImpl.AclsByObjectIdentityMapping.java

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

protected class JdbcDaoImpl.AclsByObjectIdentityMapping
extends org.springframework.jdbc.object.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 inherited from class org.springframework.jdbc.object.MappingSqlQueryWithParameters
org.springframework.jdbc.object.MappingSqlQueryWithParameters.ResultReaderImpl
 
Field Summary
 
Fields inherited from class org.springframework.jdbc.object.SqlQuery
 
Fields inherited from class org.springframework.jdbc.object.SqlOperation
 
Fields inherited from class org.springframework.jdbc.object.RdbmsOperation
logger
 
Constructor Summary
protected JdbcDaoImpl.AclsByObjectIdentityMapping(javax.sql.DataSource ds)
           
 
Method Summary
protected  java.lang.Object mapRow(java.sql.ResultSet rs, int rownum)
          Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.
 
Methods inherited from class org.springframework.jdbc.object.MappingSqlQuery
mapRow
 
Methods inherited from class org.springframework.jdbc.object.MappingSqlQueryWithParameters
newResultReader
 
Methods inherited from class org.springframework.jdbc.object.SqlQuery
execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, getRowsExpected, setRowsExpected
 
Methods inherited from class org.springframework.jdbc.object.SqlOperation
compileInternal, newPreparedStatementCreator, newPreparedStatementSetter, onCompileInternal
 
Methods inherited from class org.springframework.jdbc.object.RdbmsOperation
afterPropertiesSet, compile, declareParameter, getDeclaredParameters, getGeneratedKeysColumnNames, getJdbcTemplate, getResultSetType, getSql, isCompiled, isReturnGeneratedKeys, isUpdatableResults, setDataSource, setFetchSize, setGeneratedKeysColumnNames, setJdbcTemplate, setMaxRows, setResultSetType, setReturnGeneratedKeys, setSql, setTypes, setUpdatableResults, supportsLobParameters, 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(javax.sql.DataSource ds)
Method Detail

mapRow

protected java.lang.Object mapRow(java.sql.ResultSet rs,
                                  int rownum)
                           throws java.sql.SQLException
Description copied from class: org.springframework.jdbc.object.MappingSqlQuery
Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.

Subclasses of this class, as opposed to direct subclasses of MappingSqlQueryWithParameters, don't need to concern themselves with the parameters to the execute method of the query object.