    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class netscape.peas.ClientSideCursor

    java.lang.Object
       |
       +----netscape.peas.RowSupport
               |
               +----netscape.peas.TableSupport
                       |
                       +----netscape.peas.ClientSideCursor

public class ClientSideCursor
extends TableSupport

ClientSideCursor is a java class, which can be instantiated via the LiveConnect "new" operator, and can, in conjunction with a running LiveWire (server) application, process SQL Select statements. It also supports the "Table" bean interfaces which allows it to be connected to other components supporting bean interfaces.

##

ClientSideCursor()
  default constructor

##

addRow()
  add an empty row
deleteRow(int, boolean)
  Delete the specified row from the table.
doUpdateRow(Object[], Object[], Object[])
  Override TableProvider.doUpdate() interface method of TableSupport class.
executeQuery()
  Perform "generic" executeQuery functionality.
fetch()
fetchMoreRows()
  No default behavior yet, must be handled by Subclass/Delegator.
getColumnNameEnumeration()
getParsedHTML()
getRawText()
getRowVectors()
getSQL()
getUpdatable()
getURL()
processHTML()
setQuery(String)
  Setter method for this cursor's "query" property.
setSQL(String)
setUpdatable(boolean)
setURL(String)
toString(SGMLTag)
  Serializes (to HTML text) given PageElement.
updateCurrentRow()
  Override TableSupport.updateCurrentRow to verify if the cursor is updatable.

##

ClientSideCursor

     public ClientSideCursor()

  default constructor

##

setURL

     public void setURL(String url)

getURL

     public String getURL()

setSQL

     public void setSQL(String sql)

getSQL

     public String getSQL()

getRawText

     public String getRawText()

getParsedHTML

     public SGMLTag getParsedHTML()

toString

     public static String toString(SGMLTag oElement1)

  Serializes (to HTML text) given PageElement.

fetch

     public void fetch()

processHTML

     public void processHTML() throws CascadedException

getColumnNameEnumeration

     public Enumeration getColumnNameEnumeration()

getRowVectors

     public Enumeration getRowVectors()

setQuery

     public void setQuery(String sNewQuery)

  Setter method for this cursor's "query" property.

  Overrides:
    setQuery in class TableSupport

executeQuery

     public void executeQuery()

  Perform "generic" executeQuery functionality.

  Overrides:
    executeQuery in class TableSupport

fetchMoreRows

     public void fetchMoreRows()

  No default behavior yet, must be handled by Subclass/Delegator.

  Overrides:
    fetchMoreRows in class TableSupport

updateCurrentRow

     public void updateCurrentRow()

  Override TableSupport.updateCurrentRow to verify if the cursor is updatable.

  Overrides:
    updateCurrentRow in class TableSupport

doUpdateRow

     public void doUpdateRow(Object aColumnNames[],
                             Object aNewValues[],
                             Object aOldValues[])

  Override TableProvider.doUpdate() interface method of TableSupport class. doUpdate() sends an HTTP request to the server side Livewire application with a SQL UPDATE statement which updates the current row.

  Overrides:
    doUpdateRow in class TableSupport

deleteRow

     public void deleteRow(int iRowNumber,
                           boolean bNotify)

  Delete the specified row from the table. Notify listeners we override this to do actual deletion from database table on server, then call defalut implementation to remove row from tableSupport's data structure, and to update listeners.

  Overrides:
    deleteRow in class TableSupport

addRow

     public void addRow()

  add an empty row

  Overrides:
    addRow in class TableSupport

setUpdatable

     public void setUpdatable(boolean bNewValue)

getUpdatable

     public boolean getUpdatable()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index