Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.server
Interface TransactionPostListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
Entity
All Known Implementing Classes:
CmrAccessorViewImpl, DCCriteriaBaseVOImpl, DCCriteriaItemVOImpl, DCCriteriaOperatorVOImpl, DCCriteriaRowVOImpl, DCCriteriaValueVOImpl, DCCriteriaVOImpl, DCDataVO, DSEntityImpl, DSViewObjectImpl, EntityFacadeImpl, EntityImpl, EntityOverRow, FinderViewImpl, PlaceholderVOImpl, RowIdEntityObjectImpl, ViewObjectImpl, ViewObjectOnRowSets

public interface TransactionPostListener
extends java.util.EventListener

Implemented by subscribers to transactions events generated during a transaction post operation.

Since:
JDeveloper 3.0
See Also:
DBTransaction, Entity, TransactionEvent

Method Summary
 int getTransPostHandle()
          Advanced: Applications should not use this method.
 boolean isPostedToDB()
           
 boolean isTransientTransactionPostListener()
          Tests whether this transaction listener is transient or permanent.
 void postChanges(TransactionEvent e)
          Notifies a listener to post any cached changes to the database.
 void setPostedToDB(boolean b)
           
 void setTransPostHandle(int hdl)
          Advanced: Applications should not use this method.
 

Method Detail

postChanges

void postChanges(TransactionEvent e)
Notifies a listener to post any cached changes to the database.

This method is useful for Entity Objects that perform data manipulation operations such as UPDATE, INSERT or DELETE.

Parameters:
e - a transaction event.

getTransPostHandle

int getTransPostHandle()
Advanced: Applications should not use this method.

Gets a handle to a transaction post event.

Returns:
a handle to a transaction post event.

setTransPostHandle

void setTransPostHandle(int hdl)
Advanced: Applications should not use this method.

Specifies a handel to a transaction post event.

Parameters:
hdl - a handle to a transaction post event.

isTransientTransactionPostListener

boolean isTransientTransactionPostListener()
Tests whether this transaction listener is transient or permanent.

Transient listeners are automatically removed at the end of a transaction post cycle; permanent listeners remain across post cycles. This property does not change.

Returns:
true if the listener is transient.

isPostedToDB

boolean isPostedToDB()

setPostedToDB

void setPostedToDB(boolean b)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

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