Class ContentCursor
- java.lang.Object
-
- com.atlassian.confluence.api.model.pagination.ContentCursor
-
-
Field Summary
Fields Modifier and Type Field Description static ContentCursor
EMPTY_CURSOR
static ContentCursor
EMPTY_CURSOR_PREV
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentCursor
createCursor(boolean isReverse, long contentId)
boolean
equals(Object o)
Long
getContentId()
CursorType
getCursorType()
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 ContentCursor
valueOf(@NonNull String cursorToken)
-
-
-
Field Detail
-
EMPTY_CURSOR
public static final ContentCursor EMPTY_CURSOR
-
EMPTY_CURSOR_PREV
public static final ContentCursor EMPTY_CURSOR_PREV
-
-
Method Detail
-
createCursor
public static ContentCursor createCursor(boolean isReverse, long contentId)
-
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
-
getContentId
public Long getContentId()
-
isEmpty
public boolean isEmpty()
Description copied from interface:Cursor
Indicates that cursor is empty (first cursor in forward direction)
-
valueOf
public static ContentCursor valueOf(@NonNull String cursorToken)
-
-