public abstract class RefactoringProcessor extends UpdateProcessor
| Constructor and Description |
|---|
RefactoringProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.logging.Logger |
getLogger()
Gets a Logger implementation that this processor should use to log messages.
|
protected void |
processObjectCreate(DBObjectTransaction txn, SystemObject obj)
The default processObjectDifference implementation calls this method will every new object that will be created.
|
protected void |
processObjectDelete(DBObjectTransaction txn, SystemObject obj)
The default processObjectDifference implementation calls this method will every new object that will be deleted.
|
protected void |
processObjectDifference(DBObjectTransaction txn, Difference objDiff)
This is called for every SystemObject Difference in the global update Difference.
|
protected void |
processObjectUpdate(DBObjectTransaction txn, Difference objDiff)
The default processObjectDifference implementation calls this method for every object that is to be updated
|
void |
processUpdate(DBObjectTransaction txn, Difference objDiff)
Called by a DBObjectProvider during a create or update process.
|
getProcessorProperties, onlyProcessesPrimaryUpdatesprotected final java.util.logging.Logger getLogger()
UpdateProcessorgetLogger in class UpdateProcessorpublic final void processUpdate(DBObjectTransaction txn, Difference objDiff) throws DBException
UpdateProcessorprocessUpdate in class UpdateProcessortxn - the overall transaction that is being performedobjDiff - the Difference of two SystemObjects to be processedDBExceptionprotected void processObjectDifference(DBObjectTransaction txn, Difference objDiff) throws DBException
processObjectCreate, processObjectDelete or processObjectUpdate as appropriate. Only override this method to provider a global change for all types of diff.state - the current refactoring stateobjDiff - a SystemObject Difference (can be create, delete or update).DBExceptionprotected void processObjectCreate(DBObjectTransaction txn, SystemObject obj) throws DBException
state - the overall refactoring stateobj - an object that is to be createdDBExceptionprotected void processObjectDelete(DBObjectTransaction txn, SystemObject obj) throws DBException
state - the overall refactoring stateobj - an object that is to be deletedDBExceptionprotected void processObjectUpdate(DBObjectTransaction txn, Difference objDiff) throws DBException
state - the overall refactoring stateobjDiff - the difference for an object update (containing an original and updated SystemObject).DBException