com.progress.open4gl.javaproxy
Class ProObject

java.lang.Object
  |
  +--com.progress.open4gl.javaproxy.ProObject
All Implemented Interfaces:
com.progress.message.jcMsg, SDOFactory
Direct Known Subclasses:
AppObject, Procedure, SubAppObject

public abstract class ProObject
extends java.lang.Object
implements com.progress.message.jcMsg, SDOFactory


Field Summary
protected static long m_alreadyBusy
           
protected static long m_badOutputVal
           
protected static long m_notAvailable
           
protected  com.progress.open4gl.dynamicapi.IPoolProps m_properties
           
protected static long m_wrongProxyVer
           
protected static java.lang.String TYPE_AO
           
protected static java.lang.String TYPE_PO
           
protected static java.lang.String TYPE_SO
           
 
Fields inherited from interface com.progress.message.jcMsg
jcMSG001, jcMSG002, jcMSG003, jcMSG004, jcMSG005, jcMSG006, jcMSG007, jcMSG008, jcMSG009, jcMSG010, jcMSG011, jcMSG012, jcMSG013, jcMSG014, jcMSG015, jcMSG016, jcMSG017, jcMSG018, jcMSG019, jcMSG020, jcMSG021, jcMSG022, jcMSG023, jcMSG024, jcMSG025, jcMSG026, jcMSG027, jcMSG028, jcMSG029, jcMSG030, jcMSG031, jcMSG032, jcMSG033, jcMSG034, jcMSG035, jcMSG036, jcMSG037, jcMSG038, jcMSG039, jcMSG040, jcMSG041, jcMSG042, jcMSG043, jcMSG044, jcMSG045, jcMSG046, jcMSG047, jcMSG048, jcMSG049, jcMSG050, jcMSG051, jcMSG052, jcMSG053, jcMSG054, jcMSG055, jcMSG056, jcMSG057, jcMSG058, jcMSG059, jcMSG060, jcMSG061, jcMSG062, jcMSG063, jcMSG064, jcMSG065, jcMSG066, jcMSG067, jcMSG068, jcMSG069, jcMSG070, jcMSG071, jcMSG072, jcMSG073, jcMSG074, jcMSG075, jcMSG076, jcMSG077, jcMSG078, jcMSG079, jcMSG080, jcMSG081, jcMSG082, jcMSG083, jcMSG084, jcMSG085, jcMSG086, jcMSG087, jcMSG088, jcMSG089, jcMSG090, jcMSG091, jcMSG092, jcMSG093, jcMSG094, jcMSG095, jcMSG096, jcMSG097, jcMSG098, jcMSG099, jcMSG100, jcMSG101, jcMSG102, jcMSG103, jcMSG104, jcMSG105, jcMSG106, jcMSG107, jcMSG108, jcMSG109, jcMSG110, jcMSG111, jcMSG112, jcMSG113, jcMSG114, jcMSG115, jcMSG116, jcMSG117, jcMSG118, jcMSG119, jcMSG120, jcMSG121, jcMSG122, jcMSG123, jcMSG124, jcMSG125, jcMSG126, jcMSG127, jcMSG128, jcMSG129, jcMSG130, jcMSG131, jcMSG132, jcMSG133, jcMSG134, jcMSG135, jcMSG136, jcMSG137, jcMSG138, jcMSG139, jcMSG140, jcMSG141, jcMSG142, jcMSG143, jcMSG144, jcMSG145, jcMSG146, jcMSG147, jcMSG148, jcMSG149, jcMSG150, jcMSG151, jcMSG152, jcMSG153, jcMSG154, jcMSG155, jcMSG156, jcMSG157, jcMSG158, jcMSG159, jcMSG160, jcMSG161, jcMSG162, jcMSG163, jcMSG164, jcMSG165, jcMSG166, jcMSG167, jcMSG168, jcMSG169, jcMSG170, jcMSG171, jcMSG172, jcMSG173, jcMSG174, jcMSG175, jcMSG176, jcMSG177, jcMSG178, jcMSG179, jcMSG180, jcMSG181, jcMSG182
 
Constructor Summary
protected ProObject()
           
  ProObject(ProObject proxyObj, java.lang.String objectType)
           
  ProObject(java.lang.String appName, com.progress.open4gl.dynamicapi.IPoolProps properties, com.progress.common.ehnlog.IAppLogger log, java.lang.String requestID)
           
 
Method Summary
 void _cancelAllRequests()
           
 SDOInterface _createSDOProcObject(java.lang.String procName)
           
 SDOResultSet _createSDOResultSet(java.lang.String procName, java.lang.String whereClause, java.lang.String sortBy, SDOParameters params)
          Creates an SDOResultSet object.
 java.lang.String _getConnectionId()
           
 java.lang.String _getProcReturnString()
           
 java.lang.String _getRequestId()
           
 java.lang.String _getReturnValue()
           
 java.lang.String _getReturnValue(java.lang.String sessionID)
           
 java.lang.String _getSSLSubjectName()
           
 boolean _isStreaming()
           
 void _release()
           
 int addReference()
           
 int deleteReference()
           
protected  void finalize()
           
 long get_tsCreated()
           
 long get_tsLastAccessed()
           
protected  java.lang.String getAppName()
           
protected  com.progress.common.ehnlog.IAppLogger getLog()
           
protected  com.progress.open4gl.dynamicapi.IPoolProps getProperties()
           
 int getRefCount()
           
 com.progress.open4gl.dynamicapi.Session getSession()
           
 com.progress.open4gl.dynamicapi.Session getSession(java.lang.String sessionID)
           
protected  java.lang.String getSessionID()
           
protected  int getSessionMode()
           
protected  com.progress.open4gl.dynamicapi.SessionPool getSessionPool()
           
 java.lang.String getWSAObjectID()
           
protected  boolean isSessionAvailable()
           
protected static java.lang.String newRequestID(com.progress.open4gl.dynamicapi.IPoolProps properties)
           
 com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String procName, com.progress.open4gl.dynamicapi.ParameterSet params)
           
 com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String procName, com.progress.open4gl.dynamicapi.ParameterSet params, com.progress.open4gl.dynamicapi.ResultSetSchema schema)
           
 com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String requestID, java.lang.String procName, com.progress.open4gl.dynamicapi.ParameterSet params)
           
 com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String requestID, java.lang.String procName, com.progress.open4gl.dynamicapi.ParameterSet params, com.progress.open4gl.dynamicapi.ResultSetSchema schema)
           
 long set_tsLastAccessed()
           
protected  java.lang.String setSessionID(java.lang.String id)
           
 void shutdown()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_alreadyBusy

protected static final long m_alreadyBusy
See Also:
Constant Field Values

m_badOutputVal

protected static final long m_badOutputVal
See Also:
Constant Field Values

m_notAvailable

protected static final long m_notAvailable
See Also:
Constant Field Values

m_properties

protected com.progress.open4gl.dynamicapi.IPoolProps m_properties

m_wrongProxyVer

protected static final long m_wrongProxyVer
See Also:
Constant Field Values

TYPE_AO

protected static final java.lang.String TYPE_AO
See Also:
Constant Field Values

TYPE_PO

protected static final java.lang.String TYPE_PO
See Also:
Constant Field Values

TYPE_SO

protected static final java.lang.String TYPE_SO
See Also:
Constant Field Values
Constructor Detail

ProObject

protected ProObject()

ProObject

public ProObject(ProObject proxyObj,
                 java.lang.String objectType)
          throws Open4GLException

ProObject

public ProObject(java.lang.String appName,
                 com.progress.open4gl.dynamicapi.IPoolProps properties,
                 com.progress.common.ehnlog.IAppLogger log,
                 java.lang.String requestID)
          throws ConnectException,
                 Open4GLException,
                 SystemErrorException
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,
                                        java.lang.String whereClause,
                                        java.lang.String sortBy,
                                        SDOParameters params)
                                 throws Open4GLException,
                                        ProSQLException
Creates an SDOResultSet object. The whereClause, sortBy and params 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.String _getConnectionId()
                                  throws Open4GLException
Open4GLException

_getProcReturnString

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

_getRequestId

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

_getReturnValue

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

_getReturnValue

public java.lang.String _getReturnValue(java.lang.String sessionID)
                                 throws Open4GLException
Open4GLException

_getSSLSubjectName

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

_isStreaming

public boolean _isStreaming()
                     throws Open4GLException
Open4GLException

_release

public void _release()
              throws Open4GLException,
                     SystemErrorException
Open4GLException
SystemErrorException

addReference

public int addReference()

deleteReference

public int deleteReference()
                    throws SystemErrorException,
                           Open4GLException
SystemErrorException
Open4GLException

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

get_tsCreated

public long get_tsCreated()

get_tsLastAccessed

public long get_tsLastAccessed()

getAppName

protected java.lang.String getAppName()

getLog

protected com.progress.common.ehnlog.IAppLogger getLog()

getProperties

protected com.progress.open4gl.dynamicapi.IPoolProps getProperties()

getRefCount

public int getRefCount()

getSession

public com.progress.open4gl.dynamicapi.Session getSession()
                                                   throws com.progress.open4gl.dynamicapi.SessionPool.SessionPoolException,
                                                          Open4GLException
com.progress.open4gl.dynamicapi.SessionPool.SessionPoolException
Open4GLException

getSession

public com.progress.open4gl.dynamicapi.Session getSession(java.lang.String sessionID)
                                                   throws com.progress.open4gl.dynamicapi.SessionPool.SessionPoolException,
                                                          Open4GLException
com.progress.open4gl.dynamicapi.SessionPool.SessionPoolException
Open4GLException

getSessionID

protected java.lang.String getSessionID()

getSessionMode

protected int getSessionMode()

getSessionPool

protected com.progress.open4gl.dynamicapi.SessionPool getSessionPool()

getWSAObjectID

public java.lang.String getWSAObjectID()

isSessionAvailable

protected boolean isSessionAvailable()

newRequestID

protected static java.lang.String newRequestID(com.progress.open4gl.dynamicapi.IPoolProps properties)

runProcedure

public com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String procName,
                                                              com.progress.open4gl.dynamicapi.ParameterSet params)
                                                       throws Open4GLException,
                                                              RunTime4GLException,
                                                              SystemErrorException
Open4GLException
RunTime4GLException
SystemErrorException

runProcedure

public com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String procName,
                                                              com.progress.open4gl.dynamicapi.ParameterSet params,
                                                              com.progress.open4gl.dynamicapi.ResultSetSchema schema)
                                                       throws Open4GLException,
                                                              RunTime4GLException,
                                                              SystemErrorException
Open4GLException
RunTime4GLException
SystemErrorException

runProcedure

public com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String requestID,
                                                              java.lang.String procName,
                                                              com.progress.open4gl.dynamicapi.ParameterSet params)
                                                       throws Open4GLException,
                                                              RunTime4GLException,
                                                              SystemErrorException
Open4GLException
RunTime4GLException
SystemErrorException

runProcedure

public com.progress.open4gl.dynamicapi.RqContext runProcedure(java.lang.String requestID,
                                                              java.lang.String procName,
                                                              com.progress.open4gl.dynamicapi.ParameterSet params,
                                                              com.progress.open4gl.dynamicapi.ResultSetSchema schema)
                                                       throws Open4GLException,
                                                              RunTime4GLException,
                                                              SystemErrorException
Open4GLException
RunTime4GLException
SystemErrorException

set_tsLastAccessed

public long set_tsLastAccessed()

setSessionID

protected java.lang.String setSessionID(java.lang.String id)

shutdown

public void shutdown()
              throws Open4GLException,
                     SystemErrorException
Open4GLException
SystemErrorException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object