Interface OffsetBasedPaginatedApi<T>

Type Parameters:
T - the type of objects to retrieve
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @API(status=INTERNAL) public interface OffsetBasedPaginatedApi<T>
Functional Interface to accommodate for API endpoints with pagination.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int offset, int limit)
    This makes a call with the provided offset and limit parameters.
  • Method Details

    • get

      List<T> get(int offset, int limit) throws com.symphony.bdk.http.api.ApiException
      This makes a call with the provided offset and limit parameters.
      Parameters:
      offset - the number of elements to skip.
      limit - the maximum number of elements to retrieve in one call
      Returns:
      the list of retrieved objects
      Throws:
      com.symphony.bdk.http.api.ApiException