Package com.progress.open4gl.javaproxy
Class Procedure
java.lang.Object
com.progress.open4gl.javaproxy.ProObject
com.progress.open4gl.javaproxy.Procedure
- All Implemented Interfaces:
SDOFactory
- Direct Known Subclasses:
SDOProcObject
-
Field Summary
FieldsFields inherited from class com.progress.open4gl.javaproxy.ProObject
m_alreadyBusy, m_badOutputVal, m_notAvailable, m_properties, m_wrongProxyVer, TYPE_AO, TYPE_PO, TYPE_SC, TYPE_SO, TYPE_SP
-
Constructor Summary
ConstructorsConstructorDescriptionProcedure
(ProObject proxyObj, String procName, ParameterSet params) Procedure
(ProObject proxyObj, String procName, ParameterSet params, ResultSetSchema schema) Procedure
(String requestID, ProObject proxyObj, String procName, ParameterSet params) Procedure
(String requestID, ProObject proxyObj, String procName, ParameterSet params, ResultSetSchema schema) -
Method Summary
Modifier and TypeMethodDescriptionvoid
_release()
Delete persistent procedure on the server and make this object unavailableprotected void
_setProcedureType
(ProcedureType procType) return session IDprotected IRemoteProc
runPersistentProcedure
(String procName, int stateModel) protected PersistentProc
runPersistentProcedure
(String procName, ParameterSet params) protected IRemoteProc
runPersistentProcedure
(String procName, ParameterSet params, ResultSetSchema schema) runProcedure
(String procName, ParameterSet params) Run an external non-persistent procedurerunProcedure
(String procName, ParameterSet params, ResultSetSchema schema) Run an external non-persistent procedurerunProcedure
(String requestID, String procName, ParameterSet params) Run an external non-persistent procedurerunProcedure
(String requestID, String procName, ParameterSet params, ResultSetSchema schema) Run an external non-persistent procedureprotected IRemoteProc
runStatelessProcedure
(String procName, int stateModel) Methods inherited from class com.progress.open4gl.javaproxy.ProObject
_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
-
Field Details
-
m_persistProc
-
m_procName
-
-
Constructor Details
-
Procedure
- Throws:
Open4GLException
-
Procedure
public Procedure(String requestID, ProObject proxyObj, String procName, ParameterSet params) throws Open4GLException - Throws:
Open4GLException
-
Procedure
public Procedure(ProObject proxyObj, String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException - Throws:
Open4GLException
-
Procedure
public Procedure(String requestID, ProObject proxyObj, String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException - Throws:
Open4GLException
-
Procedure
- Throws:
Open4GLException
-
Procedure
- Throws:
Open4GLException
-
Procedure
- Throws:
Open4GLException
-
-
Method Details
-
runProcedure
public RqContext runProcedure(String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException Description copied from class:ProObject
Run an external non-persistent procedureAll parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns
- Overrides:
runProcedure
in classProObject
- Returns:
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException Description copied from class:ProObject
Run an external non-persistent procedureAll parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns
- Overrides:
runProcedure
in classProObject
- Returns:
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
runProcedure
public RqContext runProcedure(String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException Description copied from class:ProObject
Run an external non-persistent procedureAll 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.
- Overrides:
runProcedure
in classProObject
- Returns:
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException Description copied from class:ProObject
Run an external non-persistent procedureAll 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.
- Overrides:
runProcedure
in classProObject
- Returns:
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
getSessionID
return session ID- Overrides:
getSessionID
in classProObject
-
getProcId
- Returns:
- remote procedure ID
-
_setProcedureType
-
_getProcedureType
-
_release
Delete persistent procedure on the server and make this object unavailable- Overrides:
_release
in classProObject
- Throws:
Open4GLException
SystemErrorException
-
runPersistentProcedure
protected PersistentProc runPersistentProcedure(String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException -
runStatelessProcedure
protected IRemoteProc runStatelessProcedure(String procName, int stateModel) throws Open4GLException, RunTime4GLException, SystemErrorException -
runPersistentProcedure
protected IRemoteProc runPersistentProcedure(String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException -
runPersistentProcedure
protected IRemoteProc runPersistentProcedure(String procName, int stateModel) throws Open4GLException, RunTime4GLException, SystemErrorException
-