chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: CMIS 1.1 getObjectParents()
Date Tue, 12 Aug 2014 13:02:53 GMT
Hi Jorge,

getParents() is overridden in FolderImpl and calls getFolderParent() and not
getObjectParents().
Are you sure that is the cause of your issue?

- Florian


> Hello everybody,
> 
> we are working on the migration of our systems to CMIS 1.1.
> One of the changes applied is in the security part of the navigation services,
> the CMIS 1.1 specification says that the method getObjectParents() should only
> accept cmis:document, cmis:policy or cmis:item objects [1] (in CMIS 1.0 was
> accepting cmis:folder as well)
> To get the parent folder we should call getFolderParent(), I assume the
> motivation of this change is because the Folder must be filed always and could
> not be multi-filed.
> 
> For what concerns the client library, Document and Folder implements the
> interface FileableCmisObject with the method getParents(), and in the
> implementation in AbstractFilableCmisObject is always calling
> getObjectParents(), hence not working in our server with CMIS 1.1 changes.
> 
> Could you please adapt the code to call getFolderParent() or getObjectParents
> depending of the object type?
> 
> Kind regards and thanks.
> 
> 
> [1] CMIS 1.1 specs, section 2.1.12.3.2.1 Navigation Services
> Jorge MARTIN CUERVO
> [cid:image001.gif@01CCF6D0.4613B970]
> European Commission
> DG TRADE
> Unit A4
> CHAR 02/077
> B-1049 Brussels/Belgium
> +32 2 298 86 27
> jorge.martin-cuervo@ext.ec.europa.eu<mailto:jorge.martin-cuervo@ext.ec.europa.eu>
>

Mime
View raw message