Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.jdeveloper.offlinedb.wizard
Class SaveAllObjectsDialog

java.lang.Object
  extended by oracle.jdeveloper.offlinedb.wizard.SaveAllObjectsDialog

public class SaveAllObjectsDialog
extends java.lang.Object

This utility checks a provider to see if it contains dirty objects. If there are any, the user is prompted to save them - being warned that unsaved changes will be lost. If they prompt to save, the save is performed.

Since:
11

Nested Class Summary
static class SaveAllObjectsDialog.SaveResult
           
 
Method Summary
static SaveAllObjectsDialog.SaveResult saveAllObjects(java.awt.Component parent, OfflineDBObjectProvider pro)
           
static SaveAllObjectsDialog.SaveResult saveAllObjects(OfflineDBObjectProvider pro)
          If there are dirty objects in the given provider the user is prompted to save them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

saveAllObjects

public static SaveAllObjectsDialog.SaveResult saveAllObjects(OfflineDBObjectProvider pro)
If there are dirty objects in the given provider the user is prompted to save them.

Parameters:
pro - the provider whose objects should be saved
Returns:
int what the user chose to do.

saveAllObjects

public static SaveAllObjectsDialog.SaveResult saveAllObjects(java.awt.Component parent,
                                                             OfflineDBObjectProvider pro)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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