Suppose for example I have 10,000,000 Friends... I certainly don't want to ever present them all in the UI... secondly, thought I can specify that I want one page from "first" to "first + max", but that does not provide me with any way to tell the UI that there are 10,000,000, so that I can display the total and/or produce a page list...
So, like I said, I might just be missing something and/or not understanding the usage of the API (at least from the backend perspective)??? It's simply wrong to have to produce the total based on returning the total result set and then pruning out the desired page. i.e. How can I get the total number of "friends" WITHOUT returning them all from the DB? This doesn't seem possible through any of the methods in the backend service tier. Ray On Fri, 2008-04-04 at 10:13 +0200, Cassie wrote: > Which entities are you talking about? > > - Cassie > > > On Fri, Apr 4, 2008 at 2:05 AM, Raymond Auge <[EMAIL PROTECTED]> wrote: > > Hello All, > > > > There does not appear to be a way to return the total number of some > > entity through any of the APIs. > > > > I only see a way of returning a list of entities. Not the total count > > (which I'd need in order to build some pagination). > > > > Perhaps I missed something? > > > > Raymond Augé > > Software Engineer > > Liferay, Inc. > > Enterprise. Open Source. For Life. > > > Raymond Augé Software Engineer Liferay, Inc. Enterprise. Open Source. For Life.

