| |
|
| java.lang.Object com.sun.data.provider.impl.AbstractDataProvider com.sun.data.provider.impl.AbstractTableDataProvider com.sun.data.provider.impl.CachedRowSetDataProvider
cursorRow | protected RowKey cursorRow(Code) | | storage for the current cursor row
|
CachedRowSetDataProvider | public CachedRowSetDataProvider(CachedRowSet cachedRowSet)(Code) | | Construct a
CachedRowSetDataProvider that wraps the
specified CachedRowSet .
Parameters: cachedRowSet - The CachedRowSet to be wrapped |
checkExecute | protected void checkExecute() throws SQLException(Code) | | Check if rowset, if so, execute if necessary.
|
close | public void close()(Code) | | free resources used by this instance
Close is guaranteed not to throw an exception.
|
getCachedRowSet | public CachedRowSet getCachedRowSet()(Code) | | Return the CachedRowSet that we are wrapping.
|
getCursorIndex | protected int getCursorIndex()(Code) | | |
setCachedRowSet | public void setCachedRowSet(CachedRowSet cachedRowSet)(Code) | | Set the CachedRowSet that we are wrapping. In addition,
ensure that the CachedRowSet has been executed so that
subseuqent calls accessing it will work.
Parameters: cachedRowSet - The new CachedRowSet |
setCursorIndex | protected boolean setCursorIndex(int index)(Code) | | |
Methods inherited from com.sun.data.provider.impl.AbstractTableDataProvider | public void addTableCursorListener(TableCursorListener listener)(Code)(Java Doc) public void addTableDataListener(TableDataListener l)(Code)(Java Doc) abstract public RowKey appendRow() throws DataProviderException(Code)(Java Doc) abstract public boolean canAppendRow() throws DataProviderException(Code)(Java Doc) abstract public boolean canInsertRow(RowKey beforeRow) throws DataProviderException(Code)(Java Doc) abstract public boolean canRemoveRow(RowKey row) throws DataProviderException(Code)(Java Doc) public boolean cursorFirst() throws DataProviderException(Code)(Java Doc) public boolean cursorLast() throws DataProviderException(Code)(Java Doc) public boolean cursorNext() throws DataProviderException(Code)(Java Doc) public boolean cursorPrevious() throws DataProviderException(Code)(Java Doc) public RowKey[] findAll(String fieldId, Object value) throws DataProviderException(Code)(Java Doc) public RowKey[] findAll(String[] fieldIds, Object[] values) throws DataProviderException(Code)(Java Doc) public RowKey[] findAll(FieldKey fieldKey, Object value) throws DataProviderException(Code)(Java Doc) public RowKey[] findAll(FieldKey[] fieldKeys, Object[] values) throws DataProviderException(Code)(Java Doc) public RowKey findFirst(String fieldId, Object value) throws DataProviderException(Code)(Java Doc) public RowKey findFirst(String[] fieldIds, Object[] values) throws DataProviderException(Code)(Java Doc) public RowKey findFirst(FieldKey fieldKey, Object value) throws DataProviderException(Code)(Java Doc) public RowKey findFirst(FieldKey[] fieldKeys, Object[] values) throws DataProviderException(Code)(Java Doc) protected void fireCursorChanged(RowKey oldRow, RowKey newRow)(Code)(Java Doc) protected void fireCursorChanging(RowKey oldRow, RowKey newRow) throws TableCursorVetoException(Code)(Java Doc) protected void fireRowAdded(RowKey newRow)(Code)(Java Doc) protected void fireRowRemoved(RowKey oldRow)(Code)(Java Doc) protected void fireValueChanged(FieldKey fieldKey, RowKey row, Object oldValue, Object newValue)(Code)(Java Doc) public RowKey[] getAllRows() throws DataProviderException(Code)(Java Doc) protected int getCursorIndex()(Code)(Java Doc) public RowKey getCursorRow() throws DataProviderException(Code)(Java Doc) abstract public int getRowCount() throws DataProviderException(Code)(Java Doc) public RowKey getRowKey(String rowId) throws DataProviderException(Code)(Java Doc) public RowKey[] getRowKeys(int count, RowKey afterRow) throws DataProviderException(Code)(Java Doc) public TableCursorListener[] getTableCursorListeners()(Code)(Java Doc) public TableDataListener[] getTableDataListeners()(Code)(Java Doc) abstract public Class getType(FieldKey fieldKey) throws DataProviderException(Code)(Java Doc) abstract public Object getValue(FieldKey fieldKey, RowKey row) throws DataProviderException(Code)(Java Doc) public Object getValue(String fieldId, RowKey row) throws DataProviderException(Code)(Java Doc) public Object getValue(FieldKey fieldKey) throws DataProviderException(Code)(Java Doc) abstract public RowKey insertRow(RowKey beforeRow) throws DataProviderException(Code)(Java Doc) abstract public boolean isReadOnly(FieldKey fieldKey) throws DataProviderException(Code)(Java Doc) public boolean isRowAvailable(RowKey row) throws DataProviderException(Code)(Java Doc) abstract public void removeRow(RowKey row) throws DataProviderException(Code)(Java Doc) public void removeTableCursorListener(TableCursorListener listener)(Code)(Java Doc) public void removeTableDataListener(TableDataListener l)(Code)(Java Doc) protected boolean setCursorIndex(int index)(Code)(Java Doc) public void setCursorRow(RowKey row) throws TableCursorVetoException(Code)(Java Doc) abstract public void setValue(FieldKey fieldKey, RowKey row, Object value) throws DataProviderException(Code)(Java Doc) public void setValue(String fieldId, RowKey row, Object value) throws DataProviderException(Code)(Java Doc) public void setValue(FieldKey fieldKey, Object value) throws DataProviderException(Code)(Java Doc)
|
|
|
|