Holger's Java API

## Uses of Class
com.antelmann.sql.RowItem

Packages that use RowItem
com.antelmann.crm: Provides interfaces and classes for implementing applications dealing with Customer Relationship Management (CRM).
com.antelmann.image: This package contains classes for more easily dealing with images.
com.antelmann.net.mail: The classes in this package are designed to ease the handling of emails.
com.antelmann.sql: This package contains classes to ease JDBC development and also provides useful SQL-based implementations for com.antelmann.db classes
com.antelmann.util.gui: This package contains utility classes for GUI related implementations.
com.antelmann.util.logging: This package contains classes that implement a custom logging for this framework - separate from java.util.logging.

Uses of RowItem in com.antelmann.crm

Methods in com.antelmann.crm that return RowItem
`RowItem` `AddressableMapper.mapToRow(T object)`

Methods in com.antelmann.crm with parameters of type RowItem
`T` `AddressableMapper.instantiate(RowItem row)`

Uses of RowItem in com.antelmann.image

Methods in com.antelmann.image with parameters of type RowItem
`T` `ThumbnailMapper.instantiate(RowItem row)` uses reflection; requires a constructor equivalent to `ImageURLEntry.Thumbnail#Thumbnail(Class, Object, Image, URL, String)`
`T` `ImageURLEntryMapper.instantiate(RowItem row)`

Uses of RowItem in com.antelmann.net.mail

Methods in com.antelmann.net.mail with parameters of type RowItem
`protected MessageEntry` `MessageEntryMapper.createMessage(RowItem row)`
`M` `MessageEntryMapper.instantiate(RowItem row)`

Uses of RowItem in com.antelmann.sql

Methods in com.antelmann.sql that return RowItem
`RowItem` `BaseRowMapper.convertBack(T obj)`
`static RowItem` `RowItem.extractRow(ResultSet rs, String idField)` the current row must not have been accessed, yet
`RowItem` `ConnectionHelper.extractRowItem(ResultSet rs, String idColumnName, String... columns)` if no further column names are given, all columns will be included
`RowItem` `ResultSetTableModel.getRow(int row)` this only works if the idField has been set correctly
`RowItem` `RowItemTableModel.getRowAt(int row)`
`RowItem` `JDBCTableModel.getRowItem(int row, int idColumn)`
`RowItem` `JDBCTableModel.getRowItem(int row, String idColumn)`
`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; null is not allowed as an idValue.
`RowItem` `ResultSetTableModel.getRowValue(int row)`
`RowItem` `WrappedObjectRowMapper.mapToRow(T object)`
`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 `BaseRowMapper.generateRowProperties(DBEntry)` method to generate the RowItem

Methods in com.antelmann.sql that return types with arguments of type RowItem
`ArrayList<RowItem>` `ConnectionHelper.findInTable(String tableName, String idColumn, String pattern, Monitor mon)`
`DBClassStore<RowItem>` `SQLDatabase.generateGenericClassStore(String table, String idColumn)` generates and returns a generic wrapped DBClassStore on RowItem objects; the store is not put into the database.
`GenericPropertyEntryStore<RowItem>` `SQLDatabase.generateGenericClassStore(String table, String idColumn, String displayColumn)` generates and returns a generic wrapped DBClassStore on RowItem objects; the store is not put into the database (as multiple stores working on different tables could map to the RowItem class).
`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<? super RowItem> filter)` filter may be null; the table name is obtained from the idField column
`ArrayList<RowItem>` `ConnectionHelper.getRowItems(String tableName, ResultSet rs, String idField, Filter<? super RowItem> filter)` allows to specify a tableName explicitly for the returned RowItem objects Note that the given ResultSet must still be closed after calling this method!
`ArrayList<RowItem>` `ConnectionHelper.getRowItems(String tableName, String idField)`
`ArrayList<RowItem>` `ConnectionHelper.getRowItems(String tableName, String idField, Filter<? super RowItem> filter)` filter may be null
`ArrayList<RowItem>` `ConnectionHelper.getRowItems(String tableName, String idField, Map<String,?> fieldRestrictions)` supports Range objects in the fieldRestrictions

Methods in com.antelmann.sql with parameters of type RowItem
`boolean` `ConnectionHelper.contains(RowItem row)` checks to see whether the given row can be found in this connection (based on the table and the id)
`T` `BaseRowMapper.convert(RowItem obj)`
`void` `ConnectionHelper.delete(RowItem row)`
`DefaultDBReference` `BaseRowMapper.extractReference(RowItem ri, Object idTopic, Object classTopic, Object stringTopic, Class<?> defaultClass)` convenience method to extract a `DBReference` from topics while optionally being able to provide a defaultClass or an `EntryClassMapper`.

`

`<S extends DBEntry> Stub<S>`

`

`BaseRowMapper.extractStub(RowItem ri, Object idTopic, Object stringTopic, Class<S> type)`
convenience method

`Object` `BaseRowMapper.getMappedValue(Object topic, RowItem ri)` convenience method: returns null if the topic is not mapped (or if the mapped value is indeed null)
`int` `ResultSetTableModel.getRowFor(RowItem entry)` only works if the idField is set
`protected void` `BaseDocumentMapper.initInstance(T entry, RowItem row)`
`void` `ConnectionHelper.insert(RowItem row)`
`T` `WrappedObjectRowMapper.instantiate(RowItem row)`
`T` `UserImplMapper.instantiate(RowItem row)`
`T` `SerializedEntrySQLMapper.instantiate(RowItem row)`
`T` `RelationshipStore.Mapper.instantiate(RowItem row)`
`T` `ObjectRowMapper.instantiate(RowItem row)` instantiates the DBEntry based on the properties in the given row.
`T` `MappedEntryMapper.instantiate(RowItem row)`
`T` `GenericPropertyEntryMapper.instantiate(RowItem row)`
`T` `DBDocumentStore.Mapper.instantiate(RowItem row)` requires a constructor of the kind `DBDocument.DBDocument(Object, com.antelmann.db.DBClassStore, boolean)`
`T` `BeanMapper.instantiate(RowItem row)`
`T` `BaseDocumentMapper.instantiate(RowItem row)`
`protected T` `BeanMapper.mapBeans(RowItem row, T entry)`
`boolean` `PropertyMapper.mapColumnsAsProperties(RowItem row, DBEntry entry)` maps all columns that are not reserved otherwise to properties only if the given entry is actually a `PropertyEntry` and `PropertyMapper.isMapRemainingColumnsAsProperties()` is true.
`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<? super RowItem> filter)` filter may be null; the table name is obtained from the idField column
`ArrayList<RowItem>` `ConnectionHelper.getRowItems(String tableName, ResultSet rs, String idField, Filter<? super RowItem> filter)` allows to specify a tableName explicitly for the returned RowItem objects Note that the given ResultSet must still be closed after calling this method!
`ArrayList<RowItem>` `ConnectionHelper.getRowItems(String tableName, String idField, Filter<? super RowItem> filter)` filter may be null
`void` `RowItemTableModel.refresh(List<RowItem> list)`
`void` `ResultSetTableModel.setRowValues(Iterable<? extends RowItem> updatedList)`

Constructors in com.antelmann.sql with parameters of type RowItem
`RowItem(Object id, RowItem row)`

Constructor parameters in com.antelmann.sql with type arguments of type RowItem
`RowItemTableModel(List<RowItem> list)`

Uses of RowItem in com.antelmann.util.gui

Constructors in com.antelmann.util.gui with parameters of type RowItem
`JPropertyEntryComponent(RowItem ri)`

Uses of RowItem in com.antelmann.util.logging

Methods in com.antelmann.util.logging with parameters of type RowItem
`void` `JDBCLogWriter.writeLogPattern(RowItem row)` the entry is split into an object array by the formatter which is then inserted into the table.

Constructor parameters in com.antelmann.util.logging with type arguments of type RowItem
`JDBCLogWriter(Connection con, LogEntryFormatter<RowItem> formatter)` requires a formatter that will split log entries in an object array which corresponds to the fields in the given table.

(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads