Package | Description |
---|---|
oracle.ide.db.event | |
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.ddl |
API for generating DDL in the database API.
|
oracle.javatools.db.diff |
Contains a metadata driven differ of database objects.
|
oracle.javatools.db.event | |
oracle.javatools.db.property |
Classes for dealing with properties in the database API.
|
oracle.javatools.db.sql |
Contains an API for declaratively parsing SQL queries (SELECT statements).
|
Modifier and Type | Method and Description |
---|---|
void |
SwingDBObjectListener.objectUpdated(DBObjectChange change) |
protected abstract void |
SwingDBObjectListener.updateUI(DBObjectChange change)
This method is called with any change event passed to
objectUpdated , but this method will be called on the event
thread. |
Modifier and Type | Class and Description |
---|---|
class |
DBObjectChange
Deprecated.
- moved to oracle.javatools.db.event.DBObjectChange
|
Modifier and Type | Method and Description |
---|---|
static DBObjectChange |
DBUtil.invokeCompoundChange(DBObject obj,
java.lang.Runnable runnable,
boolean fireEvents)
Invokes the given Runnable, and if any property changes are made to obj
by the Runnable the changes are consolidated in to one change event.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Collection<DBObjectChange> |
AbstractDBObjectProvider.commitTransaction(DBObjectTransaction txn,
Difference listDiff)
Implement to commit the given transaction's difference.
|
java.util.Collection<DBObjectChange> |
AbstractDatabase.finishUpdates(Difference listDiff)
Processes the given objects after the DDL has been fired for a create,
update or delete operation.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemObject.fireObjectUpdated(DBObjectChange change)
Notifies any registered listeners of the change to this object.
|
void |
AbstractDBObject.fireObjectUpdated(DBObjectChange change) |
void |
AbstractDBObject.ListenerSupport.fireObjectUpdated(DBObjectChange change) |
protected void |
AbstractDBObjectProvider.fireObjectUpdated(DBObjectChange change)
Notifies all listeners of an update to a SystemObject.
|
protected void |
AbstractDBObjectProvider.fireSchemaObjectUpdated(DBObjectChange change)
Deprecated.
|
protected void |
AbstractDBObjectProvider.fireSchemaUpdated(DBObjectChange change)
Deprecated.
|
void |
DBObjectListener.objectUpdated(DBObjectChange change)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<DBObjectChange> |
DDLDatabase.commitTransaction(DBObjectTransaction txn,
Difference listDiff) |
Modifier and Type | Method and Description |
---|---|
DBObjectChange[] |
DifferenceApplier.fireEvents()
Deprecated.
|
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 |
---|---|
java.lang.Iterable<DBObjectChange> |
DifferenceApplier.getEvents()
Gets the change events that the applied Differences have produced.
|
Modifier and Type | Method and Description |
---|---|
static DBObjectChange |
DBObjectChange.merge(DBObjectChange... changes)
Merges two changes into a single change.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<DBObject,DBObjectChange> |
DBObjectChange.getOwnedObjectsUpdated()
Returns any changes that have happened to any owned objects.
|
Modifier and Type | Method and Description |
---|---|
static DBObjectChange |
DBObjectChange.merge(DBObjectChange... changes)
Merges two changes into a single change.
|
void |
DBObjectListener.objectUpdated(DBObjectChange change)
Notifies the listener when an object is updated.
|
void |
DBObjectPropertyListener.objectUpdated(DBObjectChange change) |
void |
DBObjectProviderListener.objectUpdated(DBObjectChange change)
Notifies the listener that a SystemObject has been updated in the
provider.
|
Modifier and Type | Method and Description |
---|---|
void |
DBObjectProviderListener.transactionCommited(DBObjectTransaction txn,
Difference listDiff,
java.lang.Iterable<? extends DBObjectChange> changes)
Notifies the listener that the given transasction has been comitted
to the provider.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
DerivedPropertyBuilder.clearDerivedProperties(T obj,
DBObjectChange change)
Processes a change for the given object that has had its derived
properties built using this builder, and makes any further changes that
are required as a result of those changes.
|
java.util.Collection<java.lang.String> |
DerivedPropertyBuilder.clearDerivedProperties(T obj,
java.lang.String property,
DBObjectChange change)
Clears the properties that are derived from the given property and that
need resetting given the new value for the source property.
|
boolean |
DerivedPropertyBuilder.isClearDerivedPropertiesRequired(T obj,
DBObjectChange change,
java.util.Collection<java.lang.String> currentlyBuiltProps)
Tests whether clearDerivedProperties should be called for the given
object/change.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
AbstractSQLQueryBuilder.clearDerivedProperties(SQLQuery obj,
java.lang.String property,
DBObjectChange change) |