| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
oracle.jbo.JboEvent
oracle.jbo.TransactionStateEvent
public class TransactionStateEvent
Generated by RowSet or RowSetIterator to inform its listeners
 when the row set is closed or reset.
| Field Summary | |
|---|---|
static int | 
EVENT_TYPE_COMMIT
The event type designating that the row set iterator has been closed.  | 
static int | 
EVENT_TYPE_ROLLBACK
The event type designating that the row set iterator has been reset.  | 
| Fields inherited from class java.util.EventObject | 
|---|
source | 
| Constructor Summary | |
|---|---|
TransactionStateEvent(Transaction source,
                      int eventType)
Creates a transacation state event.  | 
|
TransactionStateEvent(Transaction source,
                      int eventType,
                      boolean clearCache)
Creates a transacation state event.  | 
|
| Method Summary | |
|---|---|
 int | 
getEventType()
Gets the event type.  | 
 boolean | 
isClearCache()
 | 
 java.lang.String | 
toString()
Internal: For debugging only.  | 
| 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 | 
| Field Detail | 
|---|
public static final int EVENT_TYPE_ROLLBACK
public static final int EVENT_TYPE_COMMIT
| Constructor Detail | 
|---|
public TransactionStateEvent(Transaction source,
                             int eventType)
source - the publisher of the event (a Transaction).eventType - the event type.  It should be one of the
                      EVENT_TYPE_... constants.
public TransactionStateEvent(Transaction source,
                             int eventType,
                             boolean clearCache)
source - the publisher of the event (a Transaction).eventType - the event type.  It should be one of the
                      EVENT_TYPE_... constants.clearCache - indicates whether the cache needs to be cleared after
                   end of transaction or not.| Method Detail | 
|---|
public int getEventType()
EVENT_TYPE_... constants.public boolean isClearCache()
public java.lang.String toString()
toString in class java.util.EventObject
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||