Oracle Data-aware Controls Reference

oracle.dacf.control
Class IncompleteTransactionAlertImpl

java.lang.Object
  extended byoracle.dacf.control.IncompleteTransactionAlertImpl
All Implemented Interfaces:
IncompleteTransactionAlert

public class IncompleteTransactionAlertImpl
extends java.lang.Object
implements IncompleteTransactionAlert

IncompleteTransactionAlertImpl Implements the InccompleteTransactionAlert interface


Field Summary
 
Fields inherited from interface oracle.dacf.control.IncompleteTransactionAlert
CANCEL_SAVE_AND_EXIT, DO_NOT_SAVE_BUT_EXIT, SAVE_AND_EXIT
 
Method Summary
 int promptUser(boolean forceExit)
          prompt the user to save changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

promptUser

public int promptUser(boolean forceExit)
prompt the user to save changes. The user can either choose to 1) save and exit 2) do not save but exit 3) don't save nor exit. This method will be called when there is a pending transaction and the caller would like to prompt the user on how to proceed

Specified by:
promptUser in interface IncompleteTransactionAlert
Parameters:
forceExit - a true value indicates that the UI displayed should not include UI elements which will let the user not terminate the application. ex., do not include cancel button
Returns:
value indicating what should be done with the transaction Possible return values are SAVE_AND_EXIT, DO_NOT_SAVE_BUT_EXIT, CANCEL_SAVE_AND_EXIT

Oracle Data-aware Controls Reference

 

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