| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DBEditorFactory
A DBEditorFactory is responsible for creating and editing Database Objects in a DBObjectProvider.
| Method Summary | ||
|---|---|---|
 boolean | 
canCreateDBObject(DBObjectTypeNode node)
Whether this DBEditorFactory will be able to create a new database object under the given node.  | 
|
 boolean | 
canCreateDBObject(Schema schema,
                  DBObjectProvider pro,
                  java.lang.String dbObjectType)
Whether this DBEditorFactory will be able to create a new dabtabase object of a specific type in a specific context.  | 
|
 boolean | 
canEditDBObject(DBObject obj,
                DBObjectProvider pro)
Whether this DBEditorFactory will be able to edit an existing provider object of a specific type in a specific context.  | 
|
 boolean | 
canEditDBObject(DBObjectNode node)
Deprecated. No longer needed. This check is done automatically if you use DBEditorFactoryRegistry.getEditFactory(DBObjectNode). | 
|
 boolean | 
canEditDBObject(SchemaObject obj,
                DBObjectProvider pro)
 | 
|
 boolean | 
createDBObject(DBObject newObj,
               DBObjectProvider pro)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 boolean | 
createDBObject(DBObject newObj,
               DBObjectProvider pro,
               boolean commitToProvider)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 DBObject | 
createDBObject(DBObjectNode node,
               java.lang.String dbObjectType)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 | 
createDBObject(DBObjectProvider pro,
               T template,
               DBObject parent,
               boolean commitToProvider)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 SchemaObject | 
createDBObject(DBObjectTypeNode node)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 SchemaObject | 
createDBObject(Schema schema,
               DBObjectProvider pro,
               java.lang.String dbObjectType)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 DBObject | 
createDBObject(Schema schema,
               DBObjectProvider pro,
               java.lang.String dbObjectType,
               DBObject parent,
               boolean commitToProvider)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 | 
createDBObject(Schema schema,
               DBObjectProvider pro,
               T template,
               boolean commitToProvider)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 boolean | 
editDBObject(DBObject obj,
             DBObjectProvider pro)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 boolean | 
editDBObject(DBObject obj,
             DBObjectProvider pro,
             boolean commitToProvider)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 boolean | 
editDBObject(DBObject obj,
             DBObjectProvider pro,
             DBObject child)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 boolean | 
editDBObject(DBObject obj,
             DBObjectProvider pro,
             DBObject child,
             boolean commitToProvider)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 boolean | 
editDBObject(DBObjectNode node)
Edits and existing database object in a provider.  | 
|
 boolean | 
editDBObject(SchemaObject obj,
             DBObjectProvider pro)
Deprecated. use launchDialog(DBEditorConfig) | 
|
 java.lang.String | 
getCreateLabel(java.lang.String dbObjectType)
Retrieves the menu label for creating new objects of the specified type.  | 
|
 boolean | 
isCreateSupported(java.lang.String dbObjectType)
Whether this DBEditorFactory supports the creation of objects of the specified type.  | 
|
 void | 
launchDialog(DBEditorConfig config)
Launches a create or edit dialog appropriate to the given DBEditorConfig.  | 
|
 java.lang.String[] | 
listSupportedTypes()
Lists all the types that create/edit is supported for.  | 
|
| Method Detail | 
|---|
boolean isCreateSupported(java.lang.String dbObjectType)
dbObjectType - the type of object
DBObject.getType()java.lang.String[] listSupportedTypes()
DBObject.getType()java.lang.String getCreateLabel(java.lang.String dbObjectType)
dbObjectType - the type of object
DBObject.getType()
boolean canCreateDBObject(Schema schema,
                          DBObjectProvider pro,
                          java.lang.String dbObjectType)
schema - The schema to create the object inpro - The DBObjectProvider instance to create the object indbObjectType - The type of database object to createDBObjectProvider, 
DBObject.getType()boolean canCreateDBObject(DBObjectTypeNode node)
boolean canEditDBObject(DBObject obj,
                        DBObjectProvider pro)
obj - The SchemaObject to be editedpro - The DBObjectProvider instance to create the object inchild - a specific child object to edit
boolean canEditDBObject(SchemaObject obj,
                        DBObjectProvider pro)
canEditDBObject(DBObject,DBObjectProvider)@Deprecated boolean canEditDBObject(DBObjectNode node)
DBEditorFactoryRegistry.getEditFactory(DBObjectNode).
void launchDialog(DBEditorConfig config)
config - the configuration for launching the dialog
@Deprecated
SchemaObject createDBObject(Schema schema,
                                       DBObjectProvider pro,
                                       java.lang.String dbObjectType)
launchDialog(DBEditorConfig)
schema - The schema to create the object inpro - The DBObjectProvider instance to create the object indbObjectType - The type of database object to create
DBObjectProvider, 
DBObject.getType()@Deprecated SchemaObject createDBObject(DBObjectTypeNode node)
launchDialog(DBEditorConfig)
node - the node describing the schema, type and provider
@Deprecated
DBObject createDBObject(Schema schema,
                                   DBObjectProvider pro,
                                   java.lang.String dbObjectType,
                                   DBObject parent,
                                   boolean commitToProvider)
launchDialog(DBEditorConfig)
schema - The schema to create the object inpro - The DBObjectProvider instance to create the object indbObjectType - The type of database object to createparent - the owning object of the object to be created (e.g. Table for
 a new Index)commitToProvider - whether the dialog should commit the change back
 to the DBObjectProvider as well as the parent object. This allows a dialog
 to be fired from within another editor context (e.g. the modeler) and the
 edit absorbed into the edit of the parent (e.g. editing a Table, create a
 new Index as part of the edit and commit the whole lot together later).
DBObjectProvider, 
DBObject.getType()
@Deprecated
<T extends SystemObject> T createDBObject(Schema schema,
                                                     DBObjectProvider pro,
                                                     T template,
                                                     boolean commitToProvider)
launchDialog(DBEditorConfig)
schema - The schema to create the object inpro - The DBObjectProvider instance to create the object intemplate - An object to use as a template for the new objectcommitToProvider - whether the dialog should commit the change back
 to the DBObjectProvider as well as the parent object. This allows a dialog
 to be fired from within another editor context (e.g. the modeler) and the
 edit absorbed into the edit of the parent (e.g. editing a Table, create a
 new Index as part of the edit and commit the whole lot together later).
DBObjectProvider, 
DBObject.getType()
@Deprecated
<T extends DBObject> T createDBObject(DBObjectProvider pro,
                                                 T template,
                                                 DBObject parent,
                                                 boolean commitToProvider)
launchDialog(DBEditorConfig)
pro - The DBObjectProvider instance to create the object intemplate - the template for the new objectparent - the owning object of the object to be created (e.g. Table for
 a new Index)commitToProvider - whether the dialog should commit the change back
 to the DBObjectProvider as well as the parent object. This allows a dialog
 to be fired from within another editor context (e.g. the modeler) and the
 edit absorbed into the edit of the parent (e.g. editing a Table, create a
 new Index as part of the edit and commit the whole lot together later).
DBObjectProvider, 
DBObject.getType()
@Deprecated
DBObject createDBObject(DBObjectNode node,
                                   java.lang.String dbObjectType)
launchDialog(DBEditorConfig)
Index.TYPE this will fire the new Index dialog using the
 Table as a base.
node - the node for the parent objectdbObjectType - the type of child object to be created
@Deprecated
boolean createDBObject(DBObject newObj,
                                  DBObjectProvider pro)
launchDialog(DBEditorConfig)
newObj - the new object being createdpro - The DBObjectProvider instance to create the object in
DBObjectProvider
@Deprecated
boolean createDBObject(DBObject newObj,
                                  DBObjectProvider pro,
                                  boolean commitToProvider)
launchDialog(DBEditorConfig)
newObj - the new object being createdpro - The DBObjectProvider instance to create the object incommitToProvider - whether the dialog should commit the change back
 to the DBObjectProvider as well as the parent object. This allows a dialog
 to be fired from within another editor context (e.g. the modeler) and the
 edit absorbed into the edit of the parent (e.g. editing a Table, create a
 new Index as part of the edit and commit the whole lot together later).
DBObjectProvider
@Deprecated
boolean editDBObject(DBObject obj,
                                DBObjectProvider pro)
launchDialog(DBEditorConfig)
obj - The SchemaObject to be editedpro - The DBObjectProvider instance to create the object in
@Deprecated
boolean editDBObject(SchemaObject obj,
                                DBObjectProvider pro)
launchDialog(DBEditorConfig)
editDBObject(DBObject,DBObjectProvider)
@Deprecated
boolean editDBObject(DBObject obj,
                                DBObjectProvider pro,
                                boolean commitToProvider)
launchDialog(DBEditorConfig)
obj - The SchemaObject to be editedpro - The DBObjectProvider instance to create the object incommitToProvider - whether the dialog should commit the change back
 to the DBObjectProvider as well as the parent object. This allows a dialog
 to be fired from within another editor context (e.g. the modeler) and the
 edit absorbed into the edit of the parent (e.g. editing a Table, edit an
 Index as part of the table edit and commit the whole lot together later).
@Deprecated
boolean editDBObject(DBObject obj,
                                DBObjectProvider pro,
                                DBObject child)
launchDialog(DBEditorConfig)
obj - The SchemaObject to be editedpro - The DBObjectProvider instance to create the object inchild - a specific child object to edit
boolean editDBObject(DBObjectNode node)
node - the node representing the object to edit.
#launchDialog(DBEditorConfig)}
@Deprecated
boolean editDBObject(DBObject obj,
                                DBObjectProvider pro,
                                DBObject child,
                                boolean commitToProvider)
launchDialog(DBEditorConfig)
obj - The SchemaObject to be editedpro - The DBObjectProvider instance to create the object inchild - a specific child object to editcommitToProvider - whether the dialog should commit the change back
 to the DBObjectProvider as well as the parent object. This allows a dialog
 to be fired from within another editor context (e.g. the modeler) and the
 edit absorbed into the edit of the parent (e.g. editing a Table, edit an
 Index as part of the table edit and commit the whole lot together later).
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||