org.opengts.dbtools
Interface DBFactory.CustomFactoryHandler

All Known Implementing Classes:
StartupInit
Enclosing class:
DBFactory<gDBR extends DBRecord>

public static interface DBFactory.CustomFactoryHandler

CustomFactoryHandler interface


Method Summary
<T extends DBRecord<T>>
DBFactory<T>
createDBFactory(java.lang.String utableName, DBField[] field, DBFactory.KeyType keyType, java.lang.Class<T> rcdClass, java.lang.Class<? extends DBRecordKey<T>> keyClass, boolean editable, boolean viewable)
          Create a DBFactory instance.
(may return null to indicate that the default DBFactory should be created)
 java.util.List<DBField> selectFields(DBFactory factory, java.util.List<DBField> fields)
          Augment selected DBFields
 

Method Detail

createDBFactory

<T extends DBRecord<T>> DBFactory<T> createDBFactory(java.lang.String utableName,
                                                     DBField[] field,
                                                     DBFactory.KeyType keyType,
                                                     java.lang.Class<T> rcdClass,
                                                     java.lang.Class<? extends DBRecordKey<T>> keyClass,
                                                     boolean editable,
                                                     boolean viewable)
Create a DBFactory instance.
(may return null to indicate that the default DBFactory should be created)


selectFields

java.util.List<DBField> selectFields(DBFactory factory,
                                     java.util.List<DBField> fields)
Augment selected DBFields