Holger's
Java API

Uses of Class
com.antelmann.db.Stub

Packages that use Stub
com.antelmann.crm Provides interfaces and classes for implementing applications dealing with Customer Relationship Management (CRM). 
com.antelmann.db This package contains generally useful classes for generic database management. 
com.antelmann.genealogy This package contains classes that provide classes to implement applications dealing with genealogy related issues. 
com.antelmann.io This package contains classes that are concerned with input/output operations. 
com.antelmann.opengeodb This package contains classes easing to deal with geological data as provided by http://opengeodb.org/. 
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. 
 

Uses of Stub in com.antelmann.crm
 

Constructors in com.antelmann.crm with parameters of type Stub
FriendsEntry(Object id, Stub<T> person, Stub<T> friend)
           
FriendsEntry(Object id, Stub<T> person, Stub<T> friend)
           
 

Uses of Stub in com.antelmann.db
 

Methods in com.antelmann.db that return Stub
 Stub<T> EntryHeader.asStub()
           
static
<T extends DBEntry>
Stub<T>
Stub.asStub(T entry)
           
static
<T extends DBEntry>
Stub<T>
Stub.castStub(Stub<?> stub, Class<T> t)
           
<T extends DBEntry>
Stub<T>
AbstractDatabase.getFirstStub(Class<T> type, Filter<Stub<?>> filter)
           
static
<T extends DBEntry>
Stub<T>
DBUtils.getFirstStub(DBClassStore<T> store, Filter<? super Stub<?>> filter)
           
 Stub<F> SpecialRelationship.getFromReference()
           
 Stub<F> DefaultSpecialRelationship.getFromReference()
           
<T extends DBEntry>
Stub<T>
AbstractDatabase.getRandomStub(Class<T> type)
           
static
<T extends DBEntry>
Stub<T>
DBUtils.getRandomStub(DBClassStore<T> store)
           
<T extends DBEntry>
Stub<T>
AbstractDatabase.getStub(Class<T> c, Object id)
          a shortcut w/o having to go through the DBClassStore
 Stub<? extends DBEntry> AbstractDatabase.getStub(DBReference ref)
          This method will begin and abort a transaction if none is active at the time.
 Stub<T> WrappedDBClassStore.getStub(Object id)
           
 Stub<T> ReadOnlyCacheStore.getStub(Object id)
           
 Stub<T> DBClassStoreCache.getStub(Object id)
           
 Stub<T> DBClassStore.getStub(Object id)
          returns a Stub representing the resource for the given ID or null.
 Stub<T> CollectionClassStore.getStub(Object id)
           
 Stub<T> ArchiveDBClassStore.getStub(Object id)
           
 Stub<T> AbstractDBClassStore.getStub(Object id)
           
 Stub<T> SpecialRelationship.getToReference()
           
 Stub<T> DefaultSpecialRelationship.getToReference()
           
static Stub<?> DBUtils.loadStub(Database<?> db, DBReference ref)
          reloads a reference as a stub, so that the display value is properly initialized.
static Stub<?> Stub.makeStub(DBReference ref)
          if the given reference is already a stub, the same is returned; null parameter or empty references result in null as a return value
static
<T extends DBEntry>
Stub<T>
Stub.makeStub(DBReference ref, Class<T> type)
          combines makeStub(DBReference) and castStub(Stub, Class)
static
<T extends DBEntry>
Stub<T>
Stub.makeStub(Object id, Object displayValue, Class<T> type)
           
 Stub<T> Stub.reloadInstance(Database<?> db)
           
 Stub<T> Stub.reloadInstance(DBClassStore<T> store)
           
static
<T extends DBEntry>
Stub<T>
Stub.verify(Stub<?> stub, Class<T> type)
          verifies that the given stub is indeed of the given type
 

Methods in com.antelmann.db that return types with arguments of type Stub
 DBEnumeration<Stub<T>> WrappedDBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 DBEnumeration<Stub<T>> ReadOnlyCacheStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 DBEnumeration<Stub<T>> DBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
          allows to access objects from this store w/o having to instantiate the entire original objects, but instead use Stubs to be able to display the list properly for selection.
 DBEnumeration<Stub<T>> CollectionClassStore.fetchStubs(Filter<? super Stub<?>> filter)
          the display value of the returned Stub is based on the toString() method of the DBEntry instance
 DBEnumeration<Stub<T>> ArchiveDBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 DBEnumeration<Stub<T>> AbstractDBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 Filter<? super Stub<?>> WrappedDBClassStore.getAccessStubFilter()
           
static PatternExtractor<Stub<?>,Object> Stub.getIDExtractor()
           
static
<T extends DBEntry>
PatternExtractor<T,Stub<T>>
Stub.getStubExtractor()
           
 Processor<Stub<T>,? extends DatabaseException> WrappedDBClassStore.getStubProcessor()
           
<T extends DBEntry>
ArrayList<Stub<T>>
AbstractDatabase.listStubs(Class<T> c, Filter<? super Stub<?>> filter)
          This method will begin and abort a transaction if none is active at the time.
static
<T extends DBEntry>
ArrayList<Stub<T>>
DBUtils.listStubs(DBClassStore<T> store, Filter<? super Stub<?>> filter)
           
static
<T extends DBEntry>
ArrayList<Stub<T>>
DBUtils.listStubs(DBClassStore<T> store, Filter<? super Stub<?>> filter, int maxEntries)
           
<T extends DBEntry>
Hashtable<Object,Stub<T>>
AbstractDatabase.mapStubs(Class<T> c, Filter<? super Stub<?>> filter)
          returns a Hashtable mapping the ID to its Stub of those that apply to the given filter.
static
<T extends DBEntry>
Hashtable<Object,Stub<T>>
DBUtils.mapStubs(Collection<Stub<T>> stubs, Filter<? super Stub<T>> filter)
           
static
<T extends DBEntry>
Hashtable<Object,Stub<T>>
DBUtils.mapStubs(DBClassStore<T> store, Filter<? super Stub<?>> filter)
           
 

Methods in com.antelmann.db with parameters of type Stub
static
<T extends DBEntry>
Stub<T>
Stub.castStub(Stub<?> stub, Class<T> t)
           
 int Stub.compareTo(Stub<?> stub)
          uses the default UniversalComparator on the displayValue and then on the ID
 boolean AbstractDatabase.delete(Stub<?> stub)
           
<T extends DBEntry>
T
AbstractDatabase.getEntry(Stub<T> stub)
          This method will begin and abort a transaction if none is active at the time.
static
<T extends DBEntry>
Stub<T>
Stub.verify(Stub<?> stub, Class<T> type)
          verifies that the given stub is indeed of the given type
 

Method parameters in com.antelmann.db with type arguments of type Stub
<T extends DBEntry>
int
AbstractDatabase.countStubs(Class<T> c, Filter<Stub<?>> filter)
           
 DBEnumeration<Stub<T>> WrappedDBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 DBEnumeration<Stub<T>> ReadOnlyCacheStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 DBEnumeration<Stub<T>> DBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
          allows to access objects from this store w/o having to instantiate the entire original objects, but instead use Stubs to be able to display the list properly for selection.
 DBEnumeration<Stub<T>> CollectionClassStore.fetchStubs(Filter<? super Stub<?>> filter)
          the display value of the returned Stub is based on the toString() method of the DBEntry instance
 DBEnumeration<Stub<T>> ArchiveDBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 DBEnumeration<Stub<T>> AbstractDBClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
<T extends DBEntry>
Stub<T>
AbstractDatabase.getFirstStub(Class<T> type, Filter<Stub<?>> filter)
           
static
<T extends DBEntry>
Stub<T>
DBUtils.getFirstStub(DBClassStore<T> store, Filter<? super Stub<?>> filter)
           
<T extends DBEntry>
ArrayList<Stub<T>>
AbstractDatabase.listStubs(Class<T> c, Filter<? super Stub<?>> filter)
          This method will begin and abort a transaction if none is active at the time.
static
<T extends DBEntry>
ArrayList<Stub<T>>
DBUtils.listStubs(DBClassStore<T> store, Filter<? super Stub<?>> filter)
           
static
<T extends DBEntry>
ArrayList<Stub<T>>
DBUtils.listStubs(DBClassStore<T> store, Filter<? super Stub<?>> filter, int maxEntries)
           
<T extends DBEntry>
Hashtable<Object,Stub<T>>
AbstractDatabase.mapStubs(Class<T> c, Filter<? super Stub<?>> filter)
          returns a Hashtable mapping the ID to its Stub of those that apply to the given filter.
static
<T extends DBEntry>
Hashtable<Object,Stub<T>>
DBUtils.mapStubs(Collection<Stub<T>> stubs, Filter<? super Stub<T>> filter)
           
static
<T extends DBEntry>
Hashtable<Object,Stub<T>>
DBUtils.mapStubs(Collection<Stub<T>> stubs, Filter<? super Stub<T>> filter)
           
static
<T extends DBEntry>
Hashtable<Object,Stub<T>>
DBUtils.mapStubs(DBClassStore<T> store, Filter<? super Stub<?>> filter)
           
 void WrappedDBClassStore.setAccessStubFilter(Filter<? super Stub<?>> accessStubFilter)
          allows to not only filter entries themselves but also their respective stubs if applicable
 void WrappedDBClassStore.setStubProcessor(Processor<Stub<T>,? extends DatabaseException> stubProcessor)
           
 

Constructors in com.antelmann.db with parameters of type Stub
DefaultSpecialRelationship(Object id, Stub<F> fromReference, Stub<T> toReference, R type)
           
DefaultSpecialRelationship(Object id, Stub<F> fromReference, Stub<T> toReference, R type)
           
DefaultSpecialRelationship(Object id, Stub<F> fromReference, Stub<T> toReference, R type, boolean bidirectional)
           
DefaultSpecialRelationship(Object id, Stub<F> fromReference, Stub<T> toReference, R type, boolean bidirectional)
           
 

Uses of Stub in com.antelmann.genealogy
 

Methods in com.antelmann.genealogy that return Stub
 Stub<GPerson> GPersonalBlogEntry.getDocumentReference()
           
 Stub<GPerson> GPath.getEnd()
           
 Stub<GPerson> GPersonalBlogEntry.getPerson()
           
 Stub<GPerson> GPath.getStart()
           
 Stub<GUser> GAnnotation.getUser()
           
 

Methods in com.antelmann.genealogy with parameters of type Stub
 void GPersonalBlogEntry.setPerson(Stub<GPerson> person)
           
 void GAnnotation.setUser(Stub<GUser> user)
           
 

Constructors in com.antelmann.genealogy with parameters of type Stub
GEventRelation(Object id, Stub<P> fromReference, Stub<E> toReference, R role)
           
GEventRelation(Object id, Stub<P> fromReference, Stub<E> toReference, R role)
           
GPersonalBlogEntry(Object id, Stub<GPerson> person, long time, String notes)
           
GPersonRelation(Object id, Stub<GPerson> fromReference, Stub<GPerson> toReference, GPersonRelationType type)
           
GPersonRelation(Object id, Stub<GPerson> fromReference, Stub<GPerson> toReference, GPersonRelationType type)
           
 

Uses of Stub in com.antelmann.io
 

Methods in com.antelmann.io that return Stub
 Stub<T> FileClassStore.getStub(Object id)
           
protected  Stub<T> FileClassStore.loadStub(File file)
           
 

Methods in com.antelmann.io that return types with arguments of type Stub
 DBEnumeration<Stub<T>> FileClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 

Method parameters in com.antelmann.io with type arguments of type Stub
 DBEnumeration<Stub<T>> FileClassStore.fetchStubs(Filter<? super Stub<?>> filter)
           
 

Uses of Stub in com.antelmann.opengeodb
 

Methods in com.antelmann.opengeodb that return Stub
 Stub<GeoLocation> GeoProperty.getLocation()
           
 Stub<GeoLocation> GeoLocation.getParent()
           
 

Uses of Stub in com.antelmann.sql
 

Methods in com.antelmann.sql that return Stub
 Stub<T> WrappedObjectRowMapper.extractStub(ResultSet rs, Class<T> typeClass)
           
 Stub<T> ObjectRowMapper.extractStub(ResultSet rs, Class<T> typeClass)
           
 Stub<T> BaseRowMapper.extractStub(ResultSet rs, Class<T> typeClass)
          this is used to generate the Stub from a row, using the displayColumn from the mapper.
<S extends DBEntry>
Stub<S>
BaseRowMapper.extractStub(RowItem ri, Object idTopic, Object stringTopic, Class<S> type)
          convenience method
 Stub<T> JDBCRowStore.getStub(Object id)
           
 

Methods in com.antelmann.sql that return types with arguments of type Stub
 SQLComboFilter<Stub<?>> SQLComboFilter.asStubFilter()
           
 DBEnumeration<Stub<T>> JDBCRowStore.fetchStubs(Filter<? super Stub<?>> filter)
          This implementation supports SQLStubFilter and SQLDirectQueryEntryFilter objects; but otherwise, it doesn't filter in any more intelligent way than leaving the filtering to the AbstractIterator.
 Filter<? super Stub<?>> ForeignKeyMappingInfo.getForeignKeyFilter(String column)
          returns a filter that limits the allowed choices for the foreign key column; may be null
 Filter<? super Stub<?>> DefaultMappingInfo.getForeignKeyFilter(String column)
           
 Filter<? super Stub<?>> SQLStubFilter.getInnerFilter()
           
 Filter<? super Stub<?>> DefaultMappingInfo.setForeinKeyFilter(String column, Filter<? super Stub<?>> filter)
           
 

Methods in com.antelmann.sql with parameters of type Stub
 boolean SQLStubFilter.accept(Stub<?> stub)
          always returns true; useful filtering only applies for the SQL-selection
 

Method parameters in com.antelmann.sql with type arguments of type Stub
 DBEnumeration<Stub<T>> JDBCRowStore.fetchStubs(Filter<? super Stub<?>> filter)
          This implementation supports SQLStubFilter and SQLDirectQueryEntryFilter objects; but otherwise, it doesn't filter in any more intelligent way than leaving the filtering to the AbstractIterator.
 ResultSet WrappedObjectRowMapper.getStubResultSet(Filter<? super Stub<?>> filter)
           
 ResultSet ObjectRowMapper.getStubResultSet(Filter<? super Stub<?>> filter)
          creates and returns the ResultSet used for fetching stubs that corresponds closest to the filter for extracting Stub entries.
 ResultSet BaseRowMapper.getStubResultSet(Filter<? super Stub<?>> filter)
          supports the same functionality as BaseRowMapper.getResultSet(Filter); additional support for SQLStubFilter
 Filter<? super Stub<?>> DefaultMappingInfo.setForeinKeyFilter(String column, Filter<? super Stub<?>> filter)
           
 void SQLStubFilter.setInnerFilter(Filter<? super Stub<?>> internalFilter)
           
 

Constructor parameters in com.antelmann.sql with type arguments of type Stub
SQLStubFilter(Map<String,Object> sqlFilter, Filter<Stub<?>> internalFilter, String... orderByColumns)
           
 

Uses of Stub in com.antelmann.util
 

Methods in com.antelmann.util that return Stub
 Stub<Country> Country.Store.getStub(Object id)
           
 

Methods in com.antelmann.util that return types with arguments of type Stub
 DBEnumeration<Stub<Country>> Country.Store.fetchStubs(Filter<? super Stub<?>> filter)
           
 

Method parameters in com.antelmann.util with type arguments of type Stub
 DBEnumeration<Stub<Country>> Country.Store.fetchStubs(Filter<? super Stub<?>> filter)
           
 

Uses of Stub in com.antelmann.util.gui
 

Methods in com.antelmann.util.gui that return types with arguments of type Stub
static
<T extends DBEntry>
ValueRetriever<Stub<T>>
MyAbstractAction.createStubRetriever(T entry)
           
static
<T extends DBEntry>
ValueRetriever<Stub<T>>
MyAbstractAction.createStubRetriever(ValueRetriever<T> retriever)
           
 



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