chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshy Augustine <joshymaugust...@gmail.com>
Subject Re: Is there a way to obtain Paginated Results via getDescendants call?
Date Thu, 04 Sep 2014 15:46:51 GMT
Thanks Florian.


On Thu, Sep 4, 2014 at 3:26 PM, Florian Müller <fmui@apache.org> wrote:

> Hi Joshy,
>
> getDescendants does not support paging. No CMIS operation that returns a
> tree
> supports paging.
> You have to use multiple getChildren calls here.
>
>
> - Florian
>
>
> > Hi,
> >
> > I have a situation wherein I am trying to list contents of a given folder
> > in UI. For performance and UI consistency sake, I have a requirement to
> > display a paginated list(for example, list the first 10 results in the
> > first page, obtain the next 10 only when user clicks on the 'next'
> button)
> >
> > I was originally imagining that it might be possible via the following
> API
> > Call, but can't quite get it to work the way I imagined.
> > folder.getDescendants(depth, treeOperationContext)
> >
> > Does anyone know, using the Open CMIS APIs what is the best way to
> achieve
> > what I am after ?
> >
> >
> > Thanks,
> > Joshy
>



-- 
Cheers,
Josh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message