Class ContentCursor
java.lang.Object
com.atlassian.confluence.api.model.pagination.ContentCursor
- All Implemented Interfaces:
Cursor
A class which could be used to generate cursor for the next/previous content pagination request or get cursor from string
- Since:
- 7.18
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentCursor
createCursor
(boolean isReverse, long contentId) boolean
int
hashCode()
boolean
isEmpty()
Indicates that cursor is empty (first cursor in forward direction)boolean
Indicates that records should be sorted in backward direction when this cursor is usedtoString()
static ContentCursor
-
Field Details
-
EMPTY_CURSOR
-
EMPTY_CURSOR_PREV
-
-
Method Details
-
createCursor
-
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 -
getContentId
-
isEmpty
public boolean isEmpty()Description copied from interface:Cursor
Indicates that cursor is empty (first cursor in forward direction) -
toString
-
valueOf
-
equals
-
hashCode
public int hashCode()
-