ccc.migration.ccc6.handlers
Class ParagraphVersionsSelector

java.lang.Object
  extended by ccc.migration.ccc6.handlers.ParagraphVersionsSelector
All Implemented Interfaces:
SqlQuery<java.util.List<java.lang.Integer>>, org.apache.commons.dbutils.ResultSetHandler

public final class ParagraphVersionsSelector
extends java.lang.Object
implements SqlQuery<java.util.List<java.lang.Integer>>

A SQL query that return the version numbers of the paragraphs for a page.

Author:
Civic Computing Ltd.

Constructor Summary
ParagraphVersionsSelector()
           
 
Method Summary
 java.lang.String getSql()
          Accessor.
 java.util.List<java.lang.Integer> handle(java.sql.ResultSet rs)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParagraphVersionsSelector

public ParagraphVersionsSelector()
Method Detail

handle

public java.util.List<java.lang.Integer> handle(java.sql.ResultSet rs)
                                         throws java.sql.SQLException

Specified by:
handle in interface SqlQuery<java.util.List<java.lang.Integer>>
Specified by:
handle in interface org.apache.commons.dbutils.ResultSetHandler
Throws:
java.sql.SQLException

getSql

public java.lang.String getSql()
Accessor.

Specified by:
getSql in interface SqlQuery<java.util.List<java.lang.Integer>>
Returns:
The SQL for this query, as a string.


Copyright © 2010. All Rights Reserved.