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


oracle.dss.dataSource.common
Class DataChangedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--oracle.dss.dataSource.common.QueryEvent
              |
              +--oracle.dss.dataSource.common.DataChangeEvent
                    |
                    +--oracle.dss.dataSource.common.DataChangedEvent
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class DataChangedEvent
extends DataChangeEvent

Informs listeners when data, metadata, or both have changed (that is, when one or more pending operations have been flushed from the queue and have returned successfully).

See Also:
Serialized Form

Constructor Summary
DataChangedEvent(java.lang.Object source, boolean dataChanged, java.util.BitSet metadataChanged, int changeType, DataAccess cur)
          Constructor to use when the Query object knows something about what changed.
DataChangedEvent(java.lang.Object source, int changeType, DataAccess cur)
          Constructor to use when the extent of the changes may be unknown and the listener should assume that the entire cube has changed.

 

Method Summary
 DataAccess getDataAccess()
          Retrieves a reference to the new DataAccess cursor.
 java.util.BitSet getMetadataChanged()
          Retrieves a set of flags that indicate which, if any, metadata cursors (edges) changed.

 

Methods inherited from class oracle.dss.dataSource.common.DataChangeEvent
getChangeType, isDataChanged

 

Methods inherited from class oracle.dss.dataSource.common.QueryEvent
clone

 

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

 

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

 

Constructor Detail

DataChangedEvent

public DataChangedEvent(java.lang.Object source,
                        int changeType,
DataAccess cur)
Constructor to use when the extent of the changes may be unknown and the listener should assume that the entire cube has changed.
Parameters:
source - The object that fired the event.
changeType - A constant that indicates the type of operation that changed the data. Valid constants are listed in the See Also section.
cur - Reference to the new cursor object.
See Also:
DataChangedEvent.DRILL_CHANGE, DataChangedEvent.PAGE_CHANGE, DataChangedEvent.PIVOT_CHANGE, DataChangedEvent.SEL_CHANGE, DataChangedEvent.UNKNOWN_CHANGE

DataChangedEvent

public DataChangedEvent(java.lang.Object source,
                        boolean dataChanged,
                        java.util.BitSet metadataChanged,
                        int changeType,
DataAccess cur)
Constructor to use when the Query object knows something about what changed.
Parameters:
source - The source of the event, that is, a reference to the object that fired the event.
dataChanged - true if data has changed, false if not.
metadataChanged - Variable that lists the changed edge or edges of the cursor. To create this variable, you can use the constants ROW_EDGE, COLUMN_EDGE, or PAGE_EDGE in oracle.dss.util.DataDirector.
changeType - A constant that indicates the type of operation that changed the data. Valid constants are listed in the See Also section.
cur - Reference to the new cursor object.
See Also:
DataDirector.COLUMN_EDGE, DataDirector.ROW_EDGE, DataDirector.PAGE_EDGE, DataChangedEvent.DRILL_CHANGE, DataChangedEvent.PAGE_CHANGE, DataChangedEvent.PIVOT_CHANGE, DataChangedEvent.SEL_CHANGE, DataChangedEvent.UNKNOWN_CHANGE
Method Detail

getMetadataChanged

public java.util.BitSet getMetadataChanged()
Retrieves a set of flags that indicate which, if any, metadata cursors (edges) changed.
Returns:
Set of flags that indicate the edges that changed.

getDataAccess

public DataAccess getDataAccess()
Retrieves a reference to the new DataAccess cursor.
Returns:
Reference to the new DataAccess cursor.

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


Copyright © 2003, Oracle. All Rights Reserved.