Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.metadataManager.common
Class MetadataModifiedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--oracle.dss.metadataUtil.BaseEvent
              |
              +--oracle.dss.metadataManager.common.MetadataManagerEvent
                    |
                    +--oracle.dss.metadataManager.common.MetadataModifiedEvent
All Implemented Interfaces:
java.io.Serializable

public class MetadataModifiedEvent
extends MetadataManagerEvent

Describes changes to metadata. To listen for these events, implement the MetadataManagerListener interface, and register the listener by calling MetadataManager.addListener method.

See Also:
MetadataManagerListener, MetadataManager.addListener(oracle.dss.metadataManager.common.MetadataManagerListener), Serialized Form

Field Summary
static int COPY
          An MDObject has been copied to another folder.
static int DEPENDENT_LOAD
          The depedents of an MDObject has been loaded during the retrieve of UserObject
static int MODIFY
          The properties of an MDObject has been modified.
static int MOVE
          An MDObject has been moved to another folder.
static int REMOVE
          An MDObject has been removed from its parent.
static int REMOVEALL
          All the children have been removed from the MDObject.
static int RENAME
          An MDObject has been renamed.
static int SET
          An MDObject has been added to its parent or has been replaced in its parent.

 

Method Summary
 int getModOperation()
          Retrieves the kind of change that was made to the modified object.
 boolean isParentModified(java.lang.Object listenerObject)
          Indicates whether the modified object contains a specified object.

 

Methods inherited from class oracle.dss.metadataManager.common.MetadataManagerEvent
getObject

 

Methods inherited from class oracle.dss.metadataUtil.BaseEvent
consume, isConsumable, isConsumed, setLocale

 

Methods inherited from class java.util.EventObject
getSource, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

SET

public static final int SET
An MDObject has been added to its parent or has been replaced in its parent.

REMOVE

public static final int REMOVE
An MDObject has been removed from its parent.

REMOVEALL

public static final int REMOVEALL
All the children have been removed from the MDObject.

COPY

public static final int COPY
An MDObject has been copied to another folder.

MOVE

public static final int MOVE
An MDObject has been moved to another folder.

MODIFY

public static final int MODIFY
The properties of an MDObject has been modified.

DEPENDENT_LOAD

public static final int DEPENDENT_LOAD
The depedents of an MDObject has been loaded during the retrieve of UserObject

RENAME

public static final int RENAME
An MDObject has been renamed.
Method Detail

isParentModified

public boolean isParentModified(java.lang.Object listenerObject)
                         throws MetadataManagerException
Indicates whether the modified object contains a specified object. This method indicates whether the modified object is a parent or ancestor of the specified object. You can call this method to find out if an object is affected by the modification.
Parameters:
listenerObject - The object that might be affected by the modification.
Returns:
true if listenerObject is affected by the change, false if it is not.

getModOperation

public int getModOperation()
Retrieves the kind of change that was made to the modified object.
Returns:
A constant that indicates how the modified object was changed, or null if not modification operation was specified in the constructor. Valid constants are listed in the See Also section.
See Also:
SET, COPY, MOVE, REMOVE, REMOVEALL

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.