Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9348

Allow removing of activities list instead of activity ids list

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: Activity
    • Impact type:
      API change, API added
    • Upgrade notes:
      Hide

      ActivityStreamService#removeActivities(Collection<Serializable activityIds)
      changed to
      ActivityStreamService#removeActivities(Collection<Activity> activities)

      See MiniMessageServiceImpl#removeMiniMessage or RatingServiceImpl#cancelRate to see how to migrate code.

      Show
      ActivityStreamService#removeActivities(Collection<Serializable activityIds) changed to ActivityStreamService#removeActivities(Collection<Activity> activities) See MiniMessageServiceImpl#removeMiniMessage or RatingServiceImpl#cancelRate to see how to migrate code.

      Description

      Since the activity replies are stored in the activity, it makes more sense to remove an activities list so that each ActivityStreamFilter can handle a full activity.

      For instance, the RatingActivityStreamFilter must have a complete Activity to remove the rating activities linked to the activity replies.

        Attachments

          Activity

            People

            • Assignee:
              troger Thomas Roger
              Reporter:
              troger Thomas Roger
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: