transfer service : work in progress.

implementation of transfer requsite.
    API change isComplete to isSync

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21130 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2010-07-13 14:04:23 +00:00
parent eece9fef5e
commit e468ab3a4b
26 changed files with 1294 additions and 72 deletions

View File

@@ -20,6 +20,7 @@
package org.alfresco.repo.transfer;
import java.io.File;
import java.io.OutputStream;
import java.util.Set;
import org.alfresco.service.cmr.repository.ContentData;
@@ -53,10 +54,12 @@ public interface TransferTransmitter
/**
* @param manifest, the transfer manifest file
* @param transfer the transfer object returned by an earlier call to begin
* @return the delta list.
* @param results - where to write the results, probably a temporary file the output steam should be
* open and will be closed before the method returns.
* @return the transfer requisite.
* @throws TransferException
*/
DeltaList sendManifest(Transfer transfer, File manifest) throws TransferException;
void sendManifest(Transfer transfer, File manifest, OutputStream results) throws TransferException;
/**
* Send the content of the specified urls