|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.db.transfer.TransferManager
public final class TransferManager
Manage the transfer of database objects.
The source can be:
The targets (there may be several) can be
Create a TransferDescriptor
to describe the transfer. Then invoke #prepareAndTransfer(transferDescriptor)
The transfer descriptor describes:
Constructor Summary | |
---|---|
TransferManager() Deprecated. use getInstance() |
Method Summary | |
---|---|
TransferDescriptor |
createDescriptor(DBObjectProvider source, DBObjectProvider target) |
TransferDescriptor |
createDescriptor(java.lang.String sourceProviderType, java.lang.String transferTargetID) Creates a TransferDescriptor that will transfer objects from the given source provider type to the given transfer target (identified by its transfer target id). |
static TransferManager |
getInstance() Gets the TransferManager that can be used to create, prepare and transfer descriptors. |
void |
prepare(TransferDescriptor td) Prepare to transfer objects. |
SystemObject[] |
prepareAndTransfer(TransferDescriptor td) Transfer the objects as described by the TransferDescriptor. |
SystemObject[] |
transfer(TransferDescriptor td) Do the transfers described by the TransferDescriptor. |
static boolean |
updateChildren(ResultSet rs) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated
public TransferManager()
getInstance()
Method Detail |
---|
public static TransferManager getInstance()
public TransferDescriptor createDescriptor(DBObjectProvider source, DBObjectProvider target)
public TransferDescriptor createDescriptor(java.lang.String sourceProviderType, java.lang.String transferTargetID)
sourceProviderType
- the source provider type (e.g. "db" or "offlinedb".transferTargetID
- the id of the target for transfer.public void prepare(TransferDescriptor td) throws TransferFailedException
td
-TransferFailedException
public SystemObject[] transfer(TransferDescriptor td) throws TransferFailedException
TransferCancelledException
- if the transfer is cancelledTransferFailedException
- if the transfer failsprepare(oracle.ide.db.transfer.TransferDescriptor)
public static boolean updateChildren(ResultSet rs)
public SystemObject[] prepareAndTransfer(TransferDescriptor td) throws TransferFailedException
td
- the descriptor for the transferTransferFailedException
- if the transfer failedTransferCancelledException
- if the transfer was cancelled
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |