public interface ExecuteProcedureEvent extends ModelEvent, HostSessionEvent
Modifier and Type | Method and Description |
---|---|
MutableProcedureRecordSet |
createProcedureRecordSet()
Create an empty
MutableProcedureRecordSet configured with the
procedure's outputs as columns. |
MutableProcedureRecordSet |
defaultProcedure()
Execute the default procedure implementation with the input parameters
returned from
getProcedureInputParameters() . |
MutableProcedureRecordSet |
defaultProcedure(ProcedureParameters[] inputs,
int maxRows)
Execute the default procedure implementation with the specified sets
of input parameters.
|
MutableProcedureRecordSet |
defaultProcedure(ProcedureParameters input,
int maxRows)
Execute the default procedure implementation with the specified set of
input parameters.
|
int |
getMaxRows()
Gets the maximum number of rows requested.
|
ProcedureParameters[] |
getProcedureInputParameters()
Gets the procedure's input parameters.
|
ProcedureMetaData |
getProcedureMetaData()
Gets the metadata for this procedure.
|
java.lang.String |
getProcedureName()
Gets the procedure name.
|
java.lang.String |
getTableName()
Gets the table name.
|
boolean |
isCaseSensitive()
Determine if comparisons should be done case-sensitively.
|
getHostSession
getClientSession, getCurrentOperation, getCurrentProcedure, getModelContext
checkForTimeout, createErrorMessage, createErrorMessage, createHostSession, createUserErrorMessage, getEventStack, getHandlerProperty, getLogger, isDesignEnvironment
java.lang.String getTableName()
java.lang.String getProcedureName()
int getMaxRows()
boolean isCaseSensitive()
ProcedureParameters[] getProcedureInputParameters()
MutableProcedureRecordSet defaultProcedure() throws ApptrieveException
getProcedureInputParameters()
.ApptrieveException
- if an error occurs executing the procedureMutableProcedureRecordSet defaultProcedure(ProcedureParameters input, int maxRows) throws ApptrieveException
input
- the procedure input parametersmaxRows
- the maximum number of rows to returnApptrieveException
- if an error occurs executing the procedureMutableProcedureRecordSet defaultProcedure(ProcedureParameters[] inputs, int maxRows) throws ApptrieveException
inputs
- maxRows
- ApptrieveException
- if an error occurs executing the procedureMutableProcedureRecordSet createProcedureRecordSet()
MutableProcedureRecordSet
configured with the
procedure's outputs as columns.ProcedureMetaData getProcedureMetaData() throws ApptrieveException
ApptrieveException
- if an error occurs obtaining the metadata