Class SpaceCursor
- java.lang.Object
-
- com.atlassian.confluence.api.model.pagination.SpaceCursor
-
-
Field Summary
Fields Modifier and Type Field Description static SpaceCursorEMPTY_CURSOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpaceCursorcreateCursor(boolean isReverse, Long spaceId)booleanequals(Object o)CursorTypegetCursorType()LonggetSpaceId()inthashCode()booleanisEmpty()Indicates that cursor is empty (first cursor in forward direction)booleanisReverse()Indicates that records should be sorted in backward direction when this cursor is usedStringtoString()static SpaceCursorvalueOf(@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:
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
public Long getSpaceId()
-
isEmpty
public boolean isEmpty()
Description copied from interface:CursorIndicates that cursor is empty (first cursor in forward direction)
-
valueOf
public static SpaceCursor valueOf(@NonNull String cursorToken)
-
-