com.moesol.bindings.platform_sdk.data_services
Interface Connection15

All Superinterfaces:
_ADO, IDispatch, IUnknown
All Known Subinterfaces:
_Connection
All Known Implementing Classes:
_Connection.Jni, Connection, Connection.Jni, Connection15.Jni

public interface Connection15
extends _ADO

IDL: [ helpstring(""), hidden, dual, oleautomation, dispatchable ] interface


Nested Class Summary
static class Connection15.Disp
          Implementation, COM to Java.
static class Connection15.Jni
          Implementation, Java to COM.
 
Field Summary
static GUID IID
          IDL: [uuid(00000515-0000-0010-8000-00AA006D2EA4)]
static Class TYPELIB
           
 
Fields inherited from interface com.moesol.bindings.platform_sdk.component_services.IDispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Method Summary
 int BeginTrans()
          IDL: [ helpstring("") ]
 void Close()
          IDL: [ helpstring("") ]
 void CommitTrans()
          IDL: [ helpstring("") ]
 _Recordset Execute(String CommandText, Object[] RecordsAffected, int Options)
          IDL: [ helpstring("") ]
 int getAttributes()
          IDL: [ helpstring("") ]
 int getCommandTimeout()
          IDL: [ helpstring("") ]
 String getConnectionString()
          IDL: [ helpstring("") ]
 int getConnectionTimeout()
          IDL: [ helpstring("") ]
 int getCursorLocation()
          IDL: [ helpstring("") ]
 String getDefaultDatabase()
          IDL: [ helpstring("") ]
 Errors getErrors()
          IDL: [ helpstring("") ]
 int getIsolationLevel()
          IDL: [ helpstring("") ]
 int getMode()
          IDL: [ helpstring("") ]
 String getProvider()
          IDL: [ helpstring("") ]
 int getState()
          IDL: [ helpstring("") ]
 String getVersion()
          IDL: [ helpstring("") ]
 void Open(String ConnectionString, String UserID, String Password, int Options)
          IDL: [ helpstring("") ]
 _Recordset OpenSchema(int Schema)
          [optional=2]
 _Recordset OpenSchema(int Schema, Object Restrictions)
          [optional=1]
 _Recordset OpenSchema(int Schema, Object Restrictions, Object SchemaID)
          IDL: [ helpstring("") ]
 void RollbackTrans()
          IDL: [ helpstring("") ]
 void setAttributes(int plAttr)
          IDL: [ helpstring("") ]
 void setCommandTimeout(int plTimeout)
          IDL: [ helpstring("") ]
 void setConnectionString(String pbstr)
          IDL: [ helpstring("") ]
 void setConnectionTimeout(int plTimeout)
          IDL: [ helpstring("") ]
 void setCursorLocation(int plCursorLoc)
          IDL: [ helpstring("") ]
 void setDefaultDatabase(String pbstr)
          IDL: [ helpstring("") ]
 void setIsolationLevel(int Level)
          IDL: [ helpstring("") ]
 void setMode(int plMode)
          IDL: [ helpstring("") ]
 void setProvider(String pbstr)
          IDL: [ helpstring("") ]
 
Methods inherited from interface com.moesol.bindings.platform_sdk.data_services._ADO
getProperties
 
Methods inherited from interface com.moesol.bindings.platform_sdk.component_services.IUnknown
QueryInterface, QueryInterface, Release
 

Field Detail

TYPELIB

static final Class TYPELIB

IID

static final GUID IID
IDL: [uuid(00000515-0000-0010-8000-00AA006D2EA4)]

Method Detail

getConnectionString

String getConnectionString()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] BSTR*

setConnectionString

void setConnectionString(String pbstr)
IDL: [ helpstring("") ]

Parameters:
pbstr - IDL: [in] BSTR

getCommandTimeout

int getCommandTimeout()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

setCommandTimeout

void setCommandTimeout(int plTimeout)
IDL: [ helpstring("") ]

Parameters:
plTimeout - IDL: [in] LONG

getConnectionTimeout

int getConnectionTimeout()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

setConnectionTimeout

void setConnectionTimeout(int plTimeout)
IDL: [ helpstring("") ]

Parameters:
plTimeout - IDL: [in] LONG

getVersion

String getVersion()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] BSTR*

Close

void Close()
IDL: [ helpstring("") ]


Execute

_Recordset Execute(String CommandText,
                   Object[] RecordsAffected,
                   int Options)
IDL: [ helpstring("") ]

Parameters:
CommandText - IDL: [in] BSTR
RecordsAffected - IDL: [out] [optional] VARIANT*
Options - IDL: [in] [optional] [default] LONG
Returns:
IDL: [out] [retval] _Recordset**

BeginTrans

int BeginTrans()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

CommitTrans

void CommitTrans()
IDL: [ helpstring("") ]


RollbackTrans

void RollbackTrans()
IDL: [ helpstring("") ]


Open

void Open(String ConnectionString,
          String UserID,
          String Password,
          int Options)
IDL: [ helpstring("") ]

Parameters:
ConnectionString - IDL: [in] [optional] [default] BSTR
UserID - IDL: [in] [optional] [default] BSTR
Password - IDL: [in] [optional] [default] BSTR
Options - IDL: [in] [optional] [default] LONG

getErrors

Errors getErrors()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] Errors**

getDefaultDatabase

String getDefaultDatabase()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] BSTR*

setDefaultDatabase

void setDefaultDatabase(String pbstr)
IDL: [ helpstring("") ]

Parameters:
pbstr - IDL: [in] BSTR

getIsolationLevel

int getIsolationLevel()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] IsolationLevelEnum*

setIsolationLevel

void setIsolationLevel(int Level)
IDL: [ helpstring("") ]

Parameters:
Level - IDL: [in] IsolationLevelEnum

getAttributes

int getAttributes()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

setAttributes

void setAttributes(int plAttr)
IDL: [ helpstring("") ]

Parameters:
plAttr - IDL: [in] LONG

getCursorLocation

int getCursorLocation()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] CursorLocationEnum*

setCursorLocation

void setCursorLocation(int plCursorLoc)
IDL: [ helpstring("") ]

Parameters:
plCursorLoc - IDL: [in] CursorLocationEnum

getMode

int getMode()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] ConnectModeEnum*

setMode

void setMode(int plMode)
IDL: [ helpstring("") ]

Parameters:
plMode - IDL: [in] ConnectModeEnum

getProvider

String getProvider()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] BSTR*

setProvider

void setProvider(String pbstr)
IDL: [ helpstring("") ]

Parameters:
pbstr - IDL: [in] BSTR

getState

int getState()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

OpenSchema

_Recordset OpenSchema(int Schema,
                      Object Restrictions,
                      Object SchemaID)
IDL: [ helpstring("") ]

Parameters:
Schema - IDL: [in] SchemaEnum
Restrictions - IDL: [in] [optional] VARIANT
SchemaID - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] _Recordset**

OpenSchema

_Recordset OpenSchema(int Schema,
                      Object Restrictions)
[optional=1]


OpenSchema

_Recordset OpenSchema(int Schema)
[optional=2]



Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.