Package com.progress.open4gl.dynamicapi
Class PersistentProc
java.lang.Object
com.progress.open4gl.dynamicapi.PersistentProc
- All Implemented Interfaces:
IRemoteProc
The PersistentProc class is the client side (dynamic API) proxy for a 4GL
persistent procedure. Note that PersistentProc does not have much "meat".
The only context a PersistentProc object has is the id for the
underlying persistent procedure and a reference to the session. The actual
execution of a 4GL procedure is done by the session object.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanvoiddeletedByServer(boolean state) voidbooleanisValid()runProcedure(String procedureName, ParameterSet params) runProcedure(String procedureName, ParameterSet params, ResultSetSchema schema) runProcedure(String requestID, String procedureName, ParameterSet params) runProcedure(String requestID, String procedureName, ParameterSet params, ResultSetSchema schema) protected voidrunTheProcedure(String requestID, String procedureName, ParameterSet params, ResultSetSchema schema) toString()longupdateProcId(long newProcId)
-
Method Details
-
toString
- Specified by:
toStringin interfaceIRemoteProc- Overrides:
toStringin classObject
-
runProcedure
public RqContext runProcedure(String procedureName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedurein interfaceIRemoteProc- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procedureName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedurein interfaceIRemoteProc- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
runProcedure
public RqContext runProcedure(String procedureName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedurein interfaceIRemoteProc- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procedureName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedurein interfaceIRemoteProc- Throws:
Open4GLExceptionRunTime4GLExceptionSystemErrorException
-
runTheProcedure
protected void runTheProcedure(String requestID, String procedureName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException -
getSession
- Throws:
Open4GLException
-
getFileName
-
getProcId
- Specified by:
getProcIdin interfaceIRemoteProc
-
updateProcId
public long updateProcId(long newProcId) -
deletedByServer
public void deletedByServer(boolean state) -
deletedByServer
public boolean deletedByServer()- Specified by:
deletedByServerin interfaceIRemoteProc
-
delete
- Specified by:
deletein interfaceIRemoteProc- Throws:
Open4GLExceptionSystemErrorException
-
isValid
public boolean isValid() -
genProcSignature
public void genProcSignature()
-