Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

oracle.jbo
Class DeleteEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.jbo.JboEvent
          extended by oracle.jbo.RowEvent
              extended by oracle.jbo.InsertDeleteEvent
                  extended by oracle.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.

Overrides:
toString in class java.util.EventObject
Returns:
a diagnostic string.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

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