|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.bea.p13n.content.document.jdbc.CallableStatement
|
+--com.bea.p13n.content.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 String |
documentId
Deprecated. The id of the document to get. |
protected Timestamp |
modifiedDate
Deprecated. The document modified date. |
| 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 | |
GetDocumentModifiedDateStatement(Connection con)
Deprecated. Constructor. |
|
| Method Summary | |
void |
clearParameters()
Deprecated. Clear the parameters. |
void |
close()
Deprecated. Close the statement. |
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. |
void |
setString(int index,
String str)
Deprecated. Set the input parameter string. |
boolean |
wasNull()
Deprecated. Tell if the modified date out param was null. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String documentId
protected Timestamp modifiedDate
| Constructor Detail |
public GetDocumentModifiedDateStatement(Connection con)
| Method Detail |
public void close()
close in interface Statementclose in class CallableStatementpublic void clearParameters()
clearParameters in interface PreparedStatementclearParameters in class CallableStatement
public boolean execute()
throws SQLException
execute in interface PreparedStatementexecute in class CallableStatementSQLException - thrown on an error.
public void setObject(int index,
Object obj)
throws SQLException
setObject in interface PreparedStatementsetObject in class CallableStatementSQLException - thrown on invalid args.
public void setString(int index,
String str)
throws SQLException
setString in interface PreparedStatementsetString in class CallableStatementSQLException - thrown on invlid args.setObject(int, java.lang.Object)
public Object getObject(int index)
throws SQLException
getObject in interface CallableStatementgetObject in class CallableStatementindex - the output parameter index.
SQLException - thrown on an error.public boolean wasNull()
wasNull in interface CallableStatementwasNull in class CallableStatement
|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||