net.sourceforge.idrs.script.embedable
Class IDRSShell

java.lang.Object
  |
  +--net.sourceforge.idrs.script.embedable.IDRSShell

public class IDRSShell
extends java.lang.Object


Field Summary
(package private)  IDRSReport idrs
           
 
Constructor Summary
IDRSShell(IDRSReport idrs)
           
 
Method Summary
 java.lang.String getFieldData(java.lang.String db, java.lang.String field)
          Used to retrieve a piece of data from a particuler DB without format
 java.lang.String getFieldData(java.lang.String db, java.lang.String field, java.lang.String format)
          Used to retrieve a piece of data from a particuler DB with a given format
 int getInputResults(java.lang.String db)
          Used to retrieve the results of an update
 java.lang.Object getObject(java.lang.String obj)
          Used to retrieve a refrence to an object created in an IDRS report
 java.io.PrintWriter getOut()
          retrieves printwriter used by the IDRS
 net.sourceforge.idrs.script.embedable.HttpServletRequest getRequest()
          Retrieves request object from webserver
 net.sourceforge.idrs.script.embedable.HttpSession getSession()
          Retrieves the session object from webserver
 boolean moveTo(java.lang.String db, int record)
          Used to move to a particuler record
 boolean next(java.lang.String db)
          Used to move to the next record in a selected db
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idrs

IDRSReport idrs
Constructor Detail

IDRSShell

public IDRSShell(IDRSReport idrs)
Method Detail

getFieldData

public java.lang.String getFieldData(java.lang.String db,
                                     java.lang.String field,
                                     java.lang.String format)
                              throws java.lang.Exception
Used to retrieve a piece of data from a particuler DB with a given format

getFieldData

public java.lang.String getFieldData(java.lang.String db,
                                     java.lang.String field)
                              throws java.lang.Exception
Used to retrieve a piece of data from a particuler DB without format

getInputResults

public int getInputResults(java.lang.String db)
                    throws java.lang.Exception
Used to retrieve the results of an update

next

public boolean next(java.lang.String db)
             throws java.lang.Exception
Used to move to the next record in a selected db

moveTo

public boolean moveTo(java.lang.String db,
                      int record)
               throws java.lang.Exception
Used to move to a particuler record

getObject

public java.lang.Object getObject(java.lang.String obj)
                           throws java.lang.Exception
Used to retrieve a refrence to an object created in an IDRS report

getOut

public java.io.PrintWriter getOut()
                           throws java.lang.Exception
retrieves printwriter used by the IDRS

getSession

public net.sourceforge.idrs.script.embedable.HttpSession getSession()
                                                             throws java.lang.Exception
Retrieves the session object from webserver

getRequest

public net.sourceforge.idrs.script.embedable.HttpServletRequest getRequest()
                                                                    throws java.lang.Exception
Retrieves request object from webserver