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 TypeMethodDescriptionvoid
delete()
boolean
void
deletedByServer
(boolean state) void
boolean
isValid()
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 void
runTheProcedure
(String requestID, String procedureName, ParameterSet params, ResultSetSchema schema) toString()
long
updateProcId
(long newProcId)
-
Method Details
-
toString
- Specified by:
toString
in interfaceIRemoteProc
- Overrides:
toString
in classObject
-
runProcedure
public RqContext runProcedure(String procedureName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedure
in interfaceIRemoteProc
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procedureName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedure
in interfaceIRemoteProc
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
runProcedure
public RqContext runProcedure(String procedureName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedure
in interfaceIRemoteProc
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
runProcedure
public RqContext runProcedure(String requestID, String procedureName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException - Specified by:
runProcedure
in interfaceIRemoteProc
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
runTheProcedure
protected void runTheProcedure(String requestID, String procedureName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException -
getSession
- Throws:
Open4GLException
-
getFileName
-
getProcId
- Specified by:
getProcId
in interfaceIRemoteProc
-
updateProcId
public long updateProcId(long newProcId) -
deletedByServer
public void deletedByServer(boolean state) -
deletedByServer
public boolean deletedByServer()- Specified by:
deletedByServer
in interfaceIRemoteProc
-
delete
- Specified by:
delete
in interfaceIRemoteProc
- Throws:
Open4GLException
SystemErrorException
-
isValid
public boolean isValid() -
genProcSignature
public void genProcSignature()
-