|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.document.jdbc.CallableStatement | +--com.beasys.commerce.axiom.document.jdbc.GetDocumentModifiedDateStatement
A callable statement which handles getting the modified date of a dcoument.
This expects InParam1 to be the string id of the document to retrieve. OutParam1 will be the Timestamp (or null if id not found or null).
Field Summary | |
protected java.lang.String |
documentId
The id of the document to get. |
protected java.sql.Timestamp |
modifiedDate
The document modified date. |
Fields inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement |
connection |
Constructor Summary | |
GetDocumentModifiedDateStatement(Connection con)
Constructor. |
Method Summary | |
void |
clearParameters()
Clear the parameters. |
void |
close()
Close the statement. |
boolean |
execute()
Execute the statement. |
java.lang.Object |
getObject(int index)
Get the output parameter. |
void |
setObject(int index,
java.lang.Object obj)
Set the input parameter. |
void |
setString(int index,
java.lang.String str)
Set the input parameter string. |
boolean |
wasNull()
Tell if the modified date out param was null. |
Methods inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement |
addBatch, addBatch, cancel, clearBatch, clearWarnings, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, getArray, getBigDecimal, getBigDecimal, getBlob, getBoolean, getByte, getBytes, getClob, getConnection, getDate, getDate, getDocumentProvider, getDouble, getFetchDirection, getFetchSize, getFloat, getInt, getLong, getMaxFieldSize, getMaxRows, getMetaData,
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String documentId
protected java.sql.Timestamp modifiedDate
Constructor Detail |
public GetDocumentModifiedDateStatement(Connection con)
Method Detail |
public void close()
close
in class CallableStatement
com.beasys.commerce.axiom.document.jdbc.CallableStatement
java.sql.SQLException
- thrown on an error.public void clearParameters()
clearParameters
in class CallableStatement
com.beasys.commerce.axiom.document.jdbc.CallableStatement
java.sql.SQLException
- thrown on an error.public boolean execute() throws java.sql.SQLException
execute
in class CallableStatement
java.sql.SQLException
- thrown on an error.public void setObject(int index, java.lang.Object obj) throws java.sql.SQLException
setObject
in class CallableStatement
java.sql.SQLException
- thrown on invalid args.public void setString(int index, java.lang.String str) throws java.sql.SQLException
setString
in class CallableStatement
java.sql.SQLException
- thrown on invlid args.setObject(int, java.lang.Object)
public java.lang.Object getObject(int index) throws java.sql.SQLException
getObject
in class CallableStatement
java.sql.SQLException
- thrown on an error.public boolean wasNull()
wasNull
in class CallableStatement
com.beasys.commerce.axiom.document.jdbc.CallableStatement
java.sql.SQLException
- always thrown.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |