|
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 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()
public void clearParameters()
public boolean execute() throws java.sql.SQLException
public void setObject(int index, java.lang.Object obj) throws java.sql.SQLException
public void setString(int index, java.lang.String str) throws java.sql.SQLException
setObject(int, java.lang.Object)
public java.lang.Object getObject(int index) throws java.sql.SQLException
public boolean wasNull()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |