|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.offlinedb.transfer.OfflineTransferHelper
public final class OfflineTransferHelper
Utility methods for transferring to and from offline databases.
Method Summary | |
---|---|
static boolean |
areCompatible(DBObjectProvider source, DBObjectProvider target) Return true is two databases are compatible. |
static TransferDescriptor |
createImportDescriptor() Creates an empty TransferDescriptor for transferring from an online database to an offline database. |
static java.lang.Class |
getDBClass(DBObjectProvider db1) What sort of database do we have? This method returns the Class of the database. |
static boolean |
isCompatibleDatabase(DBObjectProvider db1, DBObjectProvider db2, boolean allowChange) Checks whether the given Database is compatible with the given offline provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final TransferDescriptor createImportDescriptor()
public static boolean isCompatibleDatabase(DBObjectProvider db1, DBObjectProvider db2, boolean allowChange)
The boolean parameter governs whether the user gets a message dialog to inform them of a mismatch or allow them to change their offline database's properties (if necessary and possible). If true they will be shown dialogs to this effect, if false this method is just informative to the API user.
The transfer to offline uses this method (with allowChange) when initiating an import.
db1
- the proposed database to import fromdb2
- the proposed provider to import toallowChange
- whether to notify the user of any problem and possibly let them correct it.public static java.lang.Class getDBClass(DBObjectProvider db1)
public static boolean areCompatible(DBObjectProvider source, DBObjectProvider target)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |