|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--oracle.dss.dataSource.common.QueryEvent | +--oracle.dss.dataSource.common.StateChangeEvent
Base class for events that indicate that the state of a Query
object has been changed or is about to be changed.
Field Summary | |
static int |
DATA_MAP A constant that represents a Data map change for a Query object. |
static int |
METADATA_MAP A constant that represents a Metadata map change for a Query object. |
static int |
REDO A constant that represents the Redo type of state change for a Query object. |
static int |
STATE A constant that represents a state marker type of change for a Query object. |
static int |
UNDO A constant that represents the Undo type of state change for a Query object. |
static int |
UNIVERSE A constant that represents a Universe selection change for a Query object. |
Constructor Summary | |
StateChangeEvent(java.lang.Object source, int e, AbstractMap m, int t) Constructs the event with maps for a change on a specific edge of the query. | |
StateChangeEvent(java.lang.Object source, op, int t) Constructs the event for a specific operation. | |
StateChangeEvent(java.lang.Object source, java.lang.String d, AbstractMap m, int t) Constructs the event with maps for a change in one or more dimensions. | |
StateChangeEvent(java.lang.Object source, java.lang.String d, Selection s) Constructs the event with a selection |
Method Summary | |
interface |
getOperation() Retrieves the Operation object that will be undone or redone. |
int |
getType() Retrieves the type of state change: undo, redo, or state change |
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 |
Field Detail |
public static final int UNDO
Query
object. This type of change occurs when the undo
method of the QueryEdit
object is called.public static final int REDO
Query
object. This type of change occurs when the redo
method of the QueryEdit
object is called.public static final int STATE
Query
object. This constant is used when constructing a StateChangedEvent
after the state of a Query
object has been reset to a previous state by invoking the BaseManager.setQueryState
method.public static final int METADATA_MAP
Query
object.public static final int DATA_MAP
Query
object.public static final int UNIVERSE
Query
object.Constructor Detail |
public StateChangeEvent(java.lang.Object source, op, int t)
source
- The source of the event, that is, a reference to the object that fired the event.op
- An Operation
object.t
- A constant (UNDO
, REDO
, or STATE
) that represents the type of state change for the Query
object.REDO
, STATE
, UNDO
public StateChangeEvent(java.lang.Object source, java.lang.String d, AbstractMap m, int t)
source
- Source of the event, that is, a reference to the object that fired the event.d
- The name of the dimension of the map that is involved; null
means all dimensions.m
- The Map
object that is involved.t
- A constant (DATA_MAP
, or METADATA_MAP
) that indicates the type of map state change to the Query
object.DATA_MAP
, METADATA_MAP
public StateChangeEvent(java.lang.Object source, int e, AbstractMap m, int t)
source
- Source of the event, that is, a reference to the object that fired the event.e
- A constant (such as DataDirector.ROW_EDGE
) that represents the edge for which the map has changed.m
- The Map
object that is involved.t
- A constant (DATA_MAP
, or METADATA_MAP
) that indicates the type of map state change to the Query
object.DATA_MAP
, METADATA_MAP
, DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.ROW_EDGE
public StateChangeEvent(java.lang.Object source, java.lang.String d, Selection s)
source
- Source of the event, that is, a reference to the object that fired the event.d
- The name of the dimension of the universe selection that is involved in the query change.s
- The Selection
object that will be used after the change.Method Detail |
public getOperation()
Operation
object that will be undone or redone.Operation
object that will be undone or redone.public int getType()
UNDO
, REDO
, or STATE
) that represents the type of state change.REDO
, STATE
, UNDO
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |