|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectcom.progress.open4gl.javaproxy.OpenAppObject
public class OpenAppObject
For accessing external ABL procedures in an application service using the OpenAPI.
| Field Summary | |
|---|---|
protected com.progress.open4gl.javaproxy.OpenAppObjectImpl |
m_dynAOImpl
|
protected static long |
m_wrongProxyVer
|
| Constructor Summary | |
|---|---|
OpenAppObject(Connection connection,
java.lang.String appService)
Establishes a connection to an AppServer using the Java OpenAPI |
|
OpenAppObject(java.lang.String appService)
Establishes a connection to an AppServer using the Java OpenAPI. |
|
OpenAppObject(java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo,
java.lang.String appService)
Establishes a connection to an AppServer using the Java OpenAPI. |
|
OpenAppObject(java.lang.String urlString,
java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo,
java.lang.String appService)
Establishes a connection to an AppServer using the Java OpenAPI |
|
| Method Summary | |
|---|---|
void |
_cancelAllRequests()
Stops or cancels any outstanding requests to the AppServer by this object or one that shares its connection. |
SDOInterface |
_createSDOProcObject(java.lang.String procName)
Creates a ProcObject that knows how to talk to SDO's. |
SDOResultSet |
_createSDOResultSet(java.lang.String sdoName)
Creates an SDO ResultSet object. |
SDOResultSet |
_createSDOResultSet(java.lang.String sdoName,
java.lang.String whereClause,
java.lang.String sortBy)
Creates an SDO ResultSet object. |
SDOResultSet |
_createSDOResultSet(java.lang.String sdoName,
java.lang.String whereClause,
java.lang.String sortBy,
SDOParameters params)
Creates an SDO ResultSet object. |
java.lang.Object |
_getConnectionId()
Returns a string containing a unique identifier for this connection. |
java.lang.String |
_getProcReturnString()
Returns the current value of the AppServer RETURN-VALUE function. |
java.lang.Object |
_getRequestId()
Returns a unique string identifying the request most recently run. |
java.lang.Object |
_getSSLSubjectName()
Provides the SSL server's subject name that is obtained from its validated digital certificate. |
boolean |
_isStreaming()
Returns true if currently streaming an output result set. |
void |
_release()
Makes this object unavailable for further use. |
OpenProcObject |
createPO(java.lang.String procName)
Creates and runs a persistent procedure on the connected AppServer. |
OpenProcObject |
createPO(java.lang.String procName,
int statelessMode)
Creates and runs a persistent procedure on the connected AppServer. |
OpenProcObject |
createPO(java.lang.String procName,
ParamArray paramArray)
Creates and runs a persistent procedure on the connected AppServer. |
void |
runProc(java.lang.String procName,
ParamArray paramArray)
Runs a non-persistent procedure on the connected AppServer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.progress.open4gl.javaproxy.OpenAppObjectImpl m_dynAOImpl
protected static final long m_wrongProxyVer
| Constructor Detail |
|---|
public OpenAppObject(Connection connection,
java.lang.String appService)
throws Open4GLException,
ConnectException,
SystemErrorException,
java.io.IOException
connection - defines connection parameters to access the AppServerappService - name of the application service provided by the AppServer
Open4GLException
ConnectException
SystemErrorException
java.io.IOException
public OpenAppObject(java.lang.String appService)
throws Open4GLException,
ConnectException,
SystemErrorException,
java.io.IOException
appService - name of the application service provided by the AppServer
Open4GLException
ConnectException
SystemErrorException
java.io.IOException
public OpenAppObject(java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo,
java.lang.String appService)
throws Open4GLException,
ConnectException,
SystemErrorException,
java.io.IOException
userId - user ID required to access the AppServerpassword - password required to access the AppServerappServerInfo - info required by the application service at connection timeappService - name of the application service provided by the AppServer
Open4GLException
ConnectException
SystemErrorException
java.io.IOException
public OpenAppObject(java.lang.String urlString,
java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo,
java.lang.String appService)
throws Open4GLException,
ConnectException,
SystemErrorException,
java.io.IOException
urlString - URL to connect to an Appserver URLuserId - user ID required to access the AppServerpassword - password required to access the AppServerappServerInfo - info required by the application service at connection timeappService - name of the application service provided by the AppServer
Open4GLException
ConnectException
SystemErrorException
java.io.IOException| Method Detail |
|---|
public void _cancelAllRequests()
throws Open4GLException
Open4GLException
public SDOInterface _createSDOProcObject(java.lang.String procName)
throws Open4GLException
_createSDOProcObject in interface SDOFactoryprocName - Specifies the procedure name
Open4GLException
public SDOResultSet _createSDOResultSet(java.lang.String sdoName)
throws Open4GLException,
ProSQLException
sdoName - Specifies the filename of the SmartDataObject
Open4GLException
ProSQLException
public SDOResultSet _createSDOResultSet(java.lang.String sdoName,
java.lang.String whereClause,
java.lang.String sortBy)
throws Open4GLException,
ProSQLException
sdoName - Specifies the filename of the SmartDataObjectwhereClause - Specifies where expression for querysortBy - Specifies sort expression for query
Open4GLException
ProSQLException
public SDOResultSet _createSDOResultSet(java.lang.String sdoName,
java.lang.String whereClause,
java.lang.String sortBy,
SDOParameters params)
throws Open4GLException,
ProSQLException
sdoName - Specifies the filename of the SmartDataObjectwhereClause - Specifies where expression for querysortBy - Specifies sort expression for queryparams - Used for passing additional initial parameters such as scrolling mode.
Open4GLException
ProSQLException
public java.lang.Object _getConnectionId()
throws Open4GLException
Open4GLException
public java.lang.String _getProcReturnString()
throws Open4GLException
Open4GLException
public java.lang.Object _getRequestId()
throws Open4GLException
Open4GLException
public java.lang.Object _getSSLSubjectName()
throws Open4GLException
Open4GLException
public boolean _isStreaming()
throws Open4GLException
Open4GLException
public void _release()
throws Open4GLException,
SystemErrorException
Open4GLException
SystemErrorException
public OpenProcObject createPO(java.lang.String procName)
throws Open4GLException,
RunTime4GLException,
SystemErrorException
procName - Name of the procedure to run, including any path relative to the PROPATH
Open4GLException
RunTime4GLException
SystemErrorException
public OpenProcObject createPO(java.lang.String procName,
int statelessMode)
throws Open4GLException,
RunTime4GLException,
SystemErrorException
procName - Name of the procedure to run, including any path relative to the PROPATHstatelessMode - Specifies stateless mode
Open4GLException
RunTime4GLException
SystemErrorException
public OpenProcObject createPO(java.lang.String procName,
ParamArray paramArray)
throws Open4GLException,
RunTime4GLException,
SystemErrorException
procName - Name of the procedure to run, including any path relative to the PROPATHparamArray - Holds the parameters for the procedure
Open4GLException
RunTime4GLException
SystemErrorException
public void runProc(java.lang.String procName,
ParamArray paramArray)
throws Open4GLException,
RunTime4GLException,
SystemErrorException
procName - Name of the procedure to run, including any path relative to the PROPATHparamArray - Holds the parameters for the procedure
Open4GLException
RunTime4GLException
SystemErrorException
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||