com.moesol.bindings.microsoft.dao
Class Connection.Jni

java.lang.Object
  extended by com.moesol.bindings.platform_sdk.component_services.IUnknown.Jni
      extended by com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni
          extended by com.moesol.bindings.microsoft.dao.Connection.Jni
All Implemented Interfaces:
Connection, IDispatch, IUnknown
Enclosing interface:
Connection

public static class Connection.Jni
extends IDispatch.Jni
implements Connection

Implementation, Java to COM.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni
IDispatch.Jni.MoeSolInternal
 
Nested classes/interfaces inherited from interface com.moesol.bindings.microsoft.dao.Connection
Connection.Disp, Connection.Jni
 
Field Summary
 
Fields inherited from interface com.moesol.bindings.microsoft.dao.Connection
IID, TYPELIB
 
Fields inherited from interface com.moesol.bindings.platform_sdk.component_services.IDispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
protected Connection.Jni()
           
 
Method Summary
 void Cancel()
          IDL: [ helpstring("") ]
 void Close()
          IDL: [ helpstring("") ]
 QueryDef CreateQueryDef()
          [optional=2]
 QueryDef CreateQueryDef(Object p0)
          [optional=1]
 QueryDef CreateQueryDef(Object p0, Object p1)
          IDL: [ helpstring("") ]
 void Execute(String p0)
          [optional=1]
 void Execute(String p0, Object p1)
          IDL: [ helpstring("") ]
 String getConnect()
          IDL: [ helpstring("") ]
 Database getDatabase()
          IDL: [ helpstring("") ]
 int gethDbc()
          IDL: [ helpstring("") ]
 String getName()
          IDL: [ helpstring("") ]
 QueryDefs getQueryDefs()
          IDL: [ helpstring("") ]
 short getQueryTimeout()
          IDL: [ helpstring("") ]
 int getRecordsAffected()
          IDL: [ helpstring("") ]
 Recordsets getRecordsets()
          IDL: [ helpstring("") ]
 boolean getStillExecuting()
          IDL: [ helpstring("") ]
 boolean getTransactions()
          IDL: [ helpstring("") ]
 boolean getUpdatable()
          IDL: [ helpstring("") ]
protected  void internalOnSetInterface()
          Template method to setup apartment thread checking.
 Recordset OpenRecordset(String p0)
          [optional=3]
 Recordset OpenRecordset(String p0, Object p1)
          [optional=2]
 Recordset OpenRecordset(String p0, Object p1, Object p2)
          [optional=1]
 Recordset OpenRecordset(String p0, Object p1, Object p2, Object p3)
          IDL: [ helpstring("") ]
 void setQueryTimeout(short p0)
          IDL: [ helpstring("") ]
 
Methods inherited from class com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni
Invoke
 
Methods inherited from class com.moesol.bindings.platform_sdk.component_services.IUnknown.Jni
equals, finalize, hashCode, QueryInterface, QueryInterface, Release, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.moesol.bindings.platform_sdk.component_services.IUnknown
QueryInterface, QueryInterface, Release
 

Constructor Detail

Connection.Jni

protected Connection.Jni()
Method Detail

internalOnSetInterface

protected void internalOnSetInterface()
Description copied from class: IUnknown.Jni
Template method to setup apartment thread checking. Call: MoeSolInternal.recordApartment(this) to setup apartment thread checking.

Overrides:
internalOnSetInterface in class IUnknown.Jni

getName

public String getName()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getName in interface Connection
Returns:
IDL: [out] [retval] BSTR*

getConnect

public String getConnect()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getConnect in interface Connection
Returns:
IDL: [out] [retval] BSTR*

getDatabase

public Database getDatabase()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getDatabase in interface Connection
Returns:
IDL: [out] [retval] Database**

gethDbc

public int gethDbc()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
gethDbc in interface Connection
Returns:
IDL: [out] [retval] LONG*

getQueryTimeout

public short getQueryTimeout()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getQueryTimeout in interface Connection
Returns:
IDL: [out] [retval] SHORT*

setQueryTimeout

public void setQueryTimeout(short p0)
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
setQueryTimeout in interface Connection
Parameters:
p0 - IDL: [in] SHORT

getTransactions

public boolean getTransactions()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getTransactions in interface Connection
Returns:
IDL: [out] [retval] VARIANT_BOOL*

getRecordsAffected

public int getRecordsAffected()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getRecordsAffected in interface Connection
Returns:
IDL: [out] [retval] LONG*

getStillExecuting

public boolean getStillExecuting()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getStillExecuting in interface Connection
Returns:
IDL: [out] [retval] VARIANT_BOOL*

getUpdatable

public boolean getUpdatable()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getUpdatable in interface Connection
Returns:
IDL: [out] [retval] VARIANT_BOOL*

getQueryDefs

public QueryDefs getQueryDefs()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getQueryDefs in interface Connection
Returns:
IDL: [out] [retval] QueryDefs**

getRecordsets

public Recordsets getRecordsets()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
getRecordsets in interface Connection
Returns:
IDL: [out] [retval] Recordsets**

Cancel

public void Cancel()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
Cancel in interface Connection

Close

public void Close()
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
Close in interface Connection

CreateQueryDef

public QueryDef CreateQueryDef(Object p0,
                               Object p1)
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
CreateQueryDef in interface Connection
Parameters:
p0 - IDL: [in] [optional] VARIANT
p1 - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] QueryDef**

CreateQueryDef

public QueryDef CreateQueryDef(Object p0)
[optional=1]

Specified by:
CreateQueryDef in interface Connection

CreateQueryDef

public QueryDef CreateQueryDef()
[optional=2]

Specified by:
CreateQueryDef in interface Connection

Execute

public void Execute(String p0,
                    Object p1)
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
Execute in interface Connection
Parameters:
p0 - IDL: [in] BSTR
p1 - IDL: [in] [optional] VARIANT

Execute

public void Execute(String p0)
[optional=1]

Specified by:
Execute in interface Connection

OpenRecordset

public Recordset OpenRecordset(String p0,
                               Object p1,
                               Object p2,
                               Object p3)
Description copied from interface: Connection
IDL: [ helpstring("") ]

Specified by:
OpenRecordset in interface Connection
Parameters:
p0 - IDL: [in] BSTR
p1 - IDL: [in] [optional] VARIANT
p2 - IDL: [in] [optional] VARIANT
p3 - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] Recordset**

OpenRecordset

public Recordset OpenRecordset(String p0,
                               Object p1,
                               Object p2)
[optional=1]

Specified by:
OpenRecordset in interface Connection

OpenRecordset

public Recordset OpenRecordset(String p0,
                               Object p1)
[optional=2]

Specified by:
OpenRecordset in interface Connection

OpenRecordset

public Recordset OpenRecordset(String p0)
[optional=3]

Specified by:
OpenRecordset in interface Connection


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