| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.AbstractDBObjectBuilder
public abstract class AbstractDBObjectBuilder
Abstract implementation of DBObjectbuilder that provides core support for component building of objects.
| Field Summary | 
|---|
| Fields inherited from interface oracle.javatools.db.DBObjectBuilder | 
|---|
BASE_COMPONENT_KEY | 
| Constructor Summary | |
|---|---|
protected  | 
AbstractDBObjectBuilder(AbstractDBObjectProvider pro,
                        java.lang.String type)
 | 
| Method Summary | |
|---|---|
 void | 
buildObject(SchemaObject object)
Requests that the specified object be completed.  | 
 void | 
buildObjectComponent(SchemaObject object,
                     java.lang.String key)
Uses canBuildComponents() to work out whether this builder can build just the given (key) subcomponent.  | 
protected  boolean | 
canBuildComponents()
Returns false by default.  | 
abstract  SchemaObject | 
createObject(java.lang.String name,
             Schema schema,
             DBObjectID id)
Requests the creation of a new SchemaObject of the type built by this DBObjectBuilder instance. | 
protected  void | 
ensureComponent(AbstractSchemaObject obj,
                java.lang.String key)
Ensures that the given component has been built.  | 
protected abstract  void | 
fillInObject(SchemaObject object)
 | 
protected  void | 
fillInObjectComponent(SchemaObject object,
                      java.lang.String key)
Builds the whole object by default.  | 
protected  java.lang.String | 
getObjectType()
 | 
protected  AbstractDBObjectProvider | 
getProvider()
 | 
protected  void | 
markAsBuilt(AbstractSchemaObject obj)
 | 
protected  boolean | 
needsBuilding(AbstractSchemaObject obj,
              java.lang.String key)
Returns true if the given subcomponent of the object hasn't been explicitly built yet.  | 
 boolean | 
needsBuilding(AbstractSchemaObject obj,
              java.lang.String key,
              boolean checkBuilder)
Checks whether the given component key on the given object needs building and optionally includes a check as to whether the object has been completely built already.  | 
protected  void | 
registerObject(SchemaObject object)
Shared between buildObject and buildObjects to perform any post-build tasks that are needed (e.g.  | 
protected  void | 
updateTimestamp(SchemaObject object)
Sets the timestamp of the given object if the underyling DBObjectProvide supports timestamping.  | 
protected  void | 
updateTimestamp(SchemaObject object,
                boolean force)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected AbstractDBObjectBuilder(AbstractDBObjectProvider pro,
                                  java.lang.String type)
| Method Detail | 
|---|
protected java.lang.String getObjectType()
protected AbstractDBObjectProvider getProvider()
public abstract SchemaObject createObject(java.lang.String name,
                                          Schema schema,
                                          DBObjectID id)
DBObjectBuilderDBObjectBuilder instance.
createObject in interface DBObjectBuildername - The name of the new objectschema - The schema containing the new objectid - the DBObjectID for the new object
public void buildObject(SchemaObject object)
                 throws DBException
DBObjectBuilder
buildObject in interface DBObjectBuilderobject - The object needing building
DBException - if an error occurs trying to build the object
protected abstract void fillInObject(SchemaObject object)
                              throws DBException
DBException
protected void registerObject(SchemaObject object)
                       throws DBException
DBException
protected void updateTimestamp(SchemaObject object)
                        throws DBException
DBException
protected void updateTimestamp(SchemaObject object,
                               boolean force)
                        throws DBException
DBException
protected boolean needsBuilding(AbstractSchemaObject obj,
                                java.lang.String key)
needsBuilding(AbstractSchemaObject,String,boolean)
public boolean needsBuilding(AbstractSchemaObject obj,
                             java.lang.String key,
                             boolean checkBuilder)
protected void markAsBuilt(AbstractSchemaObject obj)
protected void ensureComponent(AbstractSchemaObject obj,
                               java.lang.String key)
                        throws DBException
DBException
public void buildObjectComponent(SchemaObject object,
                                 java.lang.String key)
                          throws DBException
buildObjectComponent in interface DBObjectBuilderDBException
protected void fillInObjectComponent(SchemaObject object,
                                     java.lang.String key)
                              throws DBException
DBExceptionprotected boolean canBuildComponents()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||