public interface DBObjectReferenceProvider extends ReferenceProvider
DBObjectReference
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
listEventProperties(DBObjectDeclaration decl)
Lists the properties that need to be changed on the declared DBObject
that would need any DBObjectReferences listed by this provider to
be notified.
|
boolean |
notifyOfRemoval(DBObjectDeclaration decl)
Tests whether any DBObjectReference in this DBObjectReferenceProvider
might be interested in the removal of the given declaration.
|
canFindReferences, canGetReference, canGetReferences, findReferences, getReference, getReferences
java.util.Collection<java.lang.String> listEventProperties(DBObjectDeclaration decl)
By allowing filtering at the DBObjectReferenceProvider level we allow operations that change simple properties (changes to which do not need to be propogated) to avoid the performance hit of a findReferences. Consequently this method should list as few properties as possible.
Do not do any find operation, this is expected to be a quick check.
decl
- the DBObjectDeclaration for the DBObject that has been
changed.Property
boolean notifyOfRemoval(DBObjectDeclaration decl)
For example if this provider has no Reference implementations that are interested in removal, this should return false. If you are only interested in Table declarations and the given declaration is for a View then return false etc.
Do not do any find operation, this is expected to be a quick check.