|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RowItem | |
|---|---|
| com.antelmann.sql | This package contains classes to ease JDBC development. |
| Uses of RowItem in com.antelmann.sql |
|---|
| Methods in com.antelmann.sql that return RowItem | |
|---|---|
static RowItem |
ConnectionHelper.extractRow(ResultSet rs,
String idField)
the current row should not have been accessed, yet |
RowItem |
ResultSetTableModel.getRow(int row)
this only works if the idField has been set correctly |
RowItem |
RowItemTableModel.getRowAt(int row)
|
RowItem |
ConnectionHelper.getRowItem(String tableName,
String idField,
Object idValue)
may return null if no row was found; returns the first occurrence if multiple rows exist |
RowItem |
ObjectRowMapper.mapToRow(T object)
generates a RowItem containing all relevant properties, so that it can be used to store the object into the database |
RowItem |
BaseRowMapper.mapToRow(T entry)
uses the abstract generateRowProperties(T) method to generate the RowItem |
| Methods in com.antelmann.sql that return types with arguments of type RowItem | |
|---|---|
Collection<RowItem> |
RowItemTableModel.getDirtyRows()
creates a list of RowItems that are marked dirty |
List<RowItem> |
RowItemTableModel.getListView()
creates and returns an unmodifiable view of the embedded list |
ArrayList<RowItem> |
ConnectionHelper.getRowItems(ResultSet rs,
String idField,
Filter<RowItem> filter)
filter may be null |
ArrayList<RowItem> |
ConnectionHelper.getRowItems(String tableName,
String idField,
Filter<RowItem> filter)
filter may be null |
ArrayList<RowItem> |
ConnectionHelper.getRowItems(String tableName,
String idField,
Map<String,Object> fieldRestrictions)
supports Range objects in the fieldRestrictions |
| Methods in com.antelmann.sql with parameters of type RowItem | |
|---|---|
void |
ConnectionHelper.delete(RowItem row)
|
void |
ConnectionHelper.insert(RowItem row)
|
T |
ObjectRowMapper.instanciate(RowItem row)
instanciates the Resource based on the properties in the given row |
boolean |
RowItem.sameTable(RowItem row)
checks for table, idColumn and columns to be identical |
void |
ConnectionHelper.update(RowItem row)
|
| Method parameters in com.antelmann.sql with type arguments of type RowItem | |
|---|---|
ArrayList<RowItem> |
ConnectionHelper.getRowItems(ResultSet rs,
String idField,
Filter<RowItem> filter)
filter may be null |
ArrayList<RowItem> |
ConnectionHelper.getRowItems(String tableName,
String idField,
Filter<RowItem> filter)
filter may be null |
void |
RowItemTableModel.refresh(List<RowItem> list)
the columns must be properly set on the RowItems |
| Constructor parameters in com.antelmann.sql with type arguments of type RowItem | |
|---|---|
RowItemTableModel(List<RowItem> list)
|
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||