Holger's Java API

## Uses of Class
com.antelmann.Warning

Packages that use Warning
com.antelmann.db: This package contains generally useful classes for generic database management.
com.antelmann.math: This package contains classes to ease calculations.
com.antelmann.ooffice: The classes in this package are to be used in conjunction with OpenOffice.
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: This package contains generally useful classes that are used throughout the other packages in this framework.
com.antelmann.util.gui: This package contains utility classes for GUI related implementations.
com.antelmann.util.table: This package provides useful additions to TableModels and contains classes to ease development with Swing tables.

Uses of Warning in com.antelmann.db

Classes in com.antelmann.db with annotations of type Warning
`class` `ArchiveDBClassStore<T extends DBEntry>` allows to add an archive store to any given store, which enables to extend the data set.

Methods in com.antelmann.db with annotations of type Warning

`static

`<T extends DBEntry> Stub<T>`

`

`Stub.asStub(T entry)`

`void` `DatabaseChangeListener.committedDatabaseChanges(Database<?> db, DBUpdateEvent... events)` called after successfully committing the given DBUpdateEvents on the database.
`int` `DBClassStore.deleteEntries(Filter<? super T> filter)` deletes all DBEntry objects that match the given filter; if the filter is null, all resources are deleted.

`static

`<E extends DBEntry,I> I`

`

`AbstractDatabase.extractInterface(DBClassStore<E> store, Class<I> desiredInterface)`
allows to extract an interface from a store only if it is 'exposed'

`DBEnumeration<T>` `WrappedDBClassStore.fetch(Filter<? super T> filter)`
`DBEnumeration<Stub<T>>` `WrappedDBClassStore.fetchStubs(Filter<? super Stub<?>> filter)`
`int` `LockManager.forceUnlockForAll(long anyLockAquiredBeforeThisTime)`
`void` `CollectionClassStore.put(T entry)`
`void` `CollectionClassStore.remove(T entry)`
`void` `Category.Adapter.setChildren(Collection<Category<T>> col)`
`void` `ArchiveDBClassStore.setEnableArchiveEdit(boolean enableArchiveEdit)`
`void` `WrappedDBClassStore.setFetchProcessor(Processor<T,? extends DatabaseException> fetchProcessor)`
`void` `SessionIdGenerator.setSessionDataManually(String sessionPrefix, int counter, boolean yesIKnowWhatIAmDoing)` allows to manually override the session prefix - use with caution - if at all
`void` `WrappedDBClassStore.setStubProcessor(Processor<Stub<T>,? extends DatabaseException> stubProcessor)`
`void` `TransactionListener.transactionAborted(DBTransaction transaction)` called after a database transaction was aborted; the transaction is already inactive.
`void` `TransactionListener.transactionCommitted(DBTransaction transaction)` called after a successful database commit; the transaction is already inactive.

`protected

`<X> Filter<X>`

`

`WrappedDBClassStore.wrapFilterForProcessing(Filter<? super X> filter, Processor<X,? extends DatabaseException> p)`
This method is only used if `WrappedDBClassStore.setProcessBeforeFiltering(boolean)` is set to true.

Constructors in com.antelmann.db with annotations of type Warning
`UserImpl(Object id, User user)`

Uses of Warning in com.antelmann.math

Methods in com.antelmann.math with annotations of type Warning
`double` `DataPoint.getSampleStandardDeviation()` only applicable for a count greater than 1
`double` `DataPoint.getStandardDeviation()`
`void` `GeoPoint.importXML(InputStream source)`
`void` `JDataMatrixView.redraw()`

Constructors in com.antelmann.math with annotations of type Warning
`DataPoint()` initializes the data point with a count of 0; only use an instance constructed like this if you added some data later!

Uses of Warning in com.antelmann.ooffice

Methods in com.antelmann.ooffice with annotations of type Warning
`String` `OOCalc.insertImage(int sheet, Image image, Point point)`

Uses of Warning in com.antelmann.sql

Methods in com.antelmann.sql with annotations of type Warning
`void` `ConnectionHelper.exportAsCSV(ResultSet rs, Writer writer, Monitor mon)`
`void` `ConnectionHelper.exportAsCSV(ResultSet rs, Writer writer, Monitor mon, boolean useQuotes, String fieldSeparator, String recordSeparator, boolean includeHeader)` streams the given ResultSet to the given Writer; note that neither resource is closed within this call!
`HashMap<String,Object>` `ConnectionHelper.extractRow(ResultSet rs, String... columns)` extracts the current row in the given ResultSet into a HashMap; if no columns are given, all columns will be included.
`RowItem` `ConnectionHelper.extractRowItem(ResultSet rs, String idColumnName, String... columns)` if no further column names are given, all columns will be included
`ArrayList<HashMap<String,Object>>` `ConnectionHelper.extractRows(ResultSet rs, String... columns)` returns a map per row, where column names are mapped to their respective value.
`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).
`protected Integer` `BaseRowMapper.getNextIntID()` a convenience implementation for easily providing a way of generating new IDs for tables using an integer column as ID column.

`

`<T extends DBEntry> T`

`

`SQLDatabase.getRandomEntry(Class<T> type, Filter<? super T> filter)`

`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!
`protected void` `BaseDocumentMapper.initKeys()` this is the place to adjust column names for a subclass
`protected void` `TaggablePropertyEntrySQLStore.initKeys(Database<Connection> db, ObjectRowMapper<T> mapper, Class<T> type, Class<G> groupType)` this method is called in the constructor and only allows to customize the protected member variables before they get used.
`protected void` `BaseRowMapper.initMapping()` responsible for initializing and caching the meta data for the `MappingInfo` interface; note that this method is indirectly called by the constructor
`void` `MySQLHelper.setSessionVariable(String variable, String value)`
`protected void` `BaseRowMapper.setTableQuery(String tableQuery)` allows to set a query for mapping the data instead of just using the table name.
`protected void` `BaseRowMapper.setTableQuery(String tableQuery, String newIdColumn)` in addition to setting a table query, this also allows to change the id column (often required to ensure the uniqueness of the id column in a query that may contain the column multiple times).

Constructors in com.antelmann.sql with annotations of type Warning
`TaggableSQLStore(DBClassStore<T> store, String groupTable, String idColumn, String groupColumn, Class<G> groupType)`

Uses of Warning in com.antelmann.util

Classes in com.antelmann.util with annotations of type Warning
`class` `Placeholder<T>` useful for storing immutable objects in local variables which are used in inner classes when the value may change or to enable 'call by reference' on methods with otherwise primitive parameters.

Methods in com.antelmann.util with annotations of type Warning
`boolean` `ReferenceHolder.clear()` releases the instance and returns true only if it was previously held in memory.

`static

`<T> T`

`

`Misc.create(boolean enforceAccessability, Class<T> type, Object... params)`

`static

`<T> T`

`

`XmlHelper.deserializeXML(String xml, boolean throwExceptions)`

`static Object` `Misc.invoke(Object obj, boolean enforceAccessibility, String methodName, Object... params)` attempts to invoke the given method with the given parameters on the given object via reflection.

`static

`<T> T`

`

`Misc.unsaveCast(Object t)`
allows to delegate an 'unsave' cast to this method so that the remainder of a calling method remains 'save' - provided that you know what your're doing here

Uses of Warning in com.antelmann.util.gui

Methods in com.antelmann.util.gui with annotations of type Warning
`protected JComponent` `JPropertyEntryComponent.createComponentFor(Class<?> c)` This implementation supports String (via JTextField), Number (via JFormattedTextField), Boolean (via JCheckBox), Color (via JColorChooser) and Date (via JTimeChooser); others are simply handled via JTextField (including a null parameter).
`protected JComponent` `JPropertyEntryComponent.createLabelFor(String key)` allows to customize the way the labels for each key are created
`protected Action` `JURLField.createOpenAction(ValueRetriever<URL> retriever)`

Constructors in com.antelmann.util.gui with annotations of type Warning
`JTagsField()` only here to serve as a bean; an instance constructed this way will be non-functional

Uses of Warning in com.antelmann.util.table

Methods in com.antelmann.util.table with annotations of type Warning
`void` `RowNumberTableModel.addTableModelListener(TableModelListener listener)`

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