nl.surfnet.coin.teams.service.impl
Class AbstractGrouperDaoImpl.GrouperRowMapper<T>
java.lang.Object
nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl.GrouperRowMapper<T>
- Type Parameters:
T - the group class to create.
- All Implemented Interfaces:
- org.springframework.jdbc.core.RowMapper<T>
- Direct Known Subclasses:
- ApiGrouperDaoImpl.OpenSocial20GroupRowMapper
- Enclosing class:
- AbstractGrouperDaoImpl
public abstract static class AbstractGrouperDaoImpl.GrouperRowMapper<T>
- extends Object
- implements org.springframework.jdbc.core.RowMapper<T>
Template method Row Mapper that only extracts the fields from the resultset, leaving creation
of a concrete group to implementations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGrouperDaoImpl.GrouperRowMapper
public AbstractGrouperDaoImpl.GrouperRowMapper()
createObj
public abstract T createObj(String id,
String name,
String description)
mapRow
public T mapRow(ResultSet rs,
int rowNum)
throws SQLException
- Specified by:
mapRow in interface org.springframework.jdbc.core.RowMapper<T>
- Throws:
SQLException
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.