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


oracle.dss.dataSource.common
Class QueryEdit

java.lang.Object
  |
  +--oracle.dss.dataSource.common.QueryEdit
All Implemented Interfaces:
java.io.Serializable

public class QueryEdit
extends java.lang.Object
implements java.io.Serializable

Edit class for the state of the Query object. This class operates on the undoable edit object that can be retrieved by a listener to the UndoAvailableEvent through the getEdit method of that event.

See Also:
Serialized Form

Constructor Summary
QueryEdit(Query ds,  op, QueryState before, QueryState after)
          Constructs an edit for the state of the Query object for a single operation.

 

Method Summary
 interface getOperation()
          Retrieves the stored edit operation.
 java.lang.String getPresentationName()
          Retrieves the name of the edit operation.
 void redo()
          Restores the Query object state that existed after the edit operation was performed.
 void undo()
          Restores the Query object state that existed before the edit operation was performed.

 

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

 

Constructor Detail

QueryEdit

public QueryEdit(Query ds,
                  op,
QueryState before,
QueryState after)
Constructs an edit for the state of the Query object for a single operation.
Parameters:
ds - The Query object that owns this operation.
op - The operation to store as the undoable op.
before - The Query state before the edit.
after - The Query state after the edit.
Method Detail

getPresentationName

public java.lang.String getPresentationName()
Retrieves the name of the edit operation.
Returns:
The name of the edit operation or null, if there is no name available.

undo

public void undo()
Restores the Query object state that existed before the edit operation was performed.

redo

public void redo()
Restores the Query object state that existed after the edit operation was performed.

getOperation

public getOperation()
Retrieves the stored edit operation.
Returns:
The stored edit operation.

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


Copyright © 2003, Oracle. All Rights Reserved.