Agentflow
V3.1

si.wfcidata
Class AFDBConnection

java.lang.Object
  extended by si.wfcidata.AFDBConnection

public class AFDBConnection
extends java.lang.Object

AFDBConnection

Version:
1.1.5,
Author:
Flowring co.

Constructor Summary
AFDBConnection(WFCI wfci, java.lang.String session)
          Constructor
 
Method Summary
 void close()
          Close the connection
 void commit()
          Make commit on the connection
 java.util.HashMap getConnectionURL()
          Get the configuration of SessionConnection
 java.util.Vector loadValue(java.lang.String sqlcmd)
          Invoke the connection to load value
 void rollback()
          Make rollback on the connection
 boolean updateValue(java.lang.String sqlcmd)
          Invoke the connection to update value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AFDBConnection

public AFDBConnection(WFCI wfci,
                      java.lang.String session)
Constructor

Parameters:
wfci - WFCI interface
int - session number
Method Detail

close

public void close()
           throws WFCIException
Close the connection

Throws:
WFCIException

commit

public void commit()
            throws WFCIException
Make commit on the connection

Throws:
WFCIException

getConnectionURL

public java.util.HashMap getConnectionURL()
                                   throws WFCIException
Get the configuration of SessionConnection

Throws:
WFCIException

loadValue

public java.util.Vector loadValue(java.lang.String sqlcmd)
                           throws WFCIException
Invoke the connection to load value

Parameters:
sqlcmd - SQL command
Throws:
WFCIException

rollback

public void rollback()
              throws WFCIException
Make rollback on the connection

Throws:
WFCIException

updateValue

public boolean updateValue(java.lang.String sqlcmd)
                    throws WFCIException
Invoke the connection to update value

Parameters:
sqlcmd - SQL command
Throws:
WFCIException

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.