com.jdbaccess.db
Class FuncStatement

java.lang.Object
  extended by com.jdbaccess.db.Statement
      extended by com.jdbaccess.db.FuncStatement

public class FuncStatement
extends Statement


Field Summary
protected  java.util.Hashtable resultSets
           
 
Fields inherited from class com.jdbaccess.db.Statement
da, id, lastAccess, lastExecution, name, size, stmt, transaction
 
Constructor Summary
FuncStatement(int id, java.lang.String name, java.sql.Statement stmt)
           
 
Method Summary
 void close()
           
 void closeResultSets()
           
 java.lang.Object execute()
           
 java.util.ArrayList getAllElements(com.jdbaccess.daimpl.CallResultImpl result)
           
 TransferObject getElement()
           
protected  java.util.Hashtable getFields(java.sql.ResultSet rs)
           
 java.util.ArrayList getNextElements(com.jdbaccess.daimpl.CallResultImpl result, long count)
           
 java.util.ArrayList getOutputParams()
           
 CallResult getResult(int rsPos)
           
 long getSize()
           
 java.lang.Object getValue(Field field, int rsPosition, boolean readFull)
           
 void setDataAccess(com.jdbaccess.daimpl.DataAccessImpl da)
           
 
Methods inherited from class com.jdbaccess.db.Statement
getAllElements, getBlob, getClob, getDataAccess, getElement, getElement, getLastAccess, getName, getNextElements, getValue, hasSameParameters, nextElement, setBlobParameter, setClobParameter, setLastAccess, setParameter, setTransaction, sql2JavaType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resultSets

protected java.util.Hashtable resultSets
Constructor Detail

FuncStatement

public FuncStatement(int id,
                     java.lang.String name,
                     java.sql.Statement stmt)
Method Detail

setDataAccess

public void setDataAccess(com.jdbaccess.daimpl.DataAccessImpl da)
                   throws ApplicationException
Overrides:
setDataAccess in class Statement
Throws:
ApplicationException

execute

public java.lang.Object execute()
                         throws ApplicationException
Throws:
ApplicationException

getAllElements

public java.util.ArrayList getAllElements(com.jdbaccess.daimpl.CallResultImpl result)
                                   throws ApplicationException
Throws:
ApplicationException

getNextElements

public java.util.ArrayList getNextElements(com.jdbaccess.daimpl.CallResultImpl result,
                                           long count)
                                    throws ApplicationException
Throws:
ApplicationException

getElement

public TransferObject getElement()
                          throws ApplicationException
Throws:
ApplicationException

getResult

public CallResult getResult(int rsPos)
                     throws ApplicationException
Throws:
ApplicationException

getFields

protected java.util.Hashtable getFields(java.sql.ResultSet rs)
                                 throws ApplicationException
Overrides:
getFields in class Statement
Throws:
ApplicationException

getOutputParams

public java.util.ArrayList getOutputParams()
                                    throws ApplicationException
Throws:
ApplicationException

getValue

public java.lang.Object getValue(Field field,
                                 int rsPosition,
                                 boolean readFull)
                          throws ApplicationException
Throws:
ApplicationException

getSize

public long getSize()
             throws ApplicationException
Throws:
ApplicationException

close

public void close()
           throws ApplicationException
Overrides:
close in class Statement
Throws:
ApplicationException

closeResultSets

public void closeResultSets()
                     throws ApplicationException
Throws:
ApplicationException