Class SpaceCursor
java.lang.Object
com.atlassian.confluence.api.model.pagination.SpaceCursor
- All Implemented Interfaces:
Cursor
A class which could be used to generate cursor for the next/previous space pagination request or get cursor from space
- Since:
- 7.18
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SpaceCursorcreateCursor(boolean isReverse, Long spaceId) booleaninthashCode()booleanisEmpty()Indicates that cursor is empty (first cursor in forward direction)booleanIndicates that records should be sorted in backward direction when this cursor is usedtoString()static SpaceCursor
-
Field Details
-
EMPTY_CURSOR
-
-
Method Details
-
createCursor
-
getCursorType
- Specified by:
getCursorTypein interfaceCursor- Returns:
- Type of the cursor
-
isReverse
public boolean isReverse()Description copied from interface:CursorIndicates that records should be sorted in backward direction when this cursor is used -
getSpaceId
-
isEmpty
public boolean isEmpty()Description copied from interface:CursorIndicates that cursor is empty (first cursor in forward direction) -
toString
-
valueOf
-
equals
-
hashCode
public int hashCode()
-