g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface ITransferManager

All Known Implementing Classes:
TransferManager

public interface ITransferManager

Interface class for the transfer manager


Method Summary
 IStatus resumeTransfer(ITransferInformation transfer, IProgressMonitor monitor)
          Method used to resume transfer described by transfer parameter.
 IStatus startTransfer(IFileStore source, IFileStore destination, boolean moveFlag, IProgressMonitor monitor)
          Main method doing transfer from source IFileStore to destination IFileStore.
 void unregisterTransfer(java.lang.Integer transferID)
          Removes transfer with the specified ID.
 

Method Detail

startTransfer

IStatus startTransfer(IFileStore source,
                      IFileStore destination,
                      boolean moveFlag,
                      IProgressMonitor monitor)
Main method doing transfer from source IFileStore to destination IFileStore.

Parameters:
source - IFileStore from which transfer starts
destination - IFileStore which is target of the transfer
moveFlag - flag representing move operation
monitor - progress monitor
Returns:
true if transfer succeeded, false if the transfer failed
Throws:
ProblemException

resumeTransfer

IStatus resumeTransfer(ITransferInformation transfer,
                       IProgressMonitor monitor)
Method used to resume transfer described by transfer parameter.

Parameters:
transfer - Informations about the transfer to be resumed
monitor - progress monitor
Returns:
true if transfer resuming was successful
Throws:
ProblemException

unregisterTransfer

void unregisterTransfer(java.lang.Integer transferID)
Removes transfer with the specified ID.

Parameters:
transferID -

g-Eclipse
Release 1.0.0