- CachedRowSetDataProvider - Class in com.sun.data.provider.impl
TableDataProvider
implementation that wraps a CachedRowSet
.- CachedRowSetDataProvider() -
Constructor for class com.sun.data.provider.impl.CachedRowSetDataProvider
- Construct an unconfigured
CachedRowSetDataProvider
.
- CachedRowSetDataProvider(CachedRowSet) -
Constructor for class com.sun.data.provider.impl.CachedRowSetDataProvider
- Construct a
CachedRowSetDataProvider
that wraps the
specified CachedRowSet
.
- canAppendRow() -
Method in class com.sun.data.provider.impl.AbstractTableDataProvider
This method is called to test if this TableDataProvider supports
the append operation.
- canAppendRow() -
Method in class com.sun.data.provider.impl.BasicTransactionalTableDataProvider
This method is called to test if this TableDataProvider supports
the append operation. If rows can be appended to the list, this method
should return true
. If the data provider is not resizable,
or cannot support an append operation, this method should return
false
.
- canAppendRow() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
This method is called to test if this TableDataProvider supports
the append operation. If rows can be appended to the list, this method
should return true
. If the data provider is not resizable,
or cannot support an append operation, this method should return
false
.
- canAppendRow() -
Method in class com.sun.data.provider.impl.FilteredTableDataProvider
This method is called to test if this TableDataProvider supports
the append operation. If rows can be appended to the list, this method
should return true
. If the data provider is not resizable,
or cannot support an append operation, this method should return
false
.
- canAppendRow() -
Method in class com.sun.data.provider.impl.ListDataProvider
- NOTE: This implementation always returns
false
from this
method.
- canAppendRow() -
Method in class com.sun.data.provider.impl.MethodResultTableDataProvider
This method is called to test if this TableDataProvider supports
the append operation.
- canAppendRow() -
Method in class com.sun.data.provider.impl.ObjectArrayDataProvider
This method is called to test if this TableDataProvider supports
the append operation. If rows can be appended to the list, this method
should return true
. If the data provider is not resizable,
or cannot support an append operation, this method should return
false
.
- canAppendRow() -
Method in class com.sun.data.provider.impl.ObjectListDataProvider
- Return true if the
userResizable
property is set to
true
, and there is a public zero-args constructor for the
class specified by the objectType
property.
- canAppendRow() -
Method in interface com.sun.data.provider.TableDataProvider
- This method is called to test if this TableDataProvider supports
the append operation.
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.AbstractTableDataProvider
This method is called to test if this TableDataProvider supports
resizability.
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.BasicTransactionalTableDataProvider
This method is called to test if this TableDataProvider supports
resizability. If objects can be inserted and removed from the list,
this method should return true
. If the data provider is
not resizable, this method should return false
.
The following methods will only be called if this method returns
true
:
insertRow(RowKey beforeRow)
appendRow()
removeRow(RowKey rowKey)
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
This method is called to test if this TableDataProvider supports
resizability. If objects can be inserted and removed from the list,
this method should return true
. If the data provider is
not resizable, this method should return false
.
The following methods will only be called if this method returns
true
:
insertRow(RowKey beforeRow)
appendRow()
removeRow(RowKey rowKey)
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.FilteredTableDataProvider
This method is called to test if this TableDataProvider supports
resizability. If objects can be inserted and removed from the list,
this method should return true
. If the data provider is
not resizable, this method should return false
.
The following methods will only be called if this method returns
true
:
insertRow(RowKey beforeRow)
appendRow()
removeRow(RowKey rowKey)
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.ListDataProvider
- NOTE: This implementation always returns
false
from this
method.
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.MethodResultTableDataProvider
This method is called to test if this TableDataProvider supports
resizability.
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.ObjectArrayDataProvider
This method is called to test if this TableDataProvider supports
resizability. If objects can be inserted and removed from the list,
this method should return true
. If the data provider is
not resizable, this method should return false
.
The following methods will only be called if this method returns
true
:
insertRow(RowKey beforeRow)
appendRow()
removeRow(RowKey rowKey)
- canInsertRow(RowKey) -
Method in class com.sun.data.provider.impl.ObjectListDataProvider
- Return true if the
userResizable
property is set to
true
, and there is a public zero-args constructor for the
class specified by the objectType
property.
- canInsertRow(RowKey) -
Method in interface com.sun.data.provider.TableDataProvider
- This method is called to test if this TableDataProvider supports
resizability.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.AbstractTableDataProvider
This method is called to test if this TableDataProvider supports
the removeRow operation.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.BasicTransactionalTableDataProvider
This method is called to test if this TableDataProvider supports
the removeRow operation. If rows can be removed from the table, this
method should return true
. If the data provider is does
not support removing rows, this method should return false
.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
This method is called to test if this TableDataProvider supports
the removeRow operation. If rows can be removed from the table, this
method should return true
. If the data provider is does
not support removing rows, this method should return false
.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.FilteredTableDataProvider
This method is called to test if this TableDataProvider supports
the removeRow operation. If rows can be removed from the table, this
method should return true
. If the data provider is does
not support removing rows, this method should return false
.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.ListDataProvider
- NOTE: This implementation always returns
true
from this
method.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.MethodResultTableDataProvider
This method is called to test if this TableDataProvider supports
the removeRow operation.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.ObjectArrayDataProvider
This method is called to test if this TableDataProvider supports
the removeRow operation. If rows can be removed from the table, this
method should return true
. If the data provider is does
not support removing rows, this method should return false
.
- canRemoveRow(RowKey) -
Method in class com.sun.data.provider.impl.ObjectListDataProvider
- Return
true
if the userResizable
property is set to true
.
- canRemoveRow(RowKey) -
Method in interface com.sun.data.provider.TableDataProvider
- This method is called to test if this TableDataProvider supports
the removeRow operation.
- changedRowMap -
Variable in class com.sun.data.provider.impl.BasicTransactionalTableDataProvider
-
- changeMap -
Variable in class com.sun.data.provider.impl.BasicTransactionalDataProvider
-
- changesCommitted(TransactionalDataProvider) -
Method in class com.sun.data.provider.TransactionalDataAdapter
The commitChanges()
method was called on the specified
TransactionalDataProvider
.
- changesCommitted(TransactionalDataProvider) -
Method in interface com.sun.data.provider.TransactionalDataListener
- The
commitChanges()
method was called on the specified
TransactionalDataProvider
.
- changesReverted(TransactionalDataProvider) -
Method in class com.sun.data.provider.TransactionalDataAdapter
The revertChanges()
method was called on the specified
TransactionalDataProvider
.
- changesReverted(TransactionalDataProvider) -
Method in interface com.sun.data.provider.TransactionalDataListener
- The
revertChanges()
method was called on the specified
TransactionalDataProvider
.
- checkExecute() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
- Check if rowset, if so, execute if necessary.
- clearFieldKeys() -
Method in class com.sun.data.provider.impl.AbstractDataProvider
- Empties the list of
FieldKey
s
- clearObjectList() -
Method in class com.sun.data.provider.impl.ObjectListDataProvider
- Clear the list of contained objects.
- close() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
- free resources used by this instance
Close is guaranteed not to throw an exception.
- com.sun.data.provider - package com.sun.data.provider
- Fundamental data access APIs and event listeners.
- com.sun.data.provider.impl - package com.sun.data.provider.impl
- Concrete DataProvider implementations and base classes.
- commitChanges() -
Method in class com.sun.data.provider.impl.BasicTransactionalDataProvider
-
- commitChanges() -
Method in class com.sun.data.provider.impl.BasicTransactionalTableDataProvider
-
- commitChanges() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
Cause any cached changes to values of data elements supported by this
DataProvider
to be passed through to the underlying data
structure.
- commitChanges() -
Method in class com.sun.data.provider.impl.ObjectListDataProvider
- Cause any cached updates to existing field values, as well as
inserted and deleted rows, to be flowed through to the underlying
List
wrapped by this
DataProvider
.
- commitChanges() -
Method in interface com.sun.data.provider.TransactionalDataProvider
- Cause any cached changes to values of data elements supported by this
DataProvider
to be passed through to the underlying data
structure.
- compare(Object, Object, Locale) -
Static method in class com.sun.data.provider.impl.CompareFilterCriteria
-
- CompareFilterCriteria - Class in com.sun.data.provider.impl
- The CompareFilterCriteria is an implementation of
FilterCriteria
that compares the value of a FieldKey
in a
TableDataProvider
with a predefined
compareValue
. - CompareFilterCriteria() -
Constructor for class com.sun.data.provider.impl.CompareFilterCriteria
-
- CompareFilterCriteria(FieldKey) -
Constructor for class com.sun.data.provider.impl.CompareFilterCriteria
-
- CompareFilterCriteria(Object) -
Constructor for class com.sun.data.provider.impl.CompareFilterCriteria
-
- CompareFilterCriteria(FieldKey, Object) -
Constructor for class com.sun.data.provider.impl.CompareFilterCriteria
-
- CompareFilterCriteria(FieldKey, Object, boolean, boolean, boolean) -
Constructor for class com.sun.data.provider.impl.CompareFilterCriteria
-
- compareLocale -
Variable in class com.sun.data.provider.impl.CompareFilterCriteria
- Storage for the compare locale
- compareTo(Object) -
Method in class com.sun.data.provider.FieldKey
- Standard compareTo implementation (for
Comparable
interface).
- compareTo(Object) -
Method in class com.sun.data.provider.impl.IndexRowKey
- Compare this instance to another
IndexRowKey
instance.
- compareTo(Object) -
Method in class com.sun.data.provider.impl.ObjectRowKey
- Standard implementation of compareTo(Object).
- compareTo(Object) -
Method in class com.sun.data.provider.RowKey
- Standard implementation of compareTo(Object).
- create(String) -
Static method in class com.sun.data.provider.impl.IndexRowKey
- Constructs a new IndexRowKey from the passed rowId String
- cursorChanged(TableDataProvider, RowKey, RowKey) -
Method in class com.sun.data.provider.TableCursorAdapter
Process an event indicating that the current cursor row of the
specified TableDataProvider
has been successfully changed.
- cursorChanged(TableDataProvider, RowKey, RowKey) -
Method in interface com.sun.data.provider.TableCursorListener
- Process an event indicating that the current cursor row of the
specified
TableDataProvider
has been successfully changed.
- cursorChanging(TableDataProvider, RowKey, RowKey) -
Method in class com.sun.data.provider.TableCursorAdapter
Process an event indicating that the current cursor row of the
specified TableDataProvider
is changing.
- cursorChanging(TableDataProvider, RowKey, RowKey) -
Method in interface com.sun.data.provider.TableCursorListener
- Process an event indicating that the current cursor row of the
specified
TableDataProvider
is changing.
- cursorFirst() -
Method in class com.sun.data.provider.impl.AbstractTableDataProvider
Move the cursor to the first row in this TableDataProvider.
- cursorFirst() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
Move the cursor to the first row in this TableDataProvider.
- cursorFirst() -
Method in class com.sun.data.provider.impl.FilteredTableDataProvider
Move the cursor to the first row in this TableDataProvider.
- cursorFirst() -
Method in class com.sun.data.provider.impl.MethodResultTableDataProvider
Move the cursor to the first row in this TableDataProvider.
- cursorFirst() -
Method in interface com.sun.data.provider.TableDataProvider
- Move the cursor to the first row in this TableDataProvider.
- cursorLast() -
Method in class com.sun.data.provider.impl.AbstractTableDataProvider
Move the cursor to the last row in this TableDataProvider.
- cursorLast() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
Move the cursor to the last row in this TableDataProvider.
- cursorLast() -
Method in class com.sun.data.provider.impl.FilteredTableDataProvider
Move the cursor to the last row in this TableDataProvider.
- cursorLast() -
Method in class com.sun.data.provider.impl.MethodResultTableDataProvider
Move the cursor to the last row in this TableDataProvider.
- cursorLast() -
Method in interface com.sun.data.provider.TableDataProvider
- Move the cursor to the last row in this TableDataProvider.
- cursorNext() -
Method in class com.sun.data.provider.impl.AbstractTableDataProvider
Move the cursor to the row after the current cursor row, unless the
cursor is currently at the last row TableDataProvider
.
- cursorNext() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
Move the cursor to the row after the current cursor row, unless the
cursor is currently at the last row TableDataProvider
.
- cursorNext() -
Method in class com.sun.data.provider.impl.FilteredTableDataProvider
Move the cursor to the row after the current cursor row, unless the
cursor is currently at the last row TableDataProvider
.
- cursorNext() -
Method in class com.sun.data.provider.impl.MethodResultTableDataProvider
Move the cursor to the row after the current cursor row, unless the
cursor is currently at the last row TableDataProvider
.
- cursorNext() -
Method in interface com.sun.data.provider.TableDataProvider
- Move the cursor to the row after the current cursor row, unless the
cursor is currently at the last row
TableDataProvider
.
- cursorPrevious() -
Method in class com.sun.data.provider.impl.AbstractTableDataProvider
Move the cursor to the row before the current cursor row, unless
the cursor is currently at the first row.
- cursorPrevious() -
Method in class com.sun.data.provider.impl.CachedRowSetDataProvider
Move the cursor to the row before the current cursor row, unless
the cursor is currently at the first row.
- cursorPrevious() -
Method in class com.sun.data.provider.impl.FilteredTableDataProvider
Move the cursor to the row before the current cursor row, unless
the cursor is currently at the first row.
- cursorPrevious() -
Method in class com.sun.data.provider.impl.MethodResultTableDataProvider
Move the cursor to the row before the current cursor row, unless
the cursor is currently at the first row.
- cursorPrevious() -
Method in interface com.sun.data.provider.TableDataProvider
- Move the cursor to the row before the current cursor row, unless
the cursor is currently at the first row.
- cursorRow -
Variable in class com.sun.data.provider.impl.AbstractTableDataProvider
- storage for the current cursor row
- cursorRow -
Variable in class com.sun.data.provider.impl.CachedRowSetDataProvider
- storage for the current cursor row