Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdeveloper.audit.service
Interface Transformer

All Known Implementing Classes:
DefaultTransformer

public interface Transformer

An executor of transforms. A transformer bundles one or more transforms as an TransformAction to be performed. An action can bundle either a single explicit transform, or the set of default transforms implied by one or more violations.

See Also:
TransformAction, DefaultTransformsAction

Method Summary
 java.lang.Throwable applyDefaultTransforms(java.lang.String label, AuditModel model, java.lang.Object[] objects, TransformerListener listener)
          Apply the applicable default transforms of rows in an AuditModel..
 java.lang.Throwable applyDefaultTransforms(java.lang.String label, java.util.Collection<? extends Violation> violations, TransformerListener listener, AuditModel model)
          Apply the applicable default transforms of violations.
 DefaultTransformsAction createDefaultTransformsAction(java.lang.String label, AuditModel model, java.lang.Object[] objects, TransformerListener listener)
          Creates an action for the applicable default transforms of one or more violations.
 DefaultTransformsAction createDefaultTransformsAction(java.lang.String label, java.util.Collection<? extends Violation> violations, TransformerListener listener, AuditModel model)
          Creates an action for the applicable default transforms of one or more violations.
 java.util.List<TransformAction> createTransformActions(java.util.Collection<? extends Violation> violations, TransformerListener listener, AuditModel model)
          Creates actions for the applicable transforms of one or more violations.
 java.util.List<TransformAction> createTransformActions(Violation violation, TransformerListener listener, AuditModel model)
          Creates actions for the applicable transforms of a violation.
 void setQueryAllowed(boolean allowed)
          Sets whether user queries are allowed when a transform is applied.
 void setQueryInterceptor(Transform transform, TransformerQueryInterceptor interceptor)
          Sets a query interceptor for a transform.
 

Method Detail

setQueryAllowed

void setQueryAllowed(boolean allowed)
Sets whether user queries are allowed when a transform is applied. True by default.


setQueryInterceptor

void setQueryInterceptor(Transform transform,
                         TransformerQueryInterceptor interceptor)
Sets a query interceptor for a transform. A query interceptor allows a command line or unit test client to apply a transform that would normally require a query without the query.


createTransformActions

java.util.List<TransformAction> createTransformActions(Violation violation,
                                                       TransformerListener listener,
                                                       AuditModel model)
Creates actions for the applicable transforms of a violation.


createTransformActions

java.util.List<TransformAction> createTransformActions(java.util.Collection<? extends Violation> violations,
                                                       TransformerListener listener,
                                                       AuditModel model)
Creates actions for the applicable transforms of one or more violations.


createDefaultTransformsAction

DefaultTransformsAction createDefaultTransformsAction(java.lang.String label,
                                                      java.util.Collection<? extends Violation> violations,
                                                      TransformerListener listener,
                                                      AuditModel model)
Creates an action for the applicable default transforms of one or more violations.


createDefaultTransformsAction

DefaultTransformsAction createDefaultTransformsAction(java.lang.String label,
                                                      AuditModel model,
                                                      java.lang.Object[] objects,
                                                      TransformerListener listener)
Creates an action for the applicable default transforms of one or more violations.


applyDefaultTransforms

java.lang.Throwable applyDefaultTransforms(java.lang.String label,
                                           java.util.Collection<? extends Violation> violations,
                                           TransformerListener listener,
                                           AuditModel model)
Apply the applicable default transforms of violations.


applyDefaultTransforms

java.lang.Throwable applyDefaultTransforms(java.lang.String label,
                                           AuditModel model,
                                           java.lang.Object[] objects,
                                           TransformerListener listener)
Apply the applicable default transforms of rows in an AuditModel..


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

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