Package com.progress.open4gl.javaproxy
Class OpenProcObject
java.lang.Object
com.progress.open4gl.javaproxy.OpenProcObject
For accessing an ABL persistent procedure using the OpenAPI.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.progress.open4gl.javaproxy.OpenProcObjectImpl
-
Constructor Summary
ConstructorsConstructorDescriptionOpenProcObject
(ProObject appObj, String procName, int statelessMode) OpenProcObject
(ProObject appObj, String procName, ParamArray paramArray) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Stops or cancels any outstanding requests to the AppServer by this object or one that shares its connection.Returns a string containing a unique identifier for this connection.Provides the Remote Procedure Id.Returns the current value of the AppServer RETURN-VALUE function.Returns a unique string identifying the request most recently run.Provides the SSL server's subject name that is obtained from its validated digital certificate.boolean
Returns true if currently streaming an output result set.void
_release()
Makes this object unavailable for further use.void
runProc
(String procName, ParamArray paramArray) Runs the internal procedure or user-defined function on the OpenProcObject.void
setProcedureType
(ProcedureType procType)
-
Field Details
-
m_DynPOImpl
protected com.progress.open4gl.javaproxy.OpenProcObjectImpl m_DynPOImpl
-
-
Constructor Details
-
OpenProcObject
public OpenProcObject(ProObject appObj, String procName, ParamArray paramArray) throws Open4GLException, RunTime4GLException, SystemErrorException -
OpenProcObject
public OpenProcObject(ProObject appObj, String procName, int statelessMode) throws Open4GLException, RunTime4GLException, SystemErrorException
-
-
Method Details
-
_release
Makes this object unavailable for further use.- Throws:
Open4GLException
SystemErrorException
-
_getConnectionId
Returns a string containing a unique identifier for this connection.- Throws:
Open4GLException
-
_getRequestId
Returns a unique string identifying the request most recently run.- Throws:
Open4GLException
-
_getSSLSubjectName
Provides the SSL server's subject name that is obtained from its validated digital certificate.- Throws:
Open4GLException
-
_getProcId
Provides the Remote Procedure Id.- Throws:
Open4GLException
-
_isStreaming
Returns true if currently streaming an output result set.- Throws:
Open4GLException
-
_cancelAllRequests
Stops or cancels any outstanding requests to the AppServer by this object or one that shares its connection.- Throws:
Open4GLException
-
_getProcReturnString
Returns the current value of the AppServer RETURN-VALUE function.- Throws:
Open4GLException
-
runProc
public void runProc(String procName, ParamArray paramArray) throws Open4GLException, RunTime4GLException, SystemErrorException Runs the internal procedure or user-defined function on the OpenProcObject.- Parameters:
procName
- Name of internal procedure or user-defined function on the OpenProcObject.paramArray
- Holds the parameters for internal procedure or user-defined function- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
setProcedureType
-
getProcedureType
-