|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A model that uses a stored procedure (accessed via JDBC) as its backing data store
Method Summary | |
void |
clearParameterValues()
Clears all cached parameter values. |
java.lang.Object |
executeProcedure(ModelExecutionContext context)
Executes the model's associated stored procedure, using the provided execution context |
java.lang.Object |
getParameterValue(java.lang.String name)
Returns the named parameter value. |
StoredProcSchema |
getProcedureSchema()
Returns the schema containing the procedure metadata |
java.lang.Object |
getResultParameterValue()
Returns the result parameter value from the last execution of the procedure |
void |
removeParameterValue(java.lang.String name)
Removes the named parameter value. |
void |
setParameterValue(java.lang.String name,
java.lang.Object value)
Sets the named parameter value. |
Methods inherited from interface com.iplanet.jato.model.sql.SQLModel |
getDataSourceName |
Methods inherited from interface com.iplanet.jato.model.ExecutingModel |
execute |
Methods inherited from interface com.iplanet.jato.model.Model |
getName, getValue, getValues, setName, setValue, setValues |
Method Detail |
public StoredProcSchema getProcedureSchema()
public java.lang.Object executeProcedure(ModelExecutionContext context) throws java.sql.SQLException, ModelControlException
context
- The execution context to be used during the execution of this
querygetResultParameterValue()
method.public java.lang.Object getResultParameterValue()
public java.lang.Object getParameterValue(java.lang.String name)
name
- The logical parameter name. This name identifies the parameter
descriptor that will be used to look up the physical parameter
name used for procedure execution.public void setParameterValue(java.lang.String name, java.lang.Object value)
name
- The logical parameter name. This name identifies the parameter
descriptor that will be used to look up the physical parameter
name used for procedure execution.value
- The value of the IN or INOUT parameter to setpublic void removeParameterValue(java.lang.String name)
name
- The logical parameter name. This name identifies the parameter
descriptor that will be used to look up the physical parameter
name used for procedure execution.public void clearParameterValues()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |