Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo
Class DeleteEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byoracle.jbo.JboEvent
          extended byoracle.jbo.RowEvent
              extended byoracle.jbo.InsertDeleteEvent
                  extended byoracle.jbo.DeleteEvent
All Implemented Interfaces:
java.io.Serializable

public class DeleteEvent
extends InsertDeleteEvent

An event generated by RowSetIterator to inform its listeners when a row is deleted.

Since:
JDeveloper 3.0
See Also:
RowSetIterator, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DeleteEvent(NavigatableRowIterator source, Row row, int rowIndex, int rowCountBefore, int rowCount)
          Creates an event for a row being deleted.
DeleteEvent(NavigatableRowIterator source, Row row, int rowIndex, int rowCountBefore, int rowCount, boolean isRemoveFromTable)
          Creates an event for a row being deleted.
 
Method Summary
 boolean isRemoveFromTable()
          Returns the flag indicating whether the row will be deleted from the database table.
 java.lang.String toString()
          Internal: For debugging only.
 java.lang.String toString(java.lang.String className)
          Internal: For debugging only.
 
Methods inherited from class oracle.jbo.InsertDeleteEvent
getRowCountInRange, getRowCountInRangeBefore
 
Methods inherited from class oracle.jbo.RowEvent
getRow, getRowIndex
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteEvent

public DeleteEvent(NavigatableRowIterator source,
                   Row row,
                   int rowIndex,
                   int rowCountBefore,
                   int rowCount)
Creates an event for a row being deleted.

Parameters:
source - the iterator that generated this event.
row - the row object that was deleted.
rowIndex - the range index of the row that was deleted.
rowCountBefore - the number of rows in the range before the delete event.
rowCount - the number of rows in the range after the delete event.

DeleteEvent

public DeleteEvent(NavigatableRowIterator source,
                   Row row,
                   int rowIndex,
                   int rowCountBefore,
                   int rowCount,
                   boolean isRemoveFromTable)
Creates an event for a row being deleted.

Parameters:
source - the iterator that generated this event.
row - the row object that was deleted.
rowIndex - the range index of the row that was deleted.
rowCountBefore - the number of rows in the range before the delete event.
rowCount - the number of rows in the range after the delete event.
isRemoveFromTable - indicates whether the row will be deleted from the database table or not.
Method Detail

isRemoveFromTable

public boolean isRemoveFromTable()
Returns the flag indicating whether the row will be deleted from the database table.

Returns:
true if the row will be deleted when the transaction is posted. false otherwise.

toString

public java.lang.String toString(java.lang.String className)
Description copied from class: InsertDeleteEvent
Internal: For debugging only.

Overrides:
toString in class InsertDeleteEvent
Returns:
a diagnostic string.

toString

public java.lang.String toString()
Internal: For debugging only.

Returns:
a diagnostic string.

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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