You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Guillaume CHAUVET <gc...@ciril.net> on 2016/11/25 08:24:34 UTC

Deduce absolute path from current node name

Hi folks,

I'm facing to a understanding problem about paths in my CMIS server implementation (chemistry-opencmis-server-bindings#1.0.0).
When I build a DataObject, I only know the relative path of it... Is it possible to configure opencmis framework to deduce the absolute path ?

Best regards,
Guillaume

Re: Deduce absolute path from current node name

Posted by Florian Müller <fm...@apache.org>.
Hi Guillaume,

No, the OpenCMIS framework doesn't know anything about the folder 
hierarchy. Also, the concept of a relative path doesn't exist in CMIS. All 
paths are absolute.
Have you already implemented getFolderParent()? It should provide you the 
absolute path of the parent folder.


- Florian


> Hi folks,
>
> I'm facing to a understanding problem about paths in my CMIS server 
> implementation (chemistry-opencmis-server-bindings#1.0.0).
> When I build a DataObject, I only know the relative path of it... Is it 
> possible to configure opencmis framework to deduce the absolute path ?
>
> Best regards,
> Guillaume