|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransferPolicy
Interface for the classes which copy objects for transfer.
Given the source DBObjectProvider, target DBObjectProvider and array of source object descriptors it has to:
Method Summary | |
---|---|
SystemObject[] |
copyForTransfer(TransferDescriptor td,
SystemObject[] existingObjects)
Copy the objects for transfer. |
Difference |
filterDiff(TransferDescriptor td,
Difference diff)
Filter the differences to remove any which are not applicable to the transfer policy. |
SystemObject[] |
findExistingObjects(TransferDescriptor td)
Find any existing objects in the transfer target. |
ResultSet |
getDifferences(TransferDescriptor td,
SystemObject[] existingObjects,
SystemObject[] copiedObjects)
Get a ResultSet describing the differences between any existing objects and the objects which have been copied for transfer. |
Method Detail |
---|
SystemObject[] findExistingObjects(TransferDescriptor td) throws TransferFailedException
td
- the descriptor for the transfer
TransferFailedException
- if there is a problem finding the
existing objects that is unrecoverableSystemObject[] copyForTransfer(TransferDescriptor td, SystemObject[] existingObjects) throws TransferFailedException
td
- the descriptor for the transferexistingObjects
- the objects that exist in the target as discovered
by findExistingObjects
TransferFailedException
- if the copy operation failsResultSet getDifferences(TransferDescriptor td, SystemObject[] existingObjects, SystemObject[] copiedObjects)
existingObjects
- the objects already in the transfer targetcopiedObjects
- the objects that have been prepared to be transfered
to the target
Difference filterDiff(TransferDescriptor td, Difference diff)
td
- diff
- a ResultSet containing the differences between the two sets of
objects
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |