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


oracle.jbo.server
Interface TransactionPostListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
Entity
All Known Implementing Classes:
EntityImpl, ViewObjectImpl

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

public 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

public 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

public 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

public 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

public boolean isPostedToDB()

setPostedToDB

public void setPostedToDB(boolean b)

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


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