Package com.progress.open4gl
Class SDOAppObject
java.lang.Object
com.progress.open4gl.SDOAppObject
- All Implemented Interfaces:
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.progress.open4gl.SDOAppObjectImpl
-
Constructor Summary
ConstructorsConstructorDescriptionSDOAppObject
(Connection connection) SDOAppObject
(String userId, String password, String appServerInfo) SDOAppObject
(String urlString, String userId, String password, String appServerInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
_createSDOProcObject
(String procName) _createSDOResultSet
(String procName) Creates an SDOResultSet object._createSDOResultSet
(String procName, String whereClause, String sortBy) Creates an SDOResultSet object._createSDOResultSet
(String procName, String whereClause, String sortBy, SDOParameters params) Creates an SDOResultSet object.boolean
void
_release()
-
Field Details
-
m_SDOAppObjectImpl
protected com.progress.open4gl.SDOAppObjectImpl m_SDOAppObjectImpl
-
-
Constructor Details
-
SDOAppObject
public SDOAppObject(Connection connection) throws Open4GLException, ConnectException, SystemErrorException, IOException -
SDOAppObject
public SDOAppObject(String urlString, String userId, String password, String appServerInfo) throws Open4GLException, ConnectException, SystemErrorException, IOException -
SDOAppObject
public SDOAppObject(String userId, String password, String appServerInfo) throws Open4GLException, ConnectException, SystemErrorException, IOException -
SDOAppObject
-
-
Method Details
-
_createSDOResultSet
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 occursOpen4GLException
- if an Open4GL error occurs
-
_createSDOResultSet
public SDOResultSet _createSDOResultSet(String procName, String whereClause, 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 filewhereClause
- a where clause for the SDO's querysortBy
- a field sort list for the SDO's query- Returns:
- an SDOResultSet object
- Throws:
ProSQLException
- if an SDO data access error occursOpen4GLException
- if an Open4GL error occurs
-
_createSDOResultSet
public SDOResultSet _createSDOResultSet(String procName, String whereClause, 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 filewhereClause
- a where clause for the SDO's querysortBy
- a field sort list for the SDO's queryparams
- SDOResultSet initial parameters- Returns:
- an SDOResultSet object
- Throws:
ProSQLException
- if an SDO data access error occursOpen4GLException
- if an Open4GL error occurs
-
_createSDOProcObject
- Specified by:
_createSDOProcObject
in interfaceSDOFactory
- Throws:
Open4GLException
-
_release
- Throws:
Open4GLException
SystemErrorException
-
_getConnectionId
- Throws:
Open4GLException
-
_isStreaming
- Throws:
Open4GLException
-
_getRequestId
- Throws:
Open4GLException
-
_getSSLSubjectName
- Throws:
Open4GLException
-
_cancelAllRequests
- Throws:
Open4GLException
-
_getProcReturnString
- Throws:
Open4GLException
-