Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.1-BETA1
    • Component/s: Java, Javascript
    • Labels:
      None

      Description

      ActivityHandler has the following comment:

      // TODO: add pagination and sorting support
      // getSortBy(params), getFilterBy(params), getStartIndex(params), getCount(params),

      And indeed, paging is not implemented for activities.

      I have a patch that adds paging support and I will upload it shortly. The patch adds first and max parameters to methods in ActivityHandler, ActivityService and makes corresponding changes in associated tests. It also makes changes on the JavaScript API side, adding FIRST and MAX fields to the ActivityRequestFields and the code to set them in jsonrpccontainer.js.

        Issue Links

          Activity

          Dave Johnson (Inactive) created issue -
          Hide
          Dave Johnson (Inactive) added a comment -

          the aforementioned patch

          Show
          Dave Johnson (Inactive) added a comment - the aforementioned patch
          Dave Johnson (Inactive) made changes -
          Field Original Value New Value
          Attachment activity-paging.diff [ 12393121 ]
          Hide
          Paul Lindner added a comment -

          This is another case of incomplete opensocial specifications. I think the patch is great, but this is not formally defined yet.

          Show
          Paul Lindner added a comment - This is another case of incomplete opensocial specifications. I think the patch is great, but this is not formally defined yet.
          Hide
          Paul Lindner added a comment -

          Oh, and it might be good if one could leverage the CollectionOptions class here too...

          Show
          Paul Lindner added a comment - Oh, and it might be good if one could leverage the CollectionOptions class here too...
          Hide
          Paul Lindner added a comment -

          fixed

          Show
          Paul Lindner added a comment - fixed
          Paul Lindner made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s trunk [ 12313552 ]
          Resolution Duplicate [ 3 ]
          Paul Lindner made changes -
          Link This issue is part of SHINDIG-730 [ SHINDIG-730 ]
          Kevin Brown made changes -
          Component/s Features (Javascript) [ 12312114 ]
          Component/s OpenSocial feature (Javascript) [ 12312115 ]
          Kevin Brown made changes -
          Component/s Java [ 12312210 ]
          Component/s Social API (Java) [ 12312277 ]
          Gavin made changes -
          Workflow jira [ 12445341 ] patch-available, re-open possible [ 12629126 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          69d 3h 36m 1 Paul Lindner 07/Jan/09 22:33

            People

            • Assignee:
              Unassigned
              Reporter:
              Dave Johnson (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development