Class SpaceCursor
- java.lang.Object
-
- com.atlassian.confluence.api.model.pagination.SpaceCursor
-
-
Field Summary
Fields Modifier and Type Field Description static SpaceCursor
EMPTY_CURSOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpaceCursor
createCursor(boolean isReverse, Long spaceId)
boolean
equals(Object o)
CursorType
getCursorType()
Long
getSpaceId()
int
hashCode()
boolean
isEmpty()
Indicates that cursor is empty (first cursor in forward direction)boolean
isReverse()
Indicates that records should be sorted in backward direction when this cursor is usedString
toString()
static SpaceCursor
valueOf(@NonNull String cursorToken)
-
-
-
Field Detail
-
EMPTY_CURSOR
public static final SpaceCursor EMPTY_CURSOR
-
-
Method Detail
-
createCursor
public static SpaceCursor createCursor(boolean isReverse, Long spaceId)
-
getCursorType
public CursorType getCursorType()
- Specified by:
getCursorType
in interfaceCursor
- Returns:
- Type of the cursor
-
isReverse
public boolean isReverse()
Description copied from interface:Cursor
Indicates that records should be sorted in backward direction when this cursor is used
-
getSpaceId
public Long getSpaceId()
-
isEmpty
public boolean isEmpty()
Description copied from interface:Cursor
Indicates that cursor is empty (first cursor in forward direction)
-
valueOf
public static SpaceCursor valueOf(@NonNull String cursorToken)
-
-