Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.db.dialogs
Class DBEditorFactoryRegistry

java.lang.Object
  extended by oracle.ide.db.dialogs.DBEditorFactoryRegistry

public class DBEditorFactoryRegistry
extends java.lang.Object

Registry where DBEditorFactory classes are registered to provider create/edit support for a given class of DBObjectProvider.

Since:
11.0

Method Summary
static DBEditorFactory getCreateFactory(DBObjectProvider pro, java.lang.String dbObjectType)
          Finds and returns a factory that can create an object of the given type in the given schema and provider.
static DBEditorFactory getCreateFactory(DBObjectTypeNode node)
          Finds and returns a factory that can create an object of the given type in the given schema and provider.
static DBEditorFactory getEditFactory(DBObject obj, DBObjectProvider pro)
          Finds and returns a factory that can edit the given object.
static DBEditorFactory getEditFactory(DBObjectNode node)
          Finds and returns a factory that can edit the given object.
static DBEditorFactory getEditFactory(SchemaObject obj, DBObjectProvider pro)
           
static void registerDBEditorFactory(java.lang.Class providerClass, DBEditorFactory factory)
          Registers a factory against a given provider class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerDBEditorFactory

public static void registerDBEditorFactory(java.lang.Class providerClass,
                                           DBEditorFactory factory)
Registers a factory against a given provider class.

See Also:
DBObjectProvider

getCreateFactory

public static DBEditorFactory getCreateFactory(DBObjectProvider pro,
                                               java.lang.String dbObjectType)
Finds and returns a factory that can create an object of the given type in the given schema and provider.

Returns:
null if the provider isn't supported or the object cannot be created.

getCreateFactory

public static DBEditorFactory getCreateFactory(DBObjectTypeNode node)
Finds and returns a factory that can create an object of the given type in the given schema and provider.

Returns:
null if the provider isn't supported or the object cannot be created.

getEditFactory

public static DBEditorFactory getEditFactory(SchemaObject obj,
                                             DBObjectProvider pro)
See Also:
getEditFactory(DBObject,DBObjectProvider)

getEditFactory

public static DBEditorFactory getEditFactory(DBObject obj,
                                             DBObjectProvider pro)
Finds and returns a factory that can edit the given object.

Returns:
null if the provider isn't supported or the object cannot be modified.

getEditFactory

public static DBEditorFactory getEditFactory(DBObjectNode node)
Finds and returns a factory that can edit the given object. The node must contain a SchemaObject.

Returns:
null if the provider isn't supported or the object cannot be modified.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.