com.progress.open4gl
Class SDOAppObject

java.lang.Object
  |
  +--com.progress.open4gl.SDOAppObject
All Implemented Interfaces:
SDOFactory

public final class SDOAppObject
extends java.lang.Object
implements SDOFactory

The SDOAppObject class provides Java applications a way to create SDOResultSet objects without requiring the use of ProxyGen. The connection parameters for the constructor are the same as ProxyGen generated AppObjects parameters. After creating an SDOAppObject object, _createSDOResultSet() is used to create instances of SDOResultSet objects. The _release() method should be called when the the application is done with the SDOAppObject Object.

See Also:
SDOResultSet

Field Summary
protected  com.progress.open4gl.SDOAppObjectImpl m_SDOAppObjectImpl
           
protected static long m_wrongProxyVer
           
 
Constructor Summary
SDOAppObject()
           
SDOAppObject(com.progress.open4gl.javaproxy.Connection connection)
           
SDOAppObject(java.lang.String userId, java.lang.String password, java.lang.String appServerInfo)
           
SDOAppObject(java.lang.String urlString, java.lang.String userId, java.lang.String password, java.lang.String appServerInfo)
           
 
Method Summary
 void _cancelAllRequests()
           
 SDOInterface _createSDOProcObject(java.lang.String procName)
           
 SDOResultSet _createSDOResultSet(java.lang.String procName)
          Creates an SDOResultSet object.
 SDOResultSet _createSDOResultSet(java.lang.String procName, java.lang.String whereClause, java.lang.String sortBy)
          Creates an SDOResultSet object.
 SDOResultSet _createSDOResultSet(java.lang.String procName, java.lang.String whereClause, java.lang.String sortBy, SDOParameters params)
          Creates an SDOResultSet object.
 java.lang.Object _getConnectionId()
           
 java.lang.String _getProcReturnString()
           
 java.lang.Object _getRequestId()
           
 java.lang.Object _getSSLSubjectName()
           
 boolean _isStreaming()
           
 void _release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_SDOAppObjectImpl

protected com.progress.open4gl.SDOAppObjectImpl m_SDOAppObjectImpl

m_wrongProxyVer

protected static final long m_wrongProxyVer
See Also:
Constant Field Values
Constructor Detail

SDOAppObject

public SDOAppObject()
             throws Open4GLException,
                    ConnectException,
                    SystemErrorException,
                    java.io.IOException

SDOAppObject

public SDOAppObject(com.progress.open4gl.javaproxy.Connection connection)
             throws Open4GLException,
                    ConnectException,
                    SystemErrorException,
                    java.io.IOException

SDOAppObject

public SDOAppObject(java.lang.String userId,
                    java.lang.String password,
                    java.lang.String appServerInfo)
             throws Open4GLException,
                    ConnectException,
                    SystemErrorException,
                    java.io.IOException

SDOAppObject

public SDOAppObject(java.lang.String urlString,
                    java.lang.String userId,
                    java.lang.String password,
                    java.lang.String appServerInfo)
             throws Open4GLException,
                    ConnectException,
                    SystemErrorException,
                    java.io.IOException
Method Detail

_cancelAllRequests

public void _cancelAllRequests()
                        throws Open4GLException
Open4GLException

_createSDOProcObject

public SDOInterface _createSDOProcObject(java.lang.String procName)
                                  throws Open4GLException
Specified by:
_createSDOProcObject in interface SDOFactory
Open4GLException

_createSDOResultSet

public SDOResultSet _createSDOResultSet(java.lang.String procName)
                                 throws Open4GLException,
                                        ProSQLException
Creates an SDOResultSet object.

Parameters:
procName - the name of the SDO's .w file
Returns:
an SDOResultSet object
Throws:
ProSQLException - if an SDO data access error occurs
Open4GLException - if an Open4GL error occurs

_createSDOResultSet

public SDOResultSet _createSDOResultSet(java.lang.String procName,
                                        java.lang.String whereClause,
                                        java.lang.String sortBy)
                                 throws Open4GLException,
                                        ProSQLException
Creates an SDOResultSet object. The whereClause and sortBy parameters can be null.

Parameters:
procName - the name of the SDO's .w file
whereClause - a where clause for the SDO's query
sortBy - a field sort list for the SDO's query
Returns:
an SDOResultSet object
Throws:
ProSQLException - if an SDO data access error occurs
Open4GLException - if an Open4GL error occurs

_createSDOResultSet

public SDOResultSet _createSDOResultSet(java.lang.String procName,
                                        java.lang.String whereClause,
                                        java.lang.String sortBy,
                                        SDOParameters params)
                                 throws Open4GLException,
                                        ProSQLException
Creates an SDOResultSet object. The whereClause and sortBy parameters can be null.

Parameters:
procName - the name of the SDO's .w file
whereClause - a where clause for the SDO's query
sortBy - a field sort list for the SDO's query
params - SDOResultSet initial parameters
Returns:
an SDOResultSet object
Throws:
ProSQLException - if an SDO data access error occurs
Open4GLException - if an Open4GL error occurs

_getConnectionId

public java.lang.Object _getConnectionId()
                                  throws Open4GLException
Open4GLException

_getProcReturnString

public java.lang.String _getProcReturnString()
                                      throws Open4GLException
Open4GLException

_getRequestId

public java.lang.Object _getRequestId()
                               throws Open4GLException
Open4GLException

_getSSLSubjectName

public java.lang.Object _getSSLSubjectName()
                                    throws Open4GLException
Open4GLException

_isStreaming

public boolean _isStreaming()
                     throws Open4GLException
Open4GLException

_release

public void _release()
              throws Open4GLException,
                     SystemErrorException
Open4GLException
SystemErrorException