com.infoengine.edasql
Class AdapterWebject

java.lang.Object
  extended bycom.infoengine.edasql.AdapterWebject
Direct Known Subclasses:
IeCreateObjects, IeDeleteObjects, IeDescribeAttributes, IeDoSql, IeExecProcedure, IeGetBlobStream, IePutBlobStream, IeQueryObjects, IeSendBlobStream, IeUpdateObjects

public abstract class AdapterWebject
extends Object


Field Summary
protected  Vector commands
           
protected  Connection conn
           
(package private) static int debugLevel
           
private  com.infoengine.log.LogWriter logWriter
           
protected  RequestContext rqtCxt
           
private  String serviceName
           
(package private) static Hashtable sqlTypes
           
 
Constructor Summary
AdapterWebject()
           
 
Method Summary
 void buildCommand(String type)
           
protected  void connectIWay()
           
 ResultSet execCommand()
           
 ResultSet execCommand(ibi.jlink.EdaStatement stmt)
           
protected  RequestContext getRequestContext()
           
 void init(RequestContext rqtContext)
           
 boolean initAll(RequestContext rqtContext)
           
 String Operation()
          Returns the request to perform
 void process()
           
 String sqlColumns()
           
 String sqlColumns(String arg)
           
 String sqlDistinct()
           
 String sqlOrder()
           
 String sqlTable()
           
 String sqlValues(String arg)
           
 String sqlWhere()
           
static String toClassName(String oldstring)
           
 String toSQL(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logWriter

private com.infoengine.log.LogWriter logWriter

serviceName

private String serviceName

rqtCxt

protected RequestContext rqtCxt

commands

protected Vector commands

conn

protected Connection conn

sqlTypes

static Hashtable sqlTypes

debugLevel

static int debugLevel
Constructor Detail

AdapterWebject

public AdapterWebject()
Method Detail

initAll

public boolean initAll(RequestContext rqtContext)

init

public void init(RequestContext rqtContext)

process

public void process()
             throws IEAdapterException
Throws:
IEAdapterException

getRequestContext

protected RequestContext getRequestContext()

toClassName

public static String toClassName(String oldstring)

Operation

public String Operation()
Returns the request to perform

Returns:
The request to perform

toSQL

public String toSQL(String type)
             throws SQLWarning
Throws:
SQLWarning

sqlTable

public String sqlTable()

sqlDistinct

public String sqlDistinct()

sqlColumns

public String sqlColumns()

sqlColumns

public String sqlColumns(String arg)

sqlWhere

public String sqlWhere()

sqlOrder

public String sqlOrder()

sqlValues

public String sqlValues(String arg)

buildCommand

public void buildCommand(String type)
                  throws IEAdapterException
Throws:
IEAdapterException

execCommand

public ResultSet execCommand()
                      throws IEAdapterException
Throws:
IEAdapterException

execCommand

public ResultSet execCommand(ibi.jlink.EdaStatement stmt)
                      throws IEAdapterException
Throws:
IEAdapterException

connectIWay

protected void connectIWay()
                    throws IEAdapterException
Throws:
IEAdapterException