Package | Description |
---|---|
oracle.ide.db |
Classes for representing database objects in the IDE.
|
oracle.ide.db.components |
Contains the ComponentWrapper API, which allows DBObject properties to be associated with a UI Component, and the property value by kept synchronized with the UI.
|
oracle.ide.db.controls |
Reusable UI controls to used to show or list database objects.
|
oracle.ide.db.dialogs |
Dialogs for working with database objects in the IDE.
|
oracle.ide.db.panels |
Reusable UI panels for listing, creating or editing database objects in dialogs in the IDE.
|
oracle.ide.db.transfer |
Contains an API for transfering database object from one DBObjectProvider to another.
|
oracle.ide.db.util |
Utility classes for dealing with database objects in UI in the IDE.
|
oracle.javatools.db |
Contains a metadata API for describing database objects, and retrieving them from a provider of database objects - for example a database.
|
oracle.javatools.db.datatypes |
Classes related to datatypes in the database API.
|
oracle.javatools.db.ddl |
API for generating DDL in the database API.
|
oracle.javatools.db.dictionary |
Contains a
Database implementation (DictionaryDatabase ) that retrieves information for retrieving object information using dictionary queries (instead of the JDBC metadata). |
oracle.javatools.db.diff |
Contains a metadata driven differ of database objects.
|
oracle.javatools.db.event | |
oracle.javatools.db.extension |
Contains classes for extending the object support that comes as standard in the database api (e.g.
|
oracle.javatools.db.ora |
Contains the database api implementation for Oracle databases, and additional DBObject implementations for objects specific to Oracle.
|
oracle.javatools.db.plsql |
Classes for dealing with PL/SQL objects.
|
oracle.javatools.db.property |
Classes for dealing with properties in the database API.
|
oracle.javatools.db.refactoring |
Provides classes relevant to refactoring in a DBObjectProvider.
|
oracle.javatools.db.sql |
Contains an API for declaratively parsing SQL queries (SELECT statements).
|
oracle.jdeveloper.db.navigator |
Utilities for using the "Database Navigator" that SQL Developer provides in JDeveloper, to avoid referencing SQL Developer code directly.
|
oracle.jdeveloper.offlinedb |
Database API extension for saving database object definitions in XML files.
|
oracle.jdeveloper.offlinedb.wizard |
Wizard and dialogs that can used when working with the offline database.
|
Modifier and Type | Method and Description |
---|---|
SystemObject |
SchemaObjectDescriptor.findObject(DBObjectProvider pro)
Finds the described object in the given DBObjectProvider.
|
static SystemObject[] |
SchemaObjectDescriptor.findObjects(DBObjectProvider source, SchemaObjectDescriptor... descs)
Finds the objects for the given descriptors in a DBObjectProvider.
|
SystemObject |
SchemaObjectDescriptor.getObject()
If this is a wrapper for an existing object, this will return the object.
|
SystemObject |
SchemaObjectDescriptor.unwrapSystemObjectDescriptor(DBObjectProvider source)
Deprecated.
|
static SystemObject[] |
SchemaObjectDescriptor.unwrapSystemObjectDescriptors(SchemaObjectDescriptor[] descs, DBObjectProvider source)
|
Modifier and Type | Method and Description |
---|---|
static SchemaObjectDescriptor[] |
SchemaObjectDescriptor.createDescriptors(SystemObject[] objs)
Wraps up a set of SystemObjects into SchemaObjectDescriptors.
|
static SchemaObjectDescriptor[] |
SchemaObjectDescriptor.createDescriptors(SystemObject[] objs, boolean saveObj)
Wraps up a set of SystemObjects into SchemaObjectDescriptors.
|
boolean |
ProviderOperator.createObjects(SystemObject[] objs)
Creates the given objects in the provider.
|
abstract java.net.URL |
DBURLFactory.URLHelper.createURL(DBObjectProvider pro, SystemObject obj)
Returns the URL for the given SystemObject that is from the given provider.
|
Difference |
ProviderOperator.difference(SystemObject[] orig, SystemObject[] upd)
Diffs the two sets of objects using the provider's DiffEngine.
|
Difference |
ProviderOperator.difference(SystemObject[] orig, SystemObject[] upd)
Diffs the two sets of objects using the provider's DiffEngine.
|
static java.net.URL |
DBURLFactory.getURL(DBObjectProvider pro, SystemObject obj)
Gets the URL for the given SystemObject and DBObjectProvider.
|
boolean |
ProviderOperator.updateObjects(SystemObject[] old, SystemObject[] updateObjs)
Updates the given objects in the provider.
|
boolean |
ProviderOperator.updateObjects(SystemObject[] old, SystemObject[] updateObjs)
Updates the given objects in the provider.
|
Constructor and Description |
---|
SchemaObjectDescriptor(SystemObject obj)
Create a descriptor for the given object.
|
Modifier and Type | Method and Description |
---|---|
SystemObject |
ComponentContext.getOriginalSystemObject()
Gets the original, top level, object that is being edited.
|
SystemObject |
ComponentContext.getUpdatedSystemObject()
Gets the updated, top level, object that is being edited.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DBObjectIDComponentWrapper.initialiseNewObject(SystemObject obj)
If the add button is included, this method will be called on any new object prior to it displaying in the create dialog.
|
Modifier and Type | Class and Description |
---|---|
class |
NameEditor<T extends SystemObject>
Resuable widget for editing a SystemObject's name.
|
Modifier and Type | Method and Description |
---|---|
protected SystemObject[] |
DBObjectSourcePicker.filterAndSort(SystemObject[] objs)
Called by the picker when querying the database.
|
Modifier and Type | Method and Description |
---|---|
DBObjectCriteria<SystemObject> |
DBObjectChooser.getDBObjectCriteria() |
Modifier and Type | Method and Description |
---|---|
protected SystemObject[] |
DBObjectSourcePicker.filterAndSort(SystemObject[] objs)
Called by the picker when querying the database.
|
abstract void |
DBObjectChooser.NewObjectProcessor.initialise(SystemObject so)
Subclasses can perform any processing on the object prior to display in the Create dialog
|
Constructor and Description |
---|
DBObjectChooser(DBObjectChooser parent, DBObjectLister lister, DBObjectCriteria<SystemObject> criteria, java.lang.String... types)
Create a DBObjectChooser where the objects are listed using the given DBObjectLister and DBObjectCriteria, parented by the given DBObjectChooser.
|
Modifier and Type | Method and Description |
---|---|
<T extends SystemObject> |
DBEditorFactory.createDBObject(Schema schema, DBObjectProvider pro, T template, boolean commitToProvider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SystemObject |
DBEditorConfig.getNewObject()
Deprecated.
renamed to
DBEditorConfig.getUpdatedObject() for consistency across the API. |
SystemObject |
DBEditorConfig.getOriginalObject()
For an edit operation, this returns the original objec that the DBObjectProvider has in memory.
|
static SystemObject |
TemplateObjectChooser.getTemplate(DBObjectProvider pro, java.lang.String[] supportedTypes) |
SystemObject |
DBEditorConfig.getUpdatedObject()
Gets the "updatedObject".
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SystemObject> |
DBEditorConfig.getAdditionalObjects()
Deprecated.
with no replacement
|
Modifier and Type | Method and Description |
---|---|
void |
DBEditorConfig.setNewObject(SystemObject newObject)
Deprecated.
renamed to
DBEditorConfig.setUpdatedObject(SystemObject) for consistency across the API. |
void |
DBEditorConfig.setOriginalObject(SystemObject originalObject)
Sets the original object for an edit operation.
|
void |
DBEditorConfig.setUpdatedObject(SystemObject updatedObject)
Sets the "updated object" - i.e.
|
static boolean |
CascadeConfirmDialog.updateObjects(java.awt.Component parent, java.lang.String title, DBObjectProvider pro, SystemObject[] oldObjects, SystemObject[] newObjects)
Performs an updateObject operation.
|
static boolean |
CascadeConfirmDialog.updateObjects(java.awt.Component parent, java.lang.String title, DBObjectProvider pro, SystemObject[] oldObjects, SystemObject[] newObjects)
Performs an updateObject operation.
|
static boolean |
CascadeConfirmDialog.updateObjects(java.awt.Component parent, java.lang.String title, DBObjectProvider pro, SystemObject[] oldObjects, SystemObject[] newObjects, boolean replace)
Performs an updateObject operation.
|
static boolean |
CascadeConfirmDialog.updateObjects(java.awt.Component parent, java.lang.String title, DBObjectProvider pro, SystemObject[] oldObjects, SystemObject[] newObjects, boolean replace)
Performs an updateObject operation.
|
Modifier and Type | Method and Description |
---|---|
protected SystemObject |
DDLPanel.getOriginalObjectForDDL()
Gets the original object for the DDL to diff against for producing ALTER ddl.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PanelLibrary.addSupportedTitle(SystemObject obj, DBObjectProvider pro, java.lang.String[] propPaths, java.util.Collection<java.lang.String> titles, java.lang.String title)
Conditionally adds a title to the given list if any one of an array of properties is supported for create in the underlying provider's PropertyManager
|
protected void |
PanelLibrary.addSupportedTitle(SystemObject obj, DBObjectProvider pro, java.lang.String propPath, java.util.Collection<java.lang.String> titles, java.lang.String title)
Conditionally adds a title to the given list if a specific property is supported for create in the underlying provider's PropertyManager
|
Modifier and Type | Method and Description |
---|---|
SystemObject[] |
TransferPolicy.copyForTransfer(TransferDescriptor td, SystemObject[] existingObjects)
Copy the objects for transfer.
|
SystemObject[] |
TransferController.doTransfer(TransferDescriptor td)
Performs the actual transfer of the given TransferDescriptor.
|
SystemObject[] |
TransferPolicy.findExistingObjects(TransferDescriptor td)
Find any existing objects in the transfer target.
|
SystemObject[] |
TransferState.getCopiedObjects() |
SystemObject[] |
TransferState.getExistingObjects() |
SystemObject[] |
TransferState.getOriginalObjects()
Gets the original objects for the transfer.
|
SystemObject[] |
TransferDescriptor.getSystemObjects()
Deprecated.
this method does not let the caller know if the database connection is lost.
|
SystemObject[] |
TransferDescriptor.getSystemObjects(boolean ignorErrors)
convenience method to return the source objects.
|
SystemObject[] |
TransferDescriptor.getSystemObjectsAndDependencies()
Deprecated.
Use getSystemObjectsAndDependencies( validTypes, true ) if you dont want to get a DBException. Or better, getSystemObjectsAndDependencies( validTypes, false ) if the caller will handle the exception. A DBException will be throw if the database connection is lost.
|
SystemObject[] |
TransferDescriptor.getSystemObjectsAndDependencies(boolean ignorErrors)
Deprecated.
Use
getSystemObjectsAndDependencies( validTypes, ignorErrors ) |
SystemObject[] |
TransferDescriptor.getSystemObjectsAndDependencies(java.util.Collection<java.lang.String> validTypes, boolean ignorErrors)
Convenience method to return the source objects and dependencies.
|
SystemObject[] |
TransferManager.prepareAndTransfer(TransferDescriptor td)
Transfer the objects as described by the TransferDescriptor.
|
SystemObject[] |
TransferTarget.transfer(ResultSet rs)
Complete the transfer by applying the given result set to the transfer target.
|
SystemObject[] |
TransferManager.transfer(TransferDescriptor td)
Do the transfers described by the TransferDescriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TransferPolicy.canTransfer(TransferDescriptor transferDescriptor, SystemObject systemObject)
Check that it is OK to transfer the object.
|
SystemObject[] |
TransferPolicy.copyForTransfer(TransferDescriptor td, SystemObject[] existingObjects)
Copy the objects for transfer.
|
ResultSet |
TransferPolicy.getDifferences(TransferDescriptor td, SystemObject[] existingObjects, SystemObject[] copiedObjects)
Get a ResultSet describing the differences between any existing objects and the objects which have been copied for transfer.
|
ResultSet |
TransferPolicy.getDifferences(TransferDescriptor td, SystemObject[] existingObjects, SystemObject[] copiedObjects)
Get a ResultSet describing the differences between any existing objects and the objects which have been copied for transfer.
|
void |
TransferState.setExistingObjects(SystemObject[] existing)
Should only be used by the TransferManager and RefreshController.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
ExpressionEditSupport.createInsightMap(SystemObject[] sysObjs)
Create map of insight objects from given SystemObjects.
|
boolean |
SchemaObjectBuilder.ensureObjectBuilt(SystemObject... objs)
Ensures that all of the given SystemObjects are fully loaded from their metadata source (e.g.
|
boolean |
SchemaObjectBuilder.ensureObjectBuiltEx(SystemObject... objs)
Ensures that all of the given SystemObjects are fully loaded from their metadata source (e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
DBObjectCriteria<T extends SystemObject>
A DBObjectCriteria is used when listing objects from a DBObjectProvider to specify the criteria by which the list should be restricted.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryObject
Interface for an object from the db that has a binary representation (e.g.
|
interface |
SchemaObject
A
SchemaObject represents a database object that can exist within the context of a schema. |
interface |
SourceObject
Any object in the database that can contain a block of source code - for example java or PL/SQL.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSchemaObject
Provides a base implementation of the
SchemaObject interface. |
class |
AbstractSystemObject
Abstract superclass for all SystemObject implementations.
|
class |
Alias
Model of a database alias.
|
class |
Index
Model of a database index.
|
class |
Java
Abstract SchemaObject implementation for the different Java objects available in a database.
|
class |
JavaClass
Model of a Java Class.
|
class |
JavaResource
Model of a Java Resource object.
|
class |
JavaSource
Model of a Java Source object.
|
class |
PlSql
Deprecated.
use
SourceObject instead |
class |
PlSqlSubprogram
Deprecated.
use
PlSqlSubProgram instead |
class |
Relation
A
Relation represents the basic entity of a relational database. |
class |
Schema
Model of a database schema.
|
class |
Sequence
Model of a database sequence.
|
class |
SpecPlSql
Deprecated.
use
PlSqlSchemaObjectSpec instead |
class |
Synonym
Model of a database synonym.
|
class |
Table
Model of a database table.
|
class |
Tablespace
Model of a Tablespace in a database.
|
class |
View
Represents a database View.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends SystemObject> |
AbstractDBObjectProvider.checkCachedObject(T object)
Use by getObjectImpl to verify that the given object in the cache is still valid.
|
<T extends SystemObject> |
DBObjectProvider.getObject(DBObjectCriteria<T> criteria)
Retrieves the SystemObject representing a specific database object.
|
<T extends SystemObject> |
AbstractDBObjectProvider.getObject(DBObjectCriteria<T> criteria) |
protected <T extends SystemObject> |
AbstractDatabase.getObjectImpl(DBObjectCriteria<T> criteria) |
protected <T extends SystemObject> |
AbstractDBObjectProvider.getObjectImpl(DBObjectCriteria<T> criteria) |
static <T extends SystemObject> |
DBUtil.getProviderDefinitions(T[] objs, DBObjectProvider pro)
Gets the definitions for the given objects from the database by querying name, schema and type.
|
<T extends SystemObject> |
DatabaseDescriptor.listBuiltInObjects(DBObjectCriteria<T> criteria)
A built-in object is a SystemObject definition that we define in the database descriptor for well-known objects.
|
protected <T extends SystemObject> |
DatabaseDescriptor.listBuiltInObjectsImpl(DBObjectCriteria<T> criteria)
Implementation for listing built-in objects.
|
<T extends SystemObject> |
DBObjectProvider.listObjects(DBObjectCriteria<T> filter)
Lists the objects from this provider that match the given criteria.
|
<T extends SystemObject> |
AbstractDBObjectProvider.listObjects(DBObjectCriteria<T> criteria) |
protected <T extends SystemObject> |
AbstractDBObjectProvider.listObjectsFromCache(DBObjectCriteria<T> criteria)
Lists the objects that are in the internal memory cache for this provider.
|
protected abstract <T extends SystemObject> |
AbstractDBObjectProvider.listObjectsImpl(DBObjectCriteria<T> criteria)
Internal listObjects implementation.
|
Modifier and Type | Method and Description |
---|---|
SystemObject |
CascadeManager.cascadeDelete(DBObject deleted, SystemObject referer)
Deprecated.
- cascade is automatic in providers that support it
|
SystemObject |
CascadeManager.cascadeDelete(DBObject deleted, SystemObject referer, boolean copyIfCascadeRequired)
Deprecated.
- cascade is automatic in providers that support it
|
protected SystemObject |
AbstractDatabase.createByIDImpl(DBObjectID id) |
protected SystemObject |
AbstractDBObjectProvider.createByIDImpl(DBObjectID id) |
protected SystemObject |
AbstractDBObjectProvider.createObjectImpl(java.lang.String type, Schema schema, java.lang.String name)
Uses listObjectsImpl to find or create an object with the given type, schema and name.
|
protected SystemObject |
AbstractDBObjectProvider.findObject(DBObjectID id)
Looks for the specified object id in the cache.
|
protected SystemObject |
AbstractDBObjectProvider.findObject(java.lang.String type, Schema schema, java.lang.String name)
Looks for the specified object in the cache.
|
protected SystemObject |
AbstractDBObjectBuilder.findObjectInProviderCache(DBObjectID id)
Finds an existing object in the provider's object cache by id.
|
protected SystemObject |
AbstractDBObjectBuilder.findObjectInProviderCache(java.lang.String type, Schema schema, java.lang.String name)
Finds an existing object in the provider's object cache by name.
|
protected SystemObject |
AbstractDatabase.findOrCreateObject(java.lang.String type, Schema schema, java.lang.String name, java.lang.Object idVal)
Checks the cache for an existing object and if there isn't one creates a new object using the registered builder and marks it for lazy initialization.
|
protected SystemObject |
AbstractDatabase.findOrCreateObject(java.lang.String type, java.lang.String dbName, Schema schema, java.lang.String name, java.lang.Object idVal) |
protected SystemObject |
AbstractDatabase.findOrCreateObject(java.lang.String type, java.lang.String dbName, Schema schema, java.lang.String name, java.lang.Object idVal, java.lang.Long timestamp)
Checks the cache for an existing object and if there isn't one creates a new object using the registered builder and marks it for lazy initialization.
|
protected SystemObject |
AbstractDatabase.getCreatedObject(java.lang.String type, Schema schema, java.lang.String name)
Used by finishCreate() to get the object that's just been created back from the database so that it can be verified before returning to the user.
|
static SystemObject[] |
SchemaObjectManager.getDependencies(SystemObject obj, DBObjectProvider pro, boolean recurse)
Deprecated.
use
CascadeManager.listReferencedObjects(SystemObject,boolean) on a manager instance. |
static <T extends SystemObject> |
DBUtil.getProviderDefinitions(T[] objs, DBObjectProvider pro)
Gets the definitions for the given objects from the database by querying name, schema and type.
|
static SystemObject |
DBUtil.getSystemObject(DBObject obj)
Recurses up the tree of parents for this DBObject, and if the top object in the chain is a SystemObject, it is returned.
|
static SystemObject |
DBUtil.getSystemObjectFromParent(Difference cmr, java.lang.String contributor)
Search back through the parents of the Difference to find a SystemObject.
|
Modifier and Type | Method and Description |
---|---|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createCriteria(java.lang.String[] types, Schema schema, java.lang.String nameLike)
Creates a new, blank criteria that isn't tied to a specific SystemObject subclass.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createCriteria(java.lang.String type, Schema schema, java.lang.String nameLike)
Creates a new, blank criteria that isn't tied to a specific SystemObject subclass.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createCriteria(java.lang.String type, java.lang.String schemaName, java.lang.String nameLike)
Creates a new, blank criteria that isn't tied to a specific SystemObject subclass.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createCriteria(java.lang.String type, java.lang.String dbName, java.lang.String schemaName, java.lang.String nameLike)
Creates a new, blank criteria that isn't tied to a specific SystemObject subclass.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createSingleObjectCriteria(java.lang.String type, Schema schema, java.lang.String name)
Creates a new criteria for getting a single object, that isn't tied to a specific SystemObject subclass.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createSingleObjectCriteria(java.lang.String type, java.lang.String schemaName, java.lang.String name)
Creates a new criteria for getting a single object, that isn't tied to a specific SystemObject subclass.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createSingleObjectCriteria(java.lang.String type, java.lang.String dbName, java.lang.String schemaName, java.lang.String name)
Creates a new criteria for getting a single object, that isn't tied to a specific SystemObject subclass.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createTypeCriteria(java.util.Collection<java.lang.String> types)
Creates a new DBObjectCriteria object that is only restricted by object type.
|
static DBObjectCriteria<SystemObject> |
DBObjectCriteria.createTypeCriteria(java.lang.String... types)
Creates a new DBObjectCriteria object that is only restricted by object type.
|
protected java.util.Collection<SystemObject> |
AbstractDBObjectProvider.listObjectsImpl(java.lang.String[] objectTypes, Schema schema, java.lang.String ref)
Internal listObjects implementation.
|
java.util.Collection<SystemObject> |
CascadeManager.listReferencedObjects(SystemObject obj, boolean recurse)
Returns the SystemObjects that this SystemObject, or any of its children, are dependent on (reference).
|
java.util.Collection<SystemObject> |
CascadeManager.listReferencedObjects(SystemObject obj, CascadeManager.LookupCriteria criteria)
Returns the SystemObjects that this SystemObject, or any of its children, are dependent on (reference).
|
static java.util.Map<Schema,java.util.Collection<SystemObject>> |
DBUtil.sortIntoSchemas(java.util.Collection<? extends SystemObject> objs)
Sorts the given list of objects into a map of Schema to objects.
|
static java.util.Map<Schema,java.util.Collection<SystemObject>> |
DBUtil.sortIntoSchemas(SystemObject... objs)
Sorts the given list of objects into a map of Schema to objects.
|
Modifier and Type | Method and Description |
---|---|
void |
DBObjectProvider.addObjectListener(DBObjectListener list, SystemObject obj)
Adds a listener that is notified of any updates to the given object.
|
void |
AbstractDBObjectProvider.addObjectListener(DBObjectListener list, SystemObject obj) |
protected void |
AbstractDBObjectProvider.cacheObject(SystemObject object, boolean loadOperation)
Adds an object to the cache.
|
boolean |
DBObjectProvider.canCreate(SystemObject object, boolean replace)
Whether an attempt to create the specified object is likely to succeed.
|
boolean |
DBObjectProvider.canDelete(SystemObject object, boolean cascade)
Checks to see whether a specific object can be deleted.
|
SystemObject |
CascadeManager.cascadeDelete(DBObject deleted, SystemObject referer)
Deprecated.
- cascade is automatic in providers that support it
|
SystemObject |
CascadeManager.cascadeDelete(DBObject deleted, SystemObject referer, boolean copyIfCascadeRequired)
Deprecated.
- cascade is automatic in providers that support it
|
void |
DBObjectProvider.createObject(SystemObject object, boolean replace)
Causes the creation of the object described by the specified meta data.
|
void |
AbstractDBObjectProvider.createObject(SystemObject obj, boolean replace) |
void |
DBObjectProvider.createObjects(SystemObject[] objects, boolean replace)
Causes the creation of the objects described by the specified meta data.
|
void |
DBObjectProvider.deleteObject(SystemObject object, boolean cascade)
Deletes the object.
|
void |
AbstractDBObjectProvider.deleteObject(SystemObject obj, boolean cascade) |
void |
DBObjectProvider.deleteObjects(SystemObject[] objects, boolean cascade)
Deletes the objects.
|
void |
CascadeManager.doCascadeDelete(SystemObject deleted, SystemObject referer)
Deprecated.
- cascade is automatic in providers that support it
|
static void |
DBUtil.ensureObjectBuilt(SystemObject object, java.lang.String... props)
Ensures that the given object is loaded from its DBObjectProvider.
|
protected boolean |
AbstractDatabase.exists(SystemObject obj)
Whether the specified object exists.
|
protected void |
AbstractDatabase.finishCreate(SystemObject[] objects, SystemObject[] oldObjects)
Deprecated.
Replaced by finishUpdates.
|
protected void |
AbstractDatabase.finishCreate(SystemObject[] objects, SystemObject[] oldObjects)
Deprecated.
Replaced by finishUpdates.
|
protected void |
AbstractDatabase.finishDelete(SystemObject[] objs)
Deprecated.
Replaced by finishUpdates.
|
static void |
DBUtil.forceObjectReset(SystemObject obj, DBObjectProvider pro)
Forces the provider to reset the given object so that its properties will all be rebuilt from the underlying provider.
|
static void |
DBUtil.forceObjectUpdate(DBObjectProvider pro, SystemObject orig, SystemObject upd)
Forces the provider to update the given object so that its properties match that of the temporary copy with changes applied.
|
static SystemObject[] |
SchemaObjectManager.getDependencies(SystemObject obj, DBObjectProvider pro, boolean recurse)
Deprecated.
use
CascadeManager.listReferencedObjects(SystemObject,boolean) on a manager instance. |
protected java.lang.Long |
AbstractDBObjectProvider.getExistingTimestamp(SystemObject object) |
protected java.lang.Long |
AbstractDBObjectProvider.getExternalTimestamp(SystemObject object) |
protected java.lang.Long |
AbstractDBObjectProvider.getExternalTimestampImpl(SystemObject object)
Retrieves the external timestamp for the specified object.
|
static <T extends SystemObject> |
DBUtil.getProviderDefinitions(T[] objs, DBObjectProvider pro)
Gets the definitions for the given objects from the database by querying name, schema and type.
|
DBObjectID[] |
SchemaObjectManager.getSchemaObjectReferers(SystemObject obj, boolean deep)
|
boolean |
DBObjectProvider.hasObjectPrivilege(SystemObject object, java.lang.String priv)
Checks to see whether the user has the requisite permissions to perform the specified operation on the given object.
|
boolean |
AbstractDBObjectProvider.hasObjectPrivilege(SystemObject object, java.lang.String priv)
Checks to see whether the user has the requisite permissions to perform the specified operation on the given object.
|
boolean |
SchemaObjectManager.hasUnresolvedReference(SystemObject obj, java.lang.String refType)
Returns true if the given schema object (or any of its children) has an unresolved reference to an object of the given type.
|
protected void |
DatabaseDescriptor.initialiseBuiltInObject(SystemObject obj)
Called on every object returned by listBuiltInObjects to set any specific properties that mark the object as "built-in".
|
protected boolean |
AbstractDBObjectProvider.isRequestedObject(SystemObject object, java.lang.String type, Schema schema, java.lang.String name)
Returns true if SchemaObject object is of type type, owned by schema schema, and named name.
|
static java.lang.String |
DBUtil.isViaDatabaseLink(SystemObject dso)
Tests whether the given object has been retrieved over a database link rather than being directly from the provider it was listed from.
|
java.util.Collection<SystemObject> |
CascadeManager.listReferencedObjects(SystemObject obj, boolean recurse)
Returns the SystemObjects that this SystemObject, or any of its children, are dependent on (reference).
|
java.util.Collection<SystemObject> |
CascadeManager.listReferencedObjects(SystemObject obj, CascadeManager.LookupCriteria criteria)
Returns the SystemObjects that this SystemObject, or any of its children, are dependent on (reference).
|
java.util.Collection<DBObjectID> |
CascadeManager.listTopLevelReferers(SystemObject obj, boolean deep)
Gets the ids for the SystemObjects who reference (either directly or via their children) the given SystemObject (or one of its children).
|
java.util.Collection<DBObjectID> |
SchemaObjectManager.listTopLevelReferers(SystemObject obj, CascadeManager.LookupCriteria criteria) |
abstract java.util.Collection<DBObjectID> |
CascadeManager.listTopLevelReferers(SystemObject obj, CascadeManager.LookupCriteria criteria)
Gets the ids for the SystemObjects who reference (either directly or via their children) the given SystemObject (or one of its children).
|
protected boolean |
SchemaObjectManager.needsInitialization(SystemObject obj)
Returns true if the given schema object isn't built yet (i.e.
|
void |
SchemaObjectManager.registerObject(SystemObject obj)
Register the given SystemObject with this manager.
|
void |
SchemaObjectManager.registerObject(SystemObject obj, boolean loadOnly)
Registers an object on the understanding that this is a load of the object, not a create or update.
|
protected DBObjectChange |
AbstractDBObjectProvider.resetObject(SystemObject object, SystemObject listed, java.lang.Long timestamp)
If it has been noticed that the timestamp has changed on an object, or we have updated it in the database, we want to turn it back into an object that needs building again.
|
protected DBObjectChange |
AbstractDBObjectProvider.resetObject(SystemObject object, SystemObject listed, java.lang.Long timestamp, boolean updated)
If it has been noticed that the timestamp has changed on an object, or we have updated it in the database, we want to turn it back into an object that needs building again.
|
java.util.Collection<Difference> |
SchemaObjectManager.resolveUnresolvedReferences(SystemObject obj) |
java.util.Collection<Difference> |
CascadeManager.resolveUnresolvedReferences(SystemObject obj)
If this manager supports unresolved references and the given object could potentially fix those references then this method finds any objects that have an unresolved reference and looks to resolve it.
|
protected boolean |
SchemaObjectManager.shouldRegister(SystemObject obj, boolean loadOnly)
Online we register objects as they are loaded because all we care about is keeping our cache up-to-date (i.e.
|
static java.util.Map<Schema,java.util.Collection<SystemObject>> |
DBUtil.sortIntoSchemas(SystemObject... objs)
Sorts the given list of objects into a map of Schema to objects.
|
protected void |
AbstractDBObjectProvider.uncacheObject(SystemObject object)
Removes an object from the cache.
|
void |
SchemaObjectManager.unregisterObject(SystemObject obj)
Unregisters the given object from the object manager.
|
void |
DBObjectProvider.updateObject(SystemObject oldObject, SystemObject newObject)
Updates the definition of an object.
|
void |
AbstractDBObjectProvider.updateObject(SystemObject oldObject, SystemObject newObject) |
void |
DBObjectProvider.updateObjects(SystemObject[] oldObjects, SystemObject[] newObjects)
Updates the definition of a set of objects.
|
void |
DBObjectProvider.updateObjects(SystemObject[] oldObjects, SystemObject[] newObjects)
Updates the definition of a set of objects.
|
void |
AbstractDBObjectProvider.updateObjects(SystemObject[] oldObjects, SystemObject[] newObjects) |
void |
AbstractDBObjectProvider.updateObjects(SystemObject[] oldObjects, SystemObject[] newObjects) |
Modifier and Type | Method and Description |
---|---|
static void |
DBUtil.ensureDerivedPropertiesBuilt(DBObject object, DBObjectProvider pro, java.util.Collection<? extends SystemObject> extras)
INTERNAL ONLY - this is not a finished API yet.
|
protected void |
AbstractDBObjectProvider.fireObjectsAdded(java.util.Collection<? extends SystemObject> sysObjs) |
protected void |
AbstractDBObjectProvider.fireObjectsRemoved(java.util.Collection<? extends SystemObject> sysObjs) |
static java.util.Map<Schema,java.util.Collection<SystemObject>> |
DBUtil.sortIntoSchemas(java.util.Collection<? extends SystemObject> objs)
Sorts the given list of objects into a map of Schema to objects.
|
Modifier and Type | Class and Description |
---|---|
class |
ComplexType
Deprecated.
use
Type instead |
class |
ObjectType
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<SystemObject> |
DDLDatabase.listObjectsImpl(java.lang.String[] objectTypes, Schema schema, java.lang.String ref) |
Modifier and Type | Method and Description |
---|---|
boolean |
DDLDatabase.canCreate(SystemObject object, boolean replace) |
boolean |
DDLDatabase.canDelete(SystemObject obj, boolean cascade) |
void |
DDLDatabase.createObjects(SystemObject[] objects, boolean replace) |
void |
DDLDatabase.deleteObjects(SystemObject[] objects, boolean cascade) |
protected void |
DDLDatabase.processCreateException(DBException dbe, SystemObject object) |
protected void |
DDLDatabase.processDeleteException(DBException dbe, SystemObject object)
When an exception is encountered during delete of an object it may be for legitimate reasons that we want to ignore (e.g.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends SystemObject> |
DictionaryDatabase.listObjectsImpl(DBObjectCriteria<T> criteria) |
Modifier and Type | Method and Description |
---|---|
protected SystemObject |
DictionaryDatabase.createByIDImpl(DBObjectID id) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long |
DictionaryDatabase.getExternalTimestampImpl(SystemObject obj)
Retrieves the timestamp for this object from the database.
|
protected QueryWrapper |
DictionaryDatabase.newQueryWrapper(SystemObject obj, java.lang.String query, java.util.List params) |
protected QueryWrapper |
DictionaryDatabase.newQueryWrapper(SystemObject obj, java.lang.String query, java.lang.Object... params) |
Modifier and Type | Method and Description |
---|---|
protected QueryWrapper[] |
DictionaryDatabase.getListQueries(DBObjectCriteria<? extends SystemObject> criteria)
Retruns a number of query wrapper objects that will list the given object types in the given schema.
|
Modifier and Type | Method and Description |
---|---|
SystemObject |
DifferenceApplier.getCopyOfOrigWithDiffApplied(Difference diff)
Gets a new temporary copy of the original object in the given difference and applys all the changes in the difference to that object.
|
Modifier and Type | Method and Description |
---|---|
void |
DifferenceApplier.apply(SystemObject original, SystemObject updated)
Applys changes in the direction specified when this applier was constructed.
|
static DBObjectChange |
DifferenceApplier.fireLazyChangeEvent(SystemObject obj, SystemObject copyOfOriginal, DBObjectProvider pro)
Creates and fires a DBObjectChange event for the given object.
|
Modifier and Type | Method and Description |
---|---|
static void |
DBObjectChange.fireChildrenAdded(SystemObject obj, java.util.List added)
Fires a message that children have been added to the given object.
|
static void |
DBObjectChange.fireChildrenRemoved(SystemObject obj, java.util.List removed)
Fires a message that children have been removed from the given object.
|
static void |
DBObjectChange.fireObjectUpdated(SystemObject obj)
Fires an empty change message on the given object.
|
static void |
DBObjectChange.fireObjectUpdated(SystemObject obj, java.util.List<DBObject> added, java.util.List<DBObject> removed, java.util.Map<java.lang.String,java.beans.PropertyChangeEvent> props)
Fires a compound event with added/removed children and changed properties.
|
static void |
DBObjectChange.firePropertiesChanged(SystemObject obj, java.util.Map<java.lang.String,java.beans.PropertyChangeEvent> props)
Fires a message that the given properties have been changed on an object.
|
static void |
DBObjectChange.firePropertyChanged(SystemObject obj, java.beans.PropertyChangeEvent... pces)
Fires a message that the given properties have been changed on an object.
|
Modifier and Type | Method and Description |
---|---|
void |
DBObjectProviderListener.systemObjectsAdded(DBObjectProvider provider, java.util.Collection<? extends SystemObject> objs)
Notifies the listener that SystemObjects have been added to the provider.
|
void |
DBObjectProviderListener.systemObjectsRemoved(DBObjectProvider provider, java.util.Collection<? extends SystemObject> objs)
Notifies the listener that SystemObjects have been removed from the provider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DelegateDDLGenerator.canAlterProperty(SystemObject original, SystemObject update, java.lang.String prop) |
PropertyAction |
DelegateDDLGenerator.canChangeProperty(SystemObject original, SystemObject update, java.lang.String prop) |
boolean |
DelegateDDLGenerator.canCreateProperty(SystemObject object, java.lang.String prop) |
PropertyAction |
DelegateDDLGenerator.canUpdateObject(SystemObject orig, SystemObject update) |
Modifier and Type | Method and Description |
---|---|
PropertyAction |
DelegateDDLGenerator.supportsPropertyChange(java.lang.Class<? extends SystemObject> objClz, java.lang.String prop) |
Modifier and Type | Class and Description |
---|---|
class |
DatabaseLink
Model of a database DatabaseLink.
|
class |
Directory
Model of an Oracle Directory object.
|
class |
Indextype |
class |
MaterializedView
A MaterializedView represents a Materialized View in the database.
|
class |
MaterializedViewLog |
class |
RecycledObject
Model of an object that has been dropped and is now in the Oracle recycle bin.
|
class |
XMLSchema
Object to represent an XML Schema held in the database.
|
Modifier and Type | Class and Description |
---|---|
class |
Function
Representation of a PL/SQL Function.
|
class |
Package
Representation of a PL/SQL Package Spec
|
class |
PackageBody
Representation of a PL/SQL Package Body
|
class |
PlSqlSchemaObject
Abstract superclass of all Schema level PL/SQL objects (ie
SourceObjects ) other than Procedure and Function as they extend PlSqlSubProgram . |
class |
PlSqlSchemaObjectBody
Abstract superclass of
PackageBody and TypeBody . |
class |
PlSqlSchemaObjectSpec
|
class |
Procedure
Representation of a PL/SQL Procedure.
|
class |
Trigger
Representation of a Database Trigger
|
class |
Type |
class |
TypeBody
Representation of a Type Body
|
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyManager.canAlterProperty(SystemObject original, SystemObject update, java.lang.String prop)
Convenience method to call
PropertyManager.canChangeProperty(oracle.javatools.db.SystemObject, oracle.javatools.db.SystemObject, java.lang.String) and check the return value is a PropertyAction with a type of ALTER. |
boolean |
AbstractPropertyManager.canAlterProperty(SystemObject original, SystemObject update, java.lang.String prop) |
PropertyAction |
PropertyManager.canChangeProperty(SystemObject original, SystemObject update, java.lang.String prop)
Queries the support for setting or changing the given property for a create or update.
|
PropertyAction |
AbstractPropertyManager.canChangeProperty(SystemObject original, SystemObject update, java.lang.String prop) |
protected boolean |
AbstractPropertyManager.canChangeWithAlter(SystemObject orig, SystemObject update, java.lang.String prop)
Returns true if the given property can be changed using an alter on the given original and updated objects.
|
protected boolean |
AbstractPropertyManager.canChangeWithReplace(SystemObject orig, SystemObject update, java.lang.String prop)
Returns true if the given property can be changed using a drop/recreate on the given original and updated objects.
|
protected boolean |
AbstractPropertyManager.canCreate(SystemObject newObj, java.lang.String prop)
Return true if the given property can be set on the given new object.
|
boolean |
PropertyManager.canCreateProperty(SystemObject object, java.lang.String prop)
Queries the support for setting or changing the given property for a create or update.
|
boolean |
AbstractPropertyManager.canCreateProperty(SystemObject obj, java.lang.String prop) |
PropertyAction |
PropertyManager.canUpdateObject(SystemObject orig, SystemObject update)
Convenience method that uses
PropertyManager.canChangeProperty(oracle.javatools.db.SystemObject, oracle.javatools.db.SystemObject, java.lang.String) on all the differences in the given object to tell whether the update on the given objects can be done using a CREATE, ALTER or REPLACE as appropriate. |
PropertyAction |
AbstractPropertyManager.canUpdateObject(SystemObject orig, SystemObject update) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractPropertyManager.canCreate(java.lang.Class<? extends SystemObject> objClz, java.lang.String prop)
Tests whether the given property is supported for create on the given object type.
|
PropertyAction |
PropertyManager.supportsPropertyChange(java.lang.Class<? extends SystemObject> objClz, java.lang.String prop)
Tests whether the given property can be changed on the given system object type.
|
PropertyAction |
AbstractPropertyManager.supportsPropertyChange(java.lang.Class<? extends SystemObject> objClz, java.lang.String prop) |
Modifier and Type | Method and Description |
---|---|
SystemObject |
DBObjectTransaction.getCopyForUpdate(SystemObject obj)
Checks the transaction for an existing changes to the given object (using
findExistingUpdate ). |
SystemObject |
DBObjectTransaction.getDiffUpdatedObject(Difference objDiff)
Gets a copy of the original object in the given diff with any marked differences in the diff applied.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CascadeProcessor.cascadeDelete(DBObjectTransaction txn, DBObject obj, SystemObject depObj)
Processes the delete of the given DBObject to a dependent SystemObject.
|
protected void |
CascadeProcessor.cascadeUpdate(DBObjectTransaction txn, Difference objDiff, SystemObject depObj) |
Difference |
DBObjectTransaction.difference(SystemObject oldObject, SystemObject newObject)
Convinience method to diff the two objects using the provider's DiffEngine.
|
Difference |
DBObjectTransaction.findExistingUpdate(SystemObject obj)
Finds an existing Difference for the given object.
|
SystemObject |
DBObjectTransaction.getCopyForUpdate(SystemObject obj)
Checks the transaction for an existing changes to the given object (using
findExistingUpdate ). |
void |
DBObjectTransaction.includeUpdate(SystemObject updatedObject)
Includes
updatedObject in this transaction. |
void |
DBObjectTransaction.includeUpdate(SystemObject oldObject, SystemObject newObject)
Includes an update to a given object in this transaction.
|
protected void |
RefactoringProcessor.processObjectCreate(DBObjectTransaction txn, SystemObject obj)
The default processObjectDifference implementation calls this method will every new object that will be created.
|
protected void |
RefactoringProcessor.processObjectDelete(DBObjectTransaction txn, SystemObject obj)
The default processObjectDifference implementation calls this method will every new object that will be deleted.
|
protected void |
CascadeProcessor.processObjectDelete(DBObjectTransaction txn, SystemObject obj)
Process the delete of a SystemObject from the provider.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSQLQueryBuilder.addExtraObject(SystemObject obj) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSQLQueryBuilder.setExtraObjects(java.util.Collection<? extends SystemObject> objs) |
Modifier and Type | Method and Description |
---|---|
static DBObjectNode |
DatabaseNavigatorHelper.findObjectNode(Database db, SystemObject obj)
Gets the node in the Database Navigator for the given object within the given Database.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends SystemObject> |
OfflineDBObjectProvider.getObjectImpl(DBObjectCriteria<T> criteria) |
protected abstract <T extends SystemObject> |
OfflineDBObjectProvider.listAllObjects(DBObjectCriteria<T> criteria)
Lists the objects by type, schema and name (can include wildcard '%') from this provide only, not its dependencies.
|
protected <T extends SystemObject> |
OfflineDBObjectProvider.listObjectsImpl(DBObjectCriteria<T> criteria) |
Modifier and Type | Method and Description |
---|---|
protected SystemObject |
OfflineDBObjectProvider.createObjectImpl(java.lang.String type, Schema schema, java.lang.String name)
Creates a schema object by looking on the filesystem (using listAllObjects) for the appropriate filename.
|
abstract SystemObject |
OfflineDBObjectProvider.getObject(java.net.URL url)
Retrieves the SchemaObject from the given URL ensuring that the object's ID is correctly setup for this provider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OfflineDBObjectProvider.canCreate(SystemObject object, boolean replace)
Returns true if the schema for this object exists, and the file representing this object can be saved.
|
static void |
OfflineDBUtil.canCreateFile(SystemObject obj, OfflineDBObjectProvider pro)
Checks that create is available on the given object url.
|
boolean |
OfflineDBObjectProvider.canDelete(SystemObject object, boolean cascade)
Returns true if a delete operation on the given schema object is likely to succeed.
|
void |
OfflineDBObjectProvider.createObjects(SystemObject[] objects, boolean replace)
Used to create (or replace) the given SystemObjects.
|
static java.net.URL |
OfflineDBUtil.createObjectURL(OfflineDBObjectProvider pro, SystemObject obj)
Creates a URL for the given object in the given project.
|
void |
OfflineDBObjectProvider.deleteObjects(SystemObject[] objects, boolean cascade)
Deletes a set of objects together.
|
Node |
OfflineDBObjectProvider.getObjectNode(SystemObject obj)
Gets the Node for the given object id if it exists within the current provider.
|
java.net.URL |
OfflineDBObjectProvider.getObjectURL(SystemObject obj)
Gets the URL for the given object id if it exists within the current provider.
|
void |
OfflineDBUpdateManager.Processor.processObject(OfflineDBObjectProvider pro, SystemObject original, SystemObject update)
Implementations of this method may make any changes to the update SystemObject and these will be commmited to the Offline Database, provided they do not fail the validation phase that follows.
|
Modifier and Type | Method and Description |
---|---|
static void |
OfflineDBUtil.buildView(SQLQueryOwner sqo, DBObjectProvider pro, java.util.Collection<SystemObject> objs) |
Modifier and Type | Method and Description |
---|---|
static <T extends SystemObject> |
SchemaObjectWizard.createObject(OfflineDBObjectProvider pro, T obj, Context c)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SystemObject |
SchemaObjectWizard.createObject(Context c, java.lang.String type)
Deprecated.
|
static SystemObject |
SchemaObjectWizard.createObject(OfflineDBObjectProvider pro, SchemaObject obj)
Deprecated.
|
static SystemObject |
SchemaObjectWizard.createObject(OfflineDBObjectProvider pro, Schema s, java.lang.String type)
Deprecated.
|
static SystemObject |
SchemaObjectWizard.createObject(OfflineDBObjectProvider pro, Schema s, java.lang.String type, Context c)
Deprecated.
|