Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.audit.service
Interface TransformerListener

All Known Implementing Classes:
AuditLogPanel

public interface TransformerListener

A listener for events occurring during a transform transaction.


Method Summary
 void modelSaved(ModelAdapter model)
          Reports that a model was saved.
 void modelWritable(ModelAdapter model)
          Reports that a model was made writable.
 boolean saveFailed(java.lang.Throwable exception, ModelAdapter model, java.lang.String label)
          Reports that saving a model failed.
 boolean transformFailed(java.lang.Throwable exception, Violation violation, Transform transform, java.lang.String label)
          Reports that a transform failed.
 

Method Detail

modelWritable

void modelWritable(ModelAdapter model)
Reports that a model was made writable.


transformFailed

boolean transformFailed(java.lang.Throwable exception,
                        Violation violation,
                        Transform transform,
                        java.lang.String label)
Reports that a transform failed. The transformer does not hold a read lock on the model the transform was attempting to modify, but the transform is bound to the violation.

Parameters:
exception - The exception that indicated failure.
violation - The violation being associated with the transform.
transform - The transform that failed.
label - The label for the transform transaction.
Returns:
true to continue the transaction, false to abort it.

modelSaved

void modelSaved(ModelAdapter model)
Reports that a model was saved.

Parameters:
model - The model that was saved.

saveFailed

boolean saveFailed(java.lang.Throwable exception,
                   ModelAdapter model,
                   java.lang.String label)
Reports that saving a model failed.

Parameters:
exception - The exception that indicated failure.
model - The model which could not be saved.
label - The label for the transform transaction.
Returns:
true to continue the transaction, false to abort it.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.