org.jboss.ejb.plugins.jaws.jdbc
Class JDBCFindAllCommand

java.lang.Object
  extended byorg.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
      extended byorg.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand
          extended byorg.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand
              extended byorg.jboss.ejb.plugins.jaws.jdbc.JDBCFindAllCommand
All Implemented Interfaces:
JPMFindEntitiesCommand

public class JDBCFindAllCommand
extends JDBCFinderCommand

JAWSPersistenceManager JDBCFindAllCommand

Version:
$Revision: 1.6.6.1 $
Author:
Rickard Öberg, Marc Fleury, Joe Shevland, Justin Forder
See Also:

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand
finderMetaData
 
Fields inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
factory, jawsEntity, name
 
Constructor Summary
JDBCFindAllCommand(JDBCCommandFactory factory, FinderMetaData f)
           
 
Method Summary
 String getFromClause()
          This method must be ovverridden to return the full table list for the query, including any join statements.
 String getOrderByClause()
          This method must be ovverridded to return the full order by clause for the query, including the 'ORDER BY' keyword.
 String getWhereClause()
          This method must be overridden to return the where clause used in this query.
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand
execute, getFinderMetaData, handleResult
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand
executeStatementAndHandleResult
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
getCMPFieldValue, getConnection, getJawsCMPFieldJDBCType, getJDBCType, getJDBCTypeName, getName, getPkColumnList, getPkColumnWhereList, getPkFieldValue, getResultObject, getResultObject, getSQL, getState, isBinaryType, jdbcExecute, setCMPFieldValue, setParameter, setParameters, setPrimaryKeyParameters, setSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCFindAllCommand

public JDBCFindAllCommand(JDBCCommandFactory factory,
                          FinderMetaData f)
Method Detail

getWhereClause

public String getWhereClause()
Description copied from class: JDBCFinderCommand
This method must be overridden to return the where clause used in this query. This must start with the keyword 'WHERE' and include all conditions needed to execute the query properly.

Specified by:
getWhereClause in class JDBCFinderCommand

getFromClause

public String getFromClause()
Description copied from class: JDBCFinderCommand
This method must be ovverridden to return the full table list for the query, including any join statements. This must start with the keyword 'FROM' and include all tables needed to execute the query properly.

Specified by:
getFromClause in class JDBCFinderCommand

getOrderByClause

public String getOrderByClause()
Description copied from class: JDBCFinderCommand
This method must be ovverridded to return the full order by clause for the query, including the 'ORDER BY' keyword.

Specified by:
getOrderByClause in class JDBCFinderCommand


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.