public class Procedure extends ProObject
Modifier and Type | Field and Description |
---|---|
protected IRemoteProc |
m_persistProc |
protected java.lang.String |
m_procName |
m_alreadyBusy, m_badOutputVal, m_notAvailable, m_properties, m_wrongProxyVer, TYPE_AO, TYPE_PO, TYPE_SC, TYPE_SO, TYPE_SP
Constructor and Description |
---|
Procedure(ProObject proxyObj) |
Procedure(ProObject proxyObj,
java.lang.String procType) |
Procedure(ProObject proxyObj,
java.lang.String procType,
boolean isClass) |
Procedure(ProObject proxyObj,
java.lang.String procName,
ParameterSet params) |
Procedure(ProObject proxyObj,
java.lang.String procName,
ParameterSet params,
ResultSetSchema schema) |
Procedure(java.lang.String requestID,
ProObject proxyObj,
java.lang.String procName,
ParameterSet params) |
Procedure(java.lang.String requestID,
ProObject proxyObj,
java.lang.String procName,
ParameterSet params,
ResultSetSchema schema) |
Modifier and Type | Method and Description |
---|---|
ProcedureType |
_getProcedureType() |
void |
_release()
Delete persistent procedure on the server and
make this object unavailable
|
protected void |
_setProcedureType(ProcedureType procType) |
java.lang.Object |
getProcId() |
java.lang.String |
getSessionID()
return session ID
|
protected IRemoteProc |
runPersistentProcedure(java.lang.String procName,
int stateModel) |
protected PersistentProc |
runPersistentProcedure(java.lang.String procName,
ParameterSet params) |
protected IRemoteProc |
runPersistentProcedure(java.lang.String procName,
ParameterSet params,
ResultSetSchema schema) |
RqContext |
runProcedure(java.lang.String procName,
ParameterSet params)
Run an external non-persistent procedure
|
RqContext |
runProcedure(java.lang.String procName,
ParameterSet params,
ResultSetSchema schema)
Run an external non-persistent procedure
|
RqContext |
runProcedure(java.lang.String requestID,
java.lang.String procName,
ParameterSet params)
Run an external non-persistent procedure
|
RqContext |
runProcedure(java.lang.String requestID,
java.lang.String procName,
ParameterSet params,
ResultSetSchema schema)
Run an external non-persistent procedure
|
protected IRemoteProc |
runStatelessProcedure(java.lang.String procName,
int stateModel) |
_cancelAllRequests, _createSDOProcObject, _createSDOResultSet, _getConnectionId, _getProcReturnString, _getRequestId, _getReturnValue, _getReturnValue, _getSSLSubjectName, _isStreaming, addReference, deleteReference, finalize, get_tsCreated, get_tsLastAccessed, getAppName, getLog, getProperties, getRefCount, getSession, getSession, getSessionMode, getSessionPool, getWSAObjectID, isClass, isSessionAvailable, newRequestID, set_tsLastAccessed, setSessionID, shutdown, toString
protected IRemoteProc m_persistProc
protected java.lang.String m_procName
public Procedure(ProObject proxyObj, java.lang.String procName, ParameterSet params) throws Open4GLException
Open4GLException
public Procedure(java.lang.String requestID, ProObject proxyObj, java.lang.String procName, ParameterSet params) throws Open4GLException
Open4GLException
public Procedure(ProObject proxyObj, java.lang.String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException
Open4GLException
public Procedure(java.lang.String requestID, ProObject proxyObj, java.lang.String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException
Open4GLException
public Procedure(ProObject proxyObj) throws Open4GLException
Open4GLException
public Procedure(ProObject proxyObj, java.lang.String procType) throws Open4GLException
Open4GLException
public Procedure(ProObject proxyObj, java.lang.String procType, boolean isClass) throws Open4GLException
Open4GLException
public RqContext runProcedure(java.lang.String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException
ProObject
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns
runProcedure
in class ProObject
Open4GLException
RunTime4GLException
SystemErrorException
public RqContext runProcedure(java.lang.String requestID, java.lang.String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException
ProObject
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns
runProcedure
in class ProObject
Open4GLException
RunTime4GLException
SystemErrorException
public RqContext runProcedure(java.lang.String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException
ProObject
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns. All schemas for the temp table parameters are passed in.
runProcedure
in class ProObject
Open4GLException
RunTime4GLException
SystemErrorException
public RqContext runProcedure(java.lang.String requestID, java.lang.String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException
ProObject
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns. All schemas for the temp table parameters are passed in.
runProcedure
in class ProObject
Open4GLException
RunTime4GLException
SystemErrorException
public java.lang.String getSessionID()
getSessionID
in class ProObject
public java.lang.Object getProcId()
protected void _setProcedureType(ProcedureType procType)
public ProcedureType _getProcedureType()
public void _release() throws Open4GLException, SystemErrorException
_release
in class ProObject
Open4GLException
SystemErrorException
protected PersistentProc runPersistentProcedure(java.lang.String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException
protected IRemoteProc runStatelessProcedure(java.lang.String procName, int stateModel) throws Open4GLException, RunTime4GLException, SystemErrorException
protected IRemoteProc runPersistentProcedure(java.lang.String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException
protected IRemoteProc runPersistentProcedure(java.lang.String procName, int stateModel) throws Open4GLException, RunTime4GLException, SystemErrorException