Interface Cursor

  • All Known Implementing Classes:
    ContentCursor, SpaceCursor

    public interface Cursor
    An interface which could be used to generate cursor for the next/previous pagination request
    Since:
    7.18
    • Method Detail

      • isReverse

        boolean isReverse()
        Indicates that records should be sorted in backward direction when this cursor is used
        Returns:
        true if this cursor is previous cursor (records go in backward direction)
      • isEmpty

        boolean isEmpty()
        Indicates that cursor is empty (first cursor in forward direction)
        Returns:
        true if cursor is empty
      • getCursorType

        CursorType getCursorType()
        Returns:
        Type of the cursor