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 IRemoteProcrunPersistentProcedure(String procName, int stateModel) protected PersistentProcrunPersistentProcedure(String procName, ParameterSet params) protected IRemoteProcrunPersistentProcedure(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 IRemoteProcrunStatelessProcedure(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:ProObjectRun 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:
runProcedurein classProObject- Returns:
- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException Description copied from class:ProObjectRun 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:
runProcedurein classProObject- Returns:
- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
runProcedure
public RqContext runProcedure(String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException Description copied from class:ProObjectRun 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:
runProcedurein classProObject- Returns:
- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException Description copied from class:ProObjectRun 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:
runProcedurein classProObject- Returns:
- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
getSessionID
return session ID- Overrides:
getSessionIDin classProObject
-
getProcId
- Returns:
- remote procedure ID
-
_setProcedureType
-
_getProcedureType
-
_release
Delete persistent procedure on the server and make this object unavailable- Overrides:
_releasein classProObject- Throws:
Open4GLExceptionSystemErrorException
-
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
-