oracle.sysman.dbTarget.db.changemgr.emo.docaccess
Interface ApplyDiffListener

All Known Implementing Classes:
ApplyDiffListenerImpl

public interface ApplyDiffListener

The ApplyDiffListener interface can be implemented by callers of XMLAccessor.applyDiffs() method that wish to be notified of the results of applying each diff to the target database object's definition.


Field Summary
static boolean EXISTS_DIFFERENT_DEFAULT_ACTION
           
static boolean MODIFIED_DIFFERENT_DEFAULT_ACTION
           
static boolean MODIFIED_PREVIOUSLY_DEFAULT_ACTION
           
 
Method Summary
 void applyDiffResult(ApplyOneDiffResult odr, XMLAccessor xa)
          Called by the XMLAccessor.applyDiffs() method for each difference that is applied to the target database object.
 

Field Detail

EXISTS_DIFFERENT_DEFAULT_ACTION

static final boolean EXISTS_DIFFERENT_DEFAULT_ACTION
See Also:
Constant Field Values

MODIFIED_DIFFERENT_DEFAULT_ACTION

static final boolean MODIFIED_DIFFERENT_DEFAULT_ACTION
See Also:
Constant Field Values

MODIFIED_PREVIOUSLY_DEFAULT_ACTION

static final boolean MODIFIED_PREVIOUSLY_DEFAULT_ACTION
See Also:
Constant Field Values
Method Detail

applyDiffResult

void applyDiffResult(ApplyOneDiffResult odr,
                     XMLAccessor xa)
Called by the XMLAccessor.applyDiffs() method for each difference that is applied to the target database object. The implementation may examine the ApplyOneDiffResult object to determine whether any conflicts have been detected, and override the default conflict resolution action by calling the ApplyOneDiffResult.setDoChange(boolean) method.

Parameters:
odr - an ApplyOneDiffResult object containing information about the result of applying a difference to a target database object.
xa - the XMLAccessor instance that represents the object to which the diff is applied