org.outerj.xreporter.report.definition
Class DatabaseOutputDefinition.AbsoluteNavigationStrategy

java.lang.Object
  extended byorg.outerj.xreporter.report.definition.DatabaseOutputDefinition.AbsoluteNavigationStrategy
All Implemented Interfaces:
DatabaseOutputDefinition.ResultSetNavigationStrategy
Enclosing class:
DatabaseOutputDefinition

public class DatabaseOutputDefinition.AbsoluteNavigationStrategy
extends java.lang.Object
implements DatabaseOutputDefinition.ResultSetNavigationStrategy


Constructor Summary
DatabaseOutputDefinition.AbsoluteNavigationStrategy()
           
 
Method Summary
 java.sql.PreparedStatement createPreparedStatement(java.lang.String sql, java.sql.Connection conn)
           
 int moveForward(java.sql.ResultSet rs, int count, int currentRow)
           
 int moveToLast(java.sql.ResultSet rs, int currentRow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseOutputDefinition.AbsoluteNavigationStrategy

public DatabaseOutputDefinition.AbsoluteNavigationStrategy()
Method Detail

createPreparedStatement

public java.sql.PreparedStatement createPreparedStatement(java.lang.String sql,
                                                          java.sql.Connection conn)
                                                   throws java.sql.SQLException
Specified by:
createPreparedStatement in interface DatabaseOutputDefinition.ResultSetNavigationStrategy
Throws:
java.sql.SQLException

moveForward

public int moveForward(java.sql.ResultSet rs,
                       int count,
                       int currentRow)
                throws java.sql.SQLException
Specified by:
moveForward in interface DatabaseOutputDefinition.ResultSetNavigationStrategy
Throws:
java.sql.SQLException

moveToLast

public int moveToLast(java.sql.ResultSet rs,
                      int currentRow)
               throws java.sql.SQLException
Specified by:
moveToLast in interface DatabaseOutputDefinition.ResultSetNavigationStrategy
Throws:
java.sql.SQLException