Class UserPhoneRowMapper
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.sms.UserPhoneRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<UserPhone>
@Component
public class UserPhoneRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<UserPhone>
Maps the verified columns of a row of the
user_phones table to a UserPhone.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UserPhoneRowMapper
public UserPhoneRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<UserPhone>- Parameters:
rs- result set positioned on a row whose verified columns are not null.rowNum- number of the row.- Returns:
- the verified phone.
- Throws:
SQLException- if a column cannot be read.
-