© 2005 BEA Systems, Inc.

com.bea.p13n.content.document.jdbc
Class GetSchemasStatement

java.lang.Object
  extended bycom.bea.p13n.content.document.jdbc.CallableStatement
      extended bycom.bea.p13n.content.document.jdbc.GetSchemasStatement
All Implemented Interfaces:
CallableStatement, PreparedStatement, Statement

public class GetSchemasStatement
extends CallableStatement

A callable statement which handles getting all the schemas.

This expects no input parameters. OutParam1 will be the Map of string schema name to DocumentSchemaDef.


Field Summary
protected  Map schemaMap
          Deprecated. OutParam1: the map of DocumentSchemaDefs.
 
Fields inherited from class com.bea.p13n.content.document.jdbc.CallableStatement
connection
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Constructor Summary
GetSchemasStatement(Connection con)
          Deprecated. Constructor.
 
Method Summary
 void clearParameters()
          Deprecated. Clear the parameters.
 void close()
          Deprecated. Subclasses must implement this method.
 boolean execute()
          Deprecated. Execute the statement.
 Object getObject(int index)
          Deprecated. Get the output parameter.
 void setObject(int index, Object obj)
          Deprecated. Set the input parameter.
 
Methods inherited from class com.bea.p13n.content.document.jdbc.CallableStatement
addBatch, addBatch, cancel, clearBatch, clearWarnings, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getClob, getClob, getConnection, getDate, getDate, getDate, getDate, getDocumentProvider, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getGeneratedKeys, getInt, getInt, getLong, getLong, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getObject, getObject, getObject, getParameterMetaData, getQueryTimeout, getRef, getRef, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getUpdateCount, getURL, getURL, getWarnings, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setArray, setAsciiStream, setAsciiStream, setBigDecimal, setBigDecimal, setBinaryStream, setBinaryStream, setBlob, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setCharacterStream, setCharacterStream, setClob, setCursorName, setDate, setDate, setDate, setDate, setDouble, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setFloat, setInt, setInt, setLong, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setQueryTimeout, setRef, setShort, setShort, setString, setString, setTime, setTime, setTime, setTime, setTimestamp, setTimestamp, setTimestamp, setTimestamp, setUnicodeStream, setURL, setURL, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schemaMap

protected Map schemaMap
Deprecated. 
OutParam1: the map of DocumentSchemaDefs.

Constructor Detail

GetSchemasStatement

public GetSchemasStatement(Connection con)
Deprecated. 
Constructor.

Method Detail

clearParameters

public void clearParameters()
Deprecated. 
Clear the parameters.

Specified by:
clearParameters in interface PreparedStatement
Specified by:
clearParameters in class CallableStatement

close

public void close()
Deprecated. 
Description copied from class: CallableStatement
Subclasses must implement this method.

Specified by:
close in interface Statement
Specified by:
close in class CallableStatement

execute

public boolean execute()
                throws SQLException
Deprecated. 
Execute the statement.

Specified by:
execute in interface PreparedStatement
Specified by:
execute in class CallableStatement
Throws:
SQLException - thrown on an error.

getObject

public Object getObject(int index)
                 throws SQLException
Deprecated. 
Get the output parameter.

Specified by:
getObject in interface CallableStatement
Specified by:
getObject in class CallableStatement
Parameters:
index - the output parameter index.
Throws:
SQLException - thrown on invalid arg or not execute yet.

setObject

public void setObject(int index,
                      Object obj)
               throws SQLException
Deprecated. 
Set the input parameter.

Specified by:
setObject in interface PreparedStatement
Specified by:
setObject in class CallableStatement
Throws:
SQLException - always thrown.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved