|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand
org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand
org.jboss.ejb.plugins.jaws.jdbc.JDBCDefinedFinderCommand
JAWSPersistenceManager JDBCDefinedFinderCommand
Revisions:
20010621 Bill Burke:
20010812 vincent.harcq@hubmethods.com:
| 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 | |
JDBCDefinedFinderCommand(JDBCCommandFactory factory,
FinderMetaData f)
|
|
| Method Summary | |
protected String[] |
cleanOrderClause(String rawOrder)
helper method to clean the order clause into a list of table.field entries. |
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. |
int[] |
getParameterArray()
|
String |
getWhereClause()
This method must be overridden to return the where clause used in this query. |
protected void |
setParameters(PreparedStatement stmt,
Object argOrArgs)
Default implementation does nothing. |
| 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, setPrimaryKeyParameters, setSQL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDBCDefinedFinderCommand(JDBCCommandFactory factory, FinderMetaData f)
| Method Detail |
public String getWhereClause()
JDBCFinderCommand
getWhereClause in class JDBCFinderCommandpublic String getFromClause()
JDBCFinderCommand
getFromClause in class JDBCFinderCommandpublic String getOrderByClause()
JDBCFinderCommand
getOrderByClause in class JDBCFinderCommandpublic int[] getParameterArray()
protected String[] cleanOrderClause(String rawOrder)
protected void setParameters(PreparedStatement stmt, Object argOrArgs) throws Exception
JDBCCommand
setParameters in class JDBCCommandstmt - the PreparedStatement which will be executed by this Command.argOrArgs - argument or array of arguments passed in from
subclass execute method.
Exception - if parameter setting fails.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||