public class CascadeProcessor extends RefactoringProcessor
It should not be necessary to register this with Database implementations as a Database does the cascade itself.
| Constructor and Description | 
|---|
CascadeProcessor()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
cascadeDelete(DBObjectTransaction txn, DBObject obj, SystemObject depObj)
Processes the delete of the given DBObject to a dependent SystemObject. 
 | 
protected void | 
cascadeUpdate(DBObjectTransaction txn, Difference objDiff, SystemObject depObj)  | 
protected void | 
processObjectDelete(DBObjectTransaction txn, SystemObject obj)
Process the delete of a SystemObject from the provider. 
 | 
protected void | 
processObjectUpdate(DBObjectTransaction txn, Difference objDiff)
The default processObjectDifference implementation calls this method for every object that is to be updated 
 | 
protected void | 
processSingleObjectUpdate(DBObjectTransaction txn, Difference objDiff)
This is called for each DBObject that has changed within the overall difference. 
 | 
getLogger, processObjectCreate, processObjectDifference, processUpdategetProcessorProperties, onlyProcessesPrimaryUpdatesprotected void processObjectDelete(DBObjectTransaction txn, SystemObject obj) throws DBException
processObjectDelete in class RefactoringProcessorobj - an object that is to be deletedDBExceptionprotected final void cascadeDelete(DBObjectTransaction txn, DBObject obj, SystemObject depObj) throws DBException
txn - the overall refactoring txnobj - the object being removed (e.g. PK, Table, Column etc)depObj - the dependent SystemObjectCascadeRequiredException - is the cascade of the removal requires a change to the dependent object and txn.isCascade() is false.DBExceptionprotected void processObjectUpdate(DBObjectTransaction txn, Difference objDiff) throws DBException
RefactoringProcessorprocessObjectUpdate in class RefactoringProcessorobjDiff - the difference for an object update (containing an original and updated SystemObject).DBExceptionprotected void processSingleObjectUpdate(DBObjectTransaction txn, Difference objDiff) throws DBException
txn - the overall refactoring txnobjDiff - a "not same" Difference of two DBObjectsDBExceptionprotected final void cascadeUpdate(DBObjectTransaction txn, Difference objDiff, SystemObject depObj) throws DBException
DBException