org.springframework.security.acl.basic.jdbc
Class JdbcDaoImpl.ObjectPropertiesMapping
java.lang.Object
org.springframework.jdbc.object.RdbmsOperation
org.springframework.jdbc.object.SqlOperation
org.springframework.jdbc.object.SqlQuery
org.springframework.jdbc.object.MappingSqlQueryWithParameters
org.springframework.jdbc.object.MappingSqlQuery
org.springframework.security.acl.basic.jdbc.JdbcDaoImpl.ObjectPropertiesMapping
- All Implemented Interfaces:
- InitializingBean
- Enclosing class:
- JdbcDaoImpl
protected class JdbcDaoImpl.ObjectPropertiesMapping
- extends MappingSqlQuery
Query object to look up properties for an object identity.
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. ID, 2. OBJECT_IDENTITY, 3. ACL_CLASS and 4. PARENT_OBJECT_IDENTITY.
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.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 |
JdbcDaoImpl.ObjectPropertiesMapping
protected JdbcDaoImpl.ObjectPropertiesMapping(DataSource ds)
mapRow
protected Object mapRow(ResultSet rs,
int rownum)
throws SQLException
- Specified by:
mapRow
in class MappingSqlQuery
- Throws:
SQLException
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.