No, not exactly. Document.getContentStreamFileName() returns the
property cmis:contentStreamFileName, which is independent of the file
name that delivered with the content.
The repository you are using seems not have set this property, if
content is attached.
Florian
On 21/09/2010 15:53, Florent Guillaume wrote:
Ah ok, it seems it doesn't work either with AtomPub because
org.apache.chemistry.opencmis.swingclient.ClientHelper.download starts
with a check of the doc.getContentStreamFileName which is null in the
case of a PersistentDocumentImpl as we've seen before.
Florent
On Tue, Sep 21, 2010 at 4:35 PM, Florian Müller
<[email protected]> wrote:
Double-click works fine on Windows and Mac. The document must have a content
stream filename property, though. If that is not set, the client assumes
that there is no content and does nothing.
Florian
On 21/09/2010 15:15, Florent Guillaume wrote:
Ok double-click still doesn't work (tested on Mac) but drag&drop now
works after a small fix related to getContentStreamFileName returning
null with AtomPub (typo in your code I guess).
Florent
On Tue, Sep 21, 2010 at 2:42 PM, Florian Müller
<[email protected]> wrote:
Hi Florent,
You can double-click the file or drag-and-drop it to your desktop.
Florian
On 21/09/2010 13:04, Florent Guillaume wrote:
Hi,
Is there a way in the swing client to download a file? I didn't find a
obvious wait to do it when having a quick look.
Thanks,
Florent