chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <>
Subject RE: refactoring questions
Date Tue, 20 Apr 2010 18:35:54 GMT
Hi Florent,

This is due to the AtomPub binding. I've missed that before and corrected that now.

The problem is that getObjectOfLatestVersion and getPropertiesOfLatestVersion take a version
series id and not an object id according to the spec. Since there is no "version series by
id" URL template, the URL to retrieve the latest object or properties is unknown. We need
one object of the version series to compile that URL. 
So the version series id parameter is ignored for the AtomPub binding while the object id
parameter is ignored for the Web Services binding. That's unfortunate but I don't see a way
to fix that more elegant. On the client layer this detail is hidden from the application.

Does this answer your question?



-----Original Message-----
From: Florent Guillaume [] 
Sent: Dienstag, 20. April 2010 19:51
To: List-Chemistry
Subject: refactoring questions


In VersioningService the methods getObjectOfLatestVersion and
getPropertiesOfLatestVersion have gained a new objectId argument that
was not present before. What's its purpose? It's not needed in the WS
bindings and is not in the domain model.


Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)   +33 1 40 33 79 87

View raw message