com.moesol.bindings.microsoft.dao
Interface _DBEngine

All Superinterfaces:
_DAO, IDispatch, IUnknown
All Known Implementing Classes:
_DBEngine.Jni, DBEngine, DBEngine.Jni, PrivDBEngine, PrivDBEngine.Jni

public interface _DBEngine
extends _DAO

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


Nested Class Summary
static class _DBEngine.Disp
          Implementation, COM to Java.
static class _DBEngine.Jni
          Implementation, Java to COM.
 
Field Summary
static GUID IID
          IDL: [uuid(00000021-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
 void BeginTrans()
          IDL: [ helpstring("") ]
 void CommitTrans(int Option)
          IDL: [ helpstring("") ]
 void CompactDatabase(String SrcName, String DstName)
          [optional=3]
 void CompactDatabase(String SrcName, String DstName, Object DstLocale)
          [optional=2]
 void CompactDatabase(String SrcName, String DstName, Object DstLocale, Object Options)
          [optional=1]
 void CompactDatabase(String SrcName, String DstName, Object DstLocale, Object Options, Object SrcLocale)
          IDL: [ helpstring("") ]
 Database CreateDatabase(String Name, String Locale)
          [optional=1]
 Database CreateDatabase(String Name, String Locale, Object Option)
          IDL: [ helpstring("") ]
 Workspace CreateWorkspace(String Name, String UserName, String Password)
          [optional=1]
 Workspace CreateWorkspace(String Name, String UserName, String Password, Object UseType)
          IDL: [ helpstring("") ]
 int getDefaultType()
          IDL: [ helpstring("") ]
 Errors getErrors()
          IDL: [ helpstring("") ]
 String getIniPath()
          IDL: [ helpstring("") ]
 short getLoginTimeout()
          IDL: [ helpstring("") ]
 String getSystemDB()
          IDL: [ helpstring("") ]
 String getVersion()
          IDL: [ helpstring("") ]
 Workspaces getWorkspaces()
          IDL: [ helpstring("") ]
 void Idle()
          [optional=1]
 void Idle(Object Action)
          IDL: [ helpstring("") ]
 int ISAMStats(int StatNum)
          [optional=1]
 int ISAMStats(int StatNum, Object Reset)
          IDL: [ helpstring("") ]
 Connection OpenConnection(String Name)
          [optional=3]
 Connection OpenConnection(String Name, Object Options)
          [optional=2]
 Connection OpenConnection(String Name, Object Options, Object ReadOnly)
          [optional=1]
 Connection OpenConnection(String Name, Object Options, Object ReadOnly, Object Connect)
          IDL: [ helpstring("") ]
 Database OpenDatabase(String Name)
          [optional=3]
 Database OpenDatabase(String Name, Object Options)
          [optional=2]
 Database OpenDatabase(String Name, Object Options, Object ReadOnly)
          [optional=1]
 Database OpenDatabase(String Name, Object Options, Object ReadOnly, Object Connect)
          IDL: [ helpstring("") ]
 void RegisterDatabase(String Dsn, String Driver, boolean Silent, String Attributes)
          IDL: [ helpstring("") ]
 void RepairDatabase(String Name)
          IDL: [ helpstring("") ]
 void Rollback()
          IDL: [ helpstring("") ]
 void setDefaultPassword(String rhs)
          IDL: [ helpstring("") ]
 void setDefaultType(int Option)
          IDL: [ helpstring("") ]
 void setDefaultUser(String rhs)
          IDL: [ helpstring("") ]
 void setIniPath(String pbstr)
          IDL: [ helpstring("") ]
 void setLoginTimeout(short ps)
          IDL: [ helpstring("") ]
 void SetOption(int Option, Object Value)
          IDL: [ helpstring("") ]
 void setSystemDB(String pbstr)
          IDL: [ helpstring("") ]
 
Methods inherited from interface com.moesol.bindings.microsoft.dao._DAO
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(00000021-0000-0010-8000-00AA006D2EA4)]

Method Detail

getVersion

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

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

getIniPath

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

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

setIniPath

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

Parameters:
pbstr - IDL: [in] BSTR

setDefaultUser

void setDefaultUser(String rhs)
IDL: [ helpstring("") ]

Parameters:
rhs - IDL: [in] BSTR

setDefaultPassword

void setDefaultPassword(String rhs)
IDL: [ helpstring("") ]

Parameters:
rhs - IDL: [in] BSTR

getLoginTimeout

short getLoginTimeout()
IDL: [ helpstring("") ]

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

setLoginTimeout

void setLoginTimeout(short ps)
IDL: [ helpstring("") ]

Parameters:
ps - IDL: [in] SHORT

getWorkspaces

Workspaces getWorkspaces()
IDL: [ helpstring("") ]

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

getErrors

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

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

Idle

void Idle(Object Action)
IDL: [ helpstring("") ]

Parameters:
Action - IDL: [in] [optional] VARIANT

Idle

void Idle()
[optional=1]


CompactDatabase

void CompactDatabase(String SrcName,
                     String DstName,
                     Object DstLocale,
                     Object Options,
                     Object SrcLocale)
IDL: [ helpstring("") ]

Parameters:
SrcName - IDL: [in] BSTR
DstName - IDL: [in] BSTR
DstLocale - IDL: [in] [optional] VARIANT
Options - IDL: [in] [optional] VARIANT
SrcLocale - IDL: [in] [optional] VARIANT

CompactDatabase

void CompactDatabase(String SrcName,
                     String DstName,
                     Object DstLocale,
                     Object Options)
[optional=1]


CompactDatabase

void CompactDatabase(String SrcName,
                     String DstName,
                     Object DstLocale)
[optional=2]


CompactDatabase

void CompactDatabase(String SrcName,
                     String DstName)
[optional=3]


RepairDatabase

void RepairDatabase(String Name)
IDL: [ helpstring("") ]

Parameters:
Name - IDL: [in] BSTR

RegisterDatabase

void RegisterDatabase(String Dsn,
                      String Driver,
                      boolean Silent,
                      String Attributes)
IDL: [ helpstring("") ]

Parameters:
Dsn - IDL: [in] BSTR
Driver - IDL: [in] BSTR
Silent - IDL: [in] VARIANT_BOOL
Attributes - IDL: [in] BSTR

OpenDatabase

Database OpenDatabase(String Name,
                      Object Options,
                      Object ReadOnly,
                      Object Connect)
IDL: [ helpstring("") ]

Parameters:
Name - IDL: [in] BSTR
Options - IDL: [in] [optional] VARIANT
ReadOnly - IDL: [in] [optional] VARIANT
Connect - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] Database**

OpenDatabase

Database OpenDatabase(String Name,
                      Object Options,
                      Object ReadOnly)
[optional=1]


OpenDatabase

Database OpenDatabase(String Name,
                      Object Options)
[optional=2]


OpenDatabase

Database OpenDatabase(String Name)
[optional=3]


CreateDatabase

Database CreateDatabase(String Name,
                        String Locale,
                        Object Option)
IDL: [ helpstring("") ]

Parameters:
Name - IDL: [in] BSTR
Locale - IDL: [in] BSTR
Option - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] Database**

CreateDatabase

Database CreateDatabase(String Name,
                        String Locale)
[optional=1]


BeginTrans

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


CommitTrans

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

Parameters:
Option - IDL: [in] [optional] [default] LONG

Rollback

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


ISAMStats

int ISAMStats(int StatNum,
              Object Reset)
IDL: [ helpstring("") ]

Parameters:
StatNum - IDL: [in] LONG
Reset - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] LONG*

ISAMStats

int ISAMStats(int StatNum)
[optional=1]


getSystemDB

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

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

setSystemDB

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

Parameters:
pbstr - IDL: [in] BSTR

CreateWorkspace

Workspace CreateWorkspace(String Name,
                          String UserName,
                          String Password,
                          Object UseType)
IDL: [ helpstring("") ]

Parameters:
Name - IDL: [in] BSTR
UserName - IDL: [in] BSTR
Password - IDL: [in] BSTR
UseType - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] Workspace**

CreateWorkspace

Workspace CreateWorkspace(String Name,
                          String UserName,
                          String Password)
[optional=1]


OpenConnection

Connection OpenConnection(String Name,
                          Object Options,
                          Object ReadOnly,
                          Object Connect)
IDL: [ helpstring("") ]

Parameters:
Name - IDL: [in] BSTR
Options - IDL: [in] [optional] VARIANT
ReadOnly - IDL: [in] [optional] VARIANT
Connect - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] Connection**

OpenConnection

Connection OpenConnection(String Name,
                          Object Options,
                          Object ReadOnly)
[optional=1]


OpenConnection

Connection OpenConnection(String Name,
                          Object Options)
[optional=2]


OpenConnection

Connection OpenConnection(String Name)
[optional=3]


getDefaultType

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

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

setDefaultType

void setDefaultType(int Option)
IDL: [ helpstring("") ]

Parameters:
Option - IDL: [in] LONG

SetOption

void SetOption(int Option,
               Object Value)
IDL: [ helpstring("") ]

Parameters:
Option - IDL: [in] LONG
Value - IDL: [in] VARIANT


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