|Re: [CDO] Saving resources in transaction [message #1061249 is a reply to message #1061014]
||Thu, 30 May 2013 18:41
|| Eike Stepper
Registered: July 2009
Am 29.05.2013 16:02, schrieb Martin odloucký:|
> Hi Eike,
> thank you very much for the link. I donwloaded the plugin from Git and studied the code. I have also looked at some
> documentation I have found. Unfortunately, I could not grasp the basic idea. I learned that you somehow create a
> source and target systems (such as FileSystemTransferSystem or RespositoryTransferSystem) and then create a
> CDOTransform object to perform the task.
So you could grasp the basic idea :P
> I have succesfully defined a source element of a file on my disk but I have no idea how to map it to another file or
> to a repository location.
Try these methods:
> Sadly the FileSystemUIProvider class in the transfer plugins says TODO in convertTransferTarget method in which I
> hoped I would have found a hint.
Yeah, due to time constraints some methods are not implemented, yet. They're not needed for basic functionality.
> If you could provide just a few lines of simple code of how to do a very basic mapping you would make me happy for an
> entire week.
You're almost there. Try the methods above, call CDOTransfer.perform() and you're done.
Powered by FUDForum
. Page generated in 0.02730 seconds