|
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.GetDocumentMetadataStatement
A callable statement which handles getting a single document metadata.
This expects InParam1 to be the string id of the document metadata to retrieve. OutParam1 will be the DocumentMetadataDef (or null if id not found).
Field Summary | |
protected java.lang.String |
documentId
The id of the document metadata to get. |
protected DocumentMetadataDef |
metadata
The metadata gotten. |
Fields inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement |
connection |
Constructor Summary | |
GetDocumentMetadataStatement(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 metadata 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 DocumentMetadataDef metadata
Constructor Detail |
public GetDocumentMetadataStatement(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 |