jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Pfister <dominique.pfis...@day.com>
Subject Re: Chemistry / CMIS status
Date Tue, 28 Apr 2009 09:31:02 GMT
Hi Florent,

Just a quick thing I noticed while working on a JCR implementation of
your API, in the methods that return collections, e.g.:

    List<ObjectEntry> getChildren(String folderId, BaseType type,
            String filter, boolean includeAllowableActions,
            boolean includeRelationships, int maxItems, int skipCount,
            String orderBy, boolean[] hasMoreItems);

Instead of having this extra boolean-array parameter "hasMoreItems" in
order to return more than one value from this method, don't you think
it'd be more appropriate to create a new class for the return type,
containing both the collection and this flag? I did not see where this
argument was actually used, so would it even be possible to entirely
omit it?

Kind regards

On Wed, Apr 8, 2009 at 12:45 AM, Florent Guillaume <fg@nuxeo.com> wrote:
> On 7 Apr 2009, at 10:23, Dominique Pfister wrote:
>> Hi Florent,
>> I was very busy lately, but now I finally found some time to look at
>> your sources.
>> Kind regards
>> Dominique
> Excellent thanks. Looking forward to your comments.
> I've had feedback from Bogdan here at Nuxeo as well, and we'll be
> refactoring some of it during the week.
> Also I still have to check in the WS code that was used for the AIIM iECM
> demo.
> Florent
> --
> Florent Guillaume, Head of R&D, Nuxeo
> Open Source, Java EE based, Enterprise Content Management (ECM)
> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

View raw message