Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.kernel.dao.jdbc.SmartResultSet

public class SmartResultSet
extends Object


Constructor Summary
SmartResultSet(ResultSet rs)
           
 
Method Summary
 int findColumn(String columnName)
           
 boolean first()
           
 Date getDate(int columnIndex)
           
 Date getDate(String columnName)
           
 double getDouble(int columnIndex)
           
 double getDouble(String columnName)
           
 float getFloat(int columnIndex)
           
 float getFloat(String columnName)
           
 int getInt(int columnIndex)
           
 int getInt(String columnName)
           
 long getLong(int columnIndex)
           
 long getLong(String columnName)
           
 short getShort(int columnIndex)
           
 short getShort(String columnName)
           
 String getString(int columnIndex)
           
 String getString(String columnName)
           
 Timestamp getTimestamp(int columnIndex)
           
 Timestamp getTimestamp(String columnName)
           
 boolean last()
           
 boolean next()
           
 boolean previous()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartResultSet

public SmartResultSet(ResultSet rs)
               throws SQLException
Throws:
SQLException
Method Detail

findColumn

public int findColumn(String columnName)
               throws SQLException
Throws:
SQLException

first

public boolean first()
              throws SQLException
Throws:
SQLException

getDate

public Date getDate(int columnIndex)
             throws SQLException
Throws:
SQLException

getDate

public Date getDate(String columnName)
             throws SQLException
Throws:
SQLException

getDouble

public double getDouble(int columnIndex)
                 throws SQLException
Throws:
SQLException

getDouble

public double getDouble(String columnName)
                 throws SQLException
Throws:
SQLException

getFloat

public float getFloat(int columnIndex)
               throws SQLException
Throws:
SQLException

getFloat

public float getFloat(String columnName)
               throws SQLException
Throws:
SQLException

getInt

public int getInt(int columnIndex)
           throws SQLException
Throws:
SQLException

getInt

public int getInt(String columnName)
           throws SQLException
Throws:
SQLException

getLong

public long getLong(int columnIndex)
             throws SQLException
Throws:
SQLException

getLong

public long getLong(String columnName)
             throws SQLException
Throws:
SQLException

getShort

public short getShort(int columnIndex)
               throws SQLException
Throws:
SQLException

getShort

public short getShort(String columnName)
               throws SQLException
Throws:
SQLException

getString

public String getString(int columnIndex)
                 throws SQLException
Throws:
SQLException

getString

public String getString(String columnName)
                 throws SQLException
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(int columnIndex)
                       throws SQLException
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(String columnName)
                       throws SQLException
Throws:
SQLException

last

public boolean last()
             throws SQLException
Throws:
SQLException

next

public boolean next()
             throws SQLException
Throws:
SQLException

previous

public boolean previous()
                 throws SQLException
Throws:
SQLException

Liferay 6.2-ce-ga5