* requested file is already available locally. If the file must be downloaded from the server
* this call is guaranteed to be asynchronous, and the callback will be notified on the EDT
* regardless of from which thread this call was made.
*/
public void retrieveDataFile(DataFileIdentifier fileId, Receiver<Result> callback) {
KongaGuid processGuid = null;
TransformationDataFile localFile = TransformationDataFile.NULL;
synchronized (localFiles) {
DataFilesInfo filesInfo = localFiles.getCurrentFilesInfo();
if (filesInfo == null || !filesInfo.contains(fileId)) {
boolean unknownFile = true;