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

E13403-08

oracle.jdevimpl.audit.core
Class AuditAddin

java.lang.Object
  extended by oracle.jdeveloper.audit.AuditProvider
      extended by oracle.jdeveloper.audit.AbstractAuditAddin
          extended by oracle.jdevimpl.audit.core.AuditAddin
All Implemented Interfaces:
Addin

public class AuditAddin
extends AbstractAuditAddin

Core Audit addin.


Nested Class Summary
static class AuditAddin.TraversalAnalyzer
           
 
Nested classes/interfaces inherited from class oracle.jdeveloper.audit.AuditProvider
AuditProvider.PersistenceDelegateBinding
 
Constructor Summary
AuditAddin()
           
 
Method Summary
 java.lang.Class[] getAnalyzers()
          Gets the analyzer classes defined by this provider.
 java.lang.Class[] getBeanCustomizers()
          Gets the bean customizers defined by this provider.
 java.lang.Class[] getModels()
          Gets the model classes defined by this provider.
 AuditProvider.PersistenceDelegateBinding[] getPersistenceDelegates()
          Gets the persistence delegates defined by this provider.
 Profile[] getProfiles()
          Gets the default Audit profiles predefined by this provider.
 java.net.URL[] getProfileStyleSheets()
          Gets the default Profile report XSLT style sheet URLs defined by this provider.
 java.net.URL[] getStyleSheets()
          Gets the default Audit report XSLT style sheet URLs defined by this provider.
 void initialize()
          Invoked by the AddinManager after the instance of the Addin is instantiated.
 void initializeAlways()
          Initializes subclass functionality that is always required, whether or not JDeveloper creates a user interface.
 void initializeUI()
          Initializes subclass functionality that applies only if JDeveloper creates a user interface.
 
Methods inherited from class oracle.jdeveloper.audit.AbstractAuditAddin
canShutdown, shutdown
 
Methods inherited from class oracle.jdeveloper.audit.AuditProvider
getColumns, getExtensionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditAddin

public AuditAddin()
Method Detail

initialize

public void initialize()
Description copied from class: AbstractAuditAddin
Invoked by the AddinManager after the instance of the Addin is instantiated. When invoked, The Addin should register and menu items, and actions required for use during this classes lifecycle. Addin authors should take care to ensure that any extraneous initialization is not preformed on this method, and any startup code that can be delayed until a later time is delayed, as the Addin's are synchronously initialized during the startup of the IDE, and each Addin has the potential to negatively impact the startup time of the product. The AbstractAuditAddin implementation registers this class as an AuditProvider, invokes AbstractAuditAddin.initializeAlways() and, if the UI is initializing, invokes AbstractAuditAddin.initializeUI().

Specified by:
initialize in interface Addin
Overrides:
initialize in class AbstractAuditAddin
See Also:
AddinManager

initializeAlways

public void initializeAlways()
Description copied from class: AbstractAuditAddin
Initializes subclass functionality that is always required, whether or not JDeveloper creates a user interface. The AbstractAuditAddin implementation is empty.

Overrides:
initializeAlways in class AbstractAuditAddin

initializeUI

public void initializeUI()
Description copied from class: AbstractAuditAddin
Initializes subclass functionality that applies only if JDeveloper creates a user interface. The AbstractAuditAddin implementation is empty.

Overrides:
initializeUI in class AbstractAuditAddin

getAnalyzers

public java.lang.Class[] getAnalyzers()
Description copied from class: AuditProvider
Gets the analyzer classes defined by this provider. These must be concrete subclasses of Analyzer. The default AuditProvider implementation returns null.

Overrides:
getAnalyzers in class AuditProvider
Returns:
An array of Classes assignable from Analyzer, an empty array, or null.

getProfiles

public Profile[] getProfiles()
Description copied from class: AuditProvider
Gets the default Audit profiles predefined by this provider. The default AuditProvider implementation returns null.

Typically, the saved profile files are packaged in the same jar as the provider and the profile is created using a URL to the file obtained by Class.getResource(java.lang.String).

Overrides:
getProfiles in class AuditProvider
Returns:
An array of profiles, an empty array, or null.

getStyleSheets

public java.net.URL[] getStyleSheets()
Description copied from class: AuditProvider
Gets the default Audit report XSLT style sheet URLs defined by this provider. The style sheet for a URL url will be named URLFileSystem.getName(url). The default AuditProvider implementation returns null.

Typically, the style sheets are packaged in the same jar as the provider and the URL is created with Class.getResource(java.lang.String).

Overrides:
getStyleSheets in class AuditProvider
Returns:
An array of URLs of saved profiles, an empty array, or null.

getProfileStyleSheets

public java.net.URL[] getProfileStyleSheets()
Description copied from class: AuditProvider
Gets the default Profile report XSLT style sheet URLs defined by this provider. The style sheet for a URL url will be named URLFileSystem.getName(url). The default AuditProvider implementation returns null.

Typically, the style sheets are packaged in the same jar as the provider and the URL is created with Class.getResource(java.lang.String).

Overrides:
getProfileStyleSheets in class AuditProvider
Returns:
An array of URLs of saved profiles, an empty array, or null.

getModels

public java.lang.Class[] getModels()
Description copied from class: AuditProvider
Gets the model classes defined by this provider. These must be concrete subclasses of ModelType. The default AuditProvider implementation returns null.

Overrides:
getModels in class AuditProvider
Returns:
An array of Classes assignable from ModelType, an empty array, or null.

getBeanCustomizers

public java.lang.Class[] getBeanCustomizers()
Description copied from class: AuditProvider
Gets the bean customizers defined by this provider. These must be concrete subclasses of BeanCustomizer. The default AuditProvider implementation returns null.

Overrides:
getBeanCustomizers in class AuditProvider
Returns:
An array of Classes assignable from ModelType, an empty array, or null.

getPersistenceDelegates

public AuditProvider.PersistenceDelegateBinding[] getPersistenceDelegates()
Description copied from class: AuditProvider
Gets the persistence delegates defined by this provider. These must be instances of AuditProvider.PersistenceDelegateBinding, which associates a type and a persistence delegate. Persistence delegates should be supplied for any type which must be saved by Audit and which does not follow JavaBeans rules. See the Swing Connection article Using XMLEncoder for more information about writing persistence delegates. The default AuditProvider implementation returns null.

Overrides:
getPersistenceDelegates in class AuditProvider
Returns:
An array of PersistenceDelegateBinding instances, an empty array, or null.

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

E13403-08

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