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

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

public class CountRowMapper
extends java.lang.Object
implements RowMapper<java.lang.Integer>

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.dao.jdbc.RowMapper
COUNT
 
Constructor Summary
CountRowMapper()
           
 
Method Summary
 java.lang.Integer 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

CountRowMapper

public CountRowMapper()
Method Detail

mapRow

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