I have internal patches that add CollectionOptions params to the Activities Service. I'll commit to trunk sometime today, especially since these issues were approved for 0.9

http://wiki.opensocial.org/index.php?title=Activity_Paging


On Dec 5, 2008, at 9:47 AM, Kevin Brown wrote:

On Fri, Dec 5, 2008 at 8:24 AM, Stephen Voorhees <
[EMAIL PROTECTED]> wrote:

I am currently working on an implementation of OpenSocial 0.8.1 using
Shindig and noticed there does not currently appear to be any paging,
sorting or filtering capabilities for Activities. I do see it as a TODO in
the source:

ActivityHandler.java:
protected Future<?> handleGet(RequestItem request)
   throws SocialSpiException {
 ...
 ...
 return service.getActivities(userIds, request.getGroup(),
    request.getAppId(),
    // TODO: add pagination and sorting support
// getSortBy(params), getFilterBy(params), getStartIndex(params),
getCount(params),
    Request.getFields(), request.gettoken());
}

Are there plans to add this in, in a similar way to how it is handled
within the PersonService? Seems having support for this in Activities is crucial given the amount of data in a stream. Should this be in the 1.0
release?


Activities paging wasn't covered in opensocial 0.8. Our first release is
only intended to be 0.8 compliant, so many things won't be in there.




Perhaps I'm missing something? :-)

Cheers,
--Steve



Paul Lindner
[EMAIL PROTECTED]



Reply via email to