com.liferay.portal.kernel.dao.jdbc
Class PrimaryKeyRowMapper

java.lang.Object
  extended by com.liferay.portal.kernel.dao.jdbc.PrimaryKeyRowMapper
All Implemented Interfaces:
RowMapper<java.lang.Long>

public class PrimaryKeyRowMapper
extends java.lang.Object
implements RowMapper<java.lang.Long>

Author:
Shuyang Zhou

Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.dao.jdbc.RowMapper
COUNT, PRIMARY_KEY
 
Constructor Summary
PrimaryKeyRowMapper()
           
 
Method Summary
 java.lang.Long mapRow(java.sql.ResultSet rs, int rowNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryKeyRowMapper

public PrimaryKeyRowMapper()
Method Detail

mapRow

public java.lang.Long mapRow(java.sql.ResultSet rs,
                             int rowNumber)
                      throws java.sql.SQLException
Specified by:
mapRow in interface RowMapper<java.lang.Long>
Throws:
java.sql.SQLException