|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.db.transfer.TransferState
public final class TransferState
Object that holds the current state of a transfer process. The state for a given transfer is retrieved from the TransferDescriptor for that transfer. When the TransferManager completes a transfer process the state object is removed from the descriptor.
Constructor Summary | |
---|---|
TransferState(TransferDescriptor td)
|
Method Summary | |
---|---|
void |
addMessage(java.lang.String message)
|
void |
addStateListener(oracle.ideimpl.db.transfer.TransferStateListener l)
Adds a listener that will be notified of changes to the state. |
void |
cancel()
Note that we want to cancel this transfer. |
void |
checkNotCancelled()
If this transfer has been marked for cancellation, cancel it |
void |
clearMessages()
|
TransferTarget |
getActiveTarget()
If the transfer is active this returns the target being transferred to. |
SystemObject[] |
getCopiedObjects()
|
TransferDescriptor |
getDescriptor()
|
SystemObject[] |
getExistingObjects()
|
TransferPolicy |
getPolicy()
|
ResultSet |
getResultSet()
|
boolean |
hasFailed()
Returns true if the transfer (or prepare) has failed. |
boolean |
isPrepDone()
|
protected void |
notifyStateChange()
|
boolean |
removeStateListener(oracle.ideimpl.db.transfer.TransferStateListener l)
|
void |
setExistingObjects(SystemObject[] existing)
Should only be used by the TransferManager and RefreshController. |
void |
setFailed(boolean failed)
Notifies any state listeners that the transfer (or prepare) has failed. |
void |
setResultSet(ResultSet rs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransferState(TransferDescriptor td)
Method Detail |
---|
public TransferDescriptor getDescriptor()
public boolean isPrepDone()
public TransferTarget getActiveTarget()
public void setFailed(boolean failed)
public boolean hasFailed()
public void cancel()
public void checkNotCancelled() throws TransferCancelledException
TransferCancelledException
public ResultSet getResultSet()
public void setResultSet(ResultSet rs)
public SystemObject[] getCopiedObjects()
public SystemObject[] getExistingObjects()
public void setExistingObjects(SystemObject[] existing)
public void addMessage(java.lang.String message)
public void clearMessages()
public TransferPolicy getPolicy()
public void addStateListener(oracle.ideimpl.db.transfer.TransferStateListener l)
public boolean removeStateListener(oracle.ideimpl.db.transfer.TransferStateListener l)
protected void notifyStateChange()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |