Interface ActivityCollection

All Known Subinterfaces:
ActivityStream

@ProviderType public interface ActivityCollection
A simple collection of activities usually aggregated from several activity streams.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ActivityCollection
    Empty activity collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    getActivities(int offset, int length)
    Returns length activities of this stream, starting at offset.
  • Field Details

  • Method Details

    • getActivities

      Iterable<Activity> getActivities(int offset, int length) throws ActivityException
      Returns length activities of this stream, starting at offset.
      Parameters:
      offset - number of activities to skip
      length - number of activities to return. specifying a value <= 0 returns all activities.
      Returns:
      a collection of activities
      Throws:
      ActivityException - if an error occurs.