com.atlassian.crowd.importer.mappers.jdbc
Class UserMapper
java.lang.Object
com.atlassian.crowd.importer.mappers.jdbc.UserMapper
- All Implemented Interfaces:
- org.springframework.jdbc.core.RowMapper
public class UserMapper
- extends Object
- implements org.springframework.jdbc.core.RowMapper
Will map a row from a JDBC ResultSet
to a User
.
Populates missing name information as required.
- See Also:
UserUtils.populateNames(com.atlassian.crowd.model.user.User)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserMapper
public UserMapper(Configuration configuration,
PasswordHelper passwordHelper,
String name,
String email,
String fullname,
String password)
mapRow
public Object mapRow(ResultSet rs,
int rowNum)
throws SQLException
- Specified by:
mapRow
in interface org.springframework.jdbc.core.RowMapper
- Throws:
SQLException
Copyright © 2013 Atlassian. All Rights Reserved.