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.


Constructor Index

 o ClientSideCursor()
default constructor

Method Index

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

Constructors

 o ClientSideCursor
 public ClientSideCursor()
default constructor

Methods

 o setURL
 public void setURL(String url)
 o getURL
 public String getURL()
 o setSQL
 public void setSQL(String sql)
 o getSQL
 public String getSQL()
 o getRawText
 public String getRawText()
 o getParsedHTML
 public SGMLTag getParsedHTML()
 o toString
 public static String toString(SGMLTag oElement1)
Serializes (to HTML text) given PageElement.

 o fetch
 public void fetch()
 o processHTML
 public void processHTML() throws CascadedException
 o getColumnNameEnumeration
 public Enumeration getColumnNameEnumeration()
 o getRowVectors
 public Enumeration getRowVectors()
 o setQuery
 public void setQuery(String sNewQuery)
Setter method for this cursor's "query" property.

Overrides:
setQuery in class TableSupport
 o executeQuery
 public void executeQuery()
Perform "generic" executeQuery functionality.

Overrides:
executeQuery in class TableSupport
 o fetchMoreRows
 public void fetchMoreRows()
No default behavior yet, must be handled by Subclass/Delegator.

Overrides:
fetchMoreRows in class TableSupport
 o updateCurrentRow
 public void updateCurrentRow()
Override TableSupport.updateCurrentRow to verify if the cursor is updatable.

Overrides:
updateCurrentRow in class TableSupport
 o 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
 o 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
 o addRow
 public void addRow()
add an empty row

Overrides:
addRow in class TableSupport
 o setUpdatable
 public void setUpdatable(boolean bNewValue)
 o getUpdatable
 public boolean getUpdatable()

All Packages  Class Hierarchy  This Package  Previous  Next  Index