|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.AbstractDBObjectBuilder<T> oracle.javatools.db.dictionary.DictionaryDBObjectBuilder<T>
public abstract class DictionaryDBObjectBuilder<T extends AbstractBuildableObject>
Extension of AbstractDBObjectBuilder that includes some database specific support such as connections and query wrappers.
Field Summary |
---|
Fields inherited from interface oracle.javatools.db.DBObjectBuilder |
---|
BASE_COMPONENT_KEY |
Constructor Summary | |
---|---|
protected |
DictionaryDBObjectBuilder(DictionaryDatabase db,
java.lang.String type)
|
Method Summary | |
---|---|
void |
buildObject(T object)
Requests that the specified object be completed. |
void |
buildObjectComponent(T object,
java.lang.String key)
Uses canBuildComponents() to work out whether this builder can build just the given (key) subcomponent. |
protected abstract void |
fillInObject(T object)
Called to fill in the object definition. |
protected java.sql.Connection |
getConnection()
|
protected DictionaryDatabase |
getDatabase()
|
protected QueryWrapper |
newQueryWrapper(java.lang.String query,
java.lang.Object... params)
|
Methods inherited from class oracle.javatools.db.AbstractDBObjectBuilder |
---|
canBuildComponents, createObject, ensureComponent, fillInObjectComponent, getObjectType, getProvider, getSchema, markAsBuilt, needsBuilding, needsBuilding, registerObject, updateTimestamp, updateTimestamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DictionaryDBObjectBuilder(DictionaryDatabase db, java.lang.String type)
Method Detail |
---|
protected DictionaryDatabase getDatabase()
protected final java.sql.Connection getConnection()
protected QueryWrapper newQueryWrapper(java.lang.String query, java.lang.Object... params)
public final void buildObject(T object) throws DBException
DBObjectBuilder
buildObject
in interface DBObjectBuilder<T extends AbstractBuildableObject>
buildObject
in class AbstractDBObjectBuilder<T extends AbstractBuildableObject>
object
- The object needing building
DBException
- if an error occurs trying to build the objectpublic final void buildObjectComponent(T object, java.lang.String key) throws DBException
AbstractDBObjectBuilder
buildObjectComponent
in interface DBObjectBuilder<T extends AbstractBuildableObject>
buildObjectComponent
in class AbstractDBObjectBuilder<T extends AbstractBuildableObject>
DBException
protected abstract void fillInObject(T object) throws DBException
fillInObject
in class AbstractDBObjectBuilder<T extends AbstractBuildableObject>
object
- The object to fill in
DBException
- thrown if an error occurs
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |